summaryrefslogtreecommitdiff
path: root/user/lua-lgi
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2020-01-08 07:42:36 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2020-01-08 07:42:36 +0000
commit999bf9b0f1676d84456a5d1edf0d0ace03b27d6f (patch)
tree29fc8b78dc5fd55141a7e842778c2483d6ff7309 /user/lua-lgi
parent28ed9fc1d657dbccab41a1bab094cb0aa056c4d3 (diff)
downloadpackages-999bf9b0f1676d84456a5d1edf0d0ace03b27d6f.tar.gz
packages-999bf9b0f1676d84456a5d1edf0d0ace03b27d6f.tar.bz2
packages-999bf9b0f1676d84456a5d1edf0d0ace03b27d6f.tar.xz
packages-999bf9b0f1676d84456a5d1edf0d0ace03b27d6f.zip
user/*: Modernise / fix syntax / deps / metadata
Diffstat (limited to 'user/lua-lgi')
-rw-r--r--user/lua-lgi/APKBUILD5
1 files changed, 1 insertions, 4 deletions
diff --git a/user/lua-lgi/APKBUILD b/user/lua-lgi/APKBUILD
index f9b07ca3b..be1bd5334 100644
--- a/user/lua-lgi/APKBUILD
+++ b/user/lua-lgi/APKBUILD
@@ -6,8 +6,8 @@ pkgrel=0
pkgdesc="Dynamic Lua binding to GObject libraries using GObject-Introspection"
url="https://github.com/pavouk/lgi"
arch="all"
+options="!check" # Test suite requires D-Bus.
license="MIT"
-options="!check" # checks require dbus
depends=""
makedepends="glib-dev gobject-introspection-dev libffi-dev lua5.3-dev"
subpackages="$pkgname-doc"
@@ -15,18 +15,15 @@ source="lgi-$pkgver.tar.gz::https://github.com/pavouk/lgi/archive/$pkgver.tar.gz
builddir="$srcdir"/lgi-$pkgver
build() {
- cd "$builddir"
make PREFIX=/usr LUA_VERSION="5.3" \
LUA_CFLAGS="$(pkg-config --cflags lua)"
}
check() {
- cd "$builddir"
make check
}
package() {
- cd "$builddir"
make install PREFIX=/usr LUA_VERSION="5.3" DESTDIR="$pkgdir"
mkdir -p "$pkgdir"/usr/share/doc/lua-lgi