1234567891011121314151617181920212223242526272829303132333435363738394041 |
- # Tanım: Gobject-introspection kütüphanesi kullanılarak gnome/gobject için Lua bağlamaları
- # URL: https://github.com/pavouk/lgi
- # Paketçi: milisarge
- # Gerekler: glib libffi lua gobject-introspection
- # Grup: kütüphane
- isim=lua-lgi
- surum=0.9.1
- devir=1
- kaynak=(https://github.com/pavouk/lgi/archive/$surum.tar.gz::$isim-$surum.tar.gz)
- derle() {
- cd lgi-$surum
- make
- make \
- LUA_LIBDIR=/usr/lib/lua/5.3 \
- LUA_SHAREDIR=/usr/share/lua/5.3 \
- DESTDIR="$PKG/" install
- # dump typelib tool
- install -Dm755 tools/dump-typelib.lua \
- "$PKG/usr/bin/dump-typelib"
- # docs
- install -d "$PKG/usr/share/doc/$isim"
- install -Dm644 docs/* \
- "$PKG/usr/share/doc/$isim"
- # samples
- install -d "$PKG/usr/share/$isim/samples/gtk-demo"
- install -Dm644 samples/*.lua \
- "$PKG/usr/share/$isim/samples"
- install -Dm644 samples/gtk-demo/* \
- "$PKG/usr/share/$isim/samples/gtk-demo"
- # license
- install -Dm644 LICENSE \
- "$PKG/usr/share/licenses/$isim/LICENSE"
- }
|