diff options
Diffstat (limited to 'main/lutok')
-rw-r--r-- | main/lutok/APKBUILD | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/main/lutok/APKBUILD b/main/lutok/APKBUILD index 30928607c4..bbb58a21a2 100644 --- a/main/lutok/APKBUILD +++ b/main/lutok/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: William Pitcock <nenolod@dereferenced.org> pkgname=lutok pkgver=0.4 -pkgrel=0 +pkgrel=1 pkgdesc="lightweight C++ API for Lua" url="https://github.com/jmmv/lutok" arch="all" @@ -16,9 +16,8 @@ builddir="$srcdir/lutok-$pkgver" prepare() { cd "$builddir" - msg "$builddir" - default_prepare || return 1 - update_config_sub || return 1 + default_prepare + update_config_sub } build() { @@ -29,14 +28,18 @@ build() { --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ - --localstatedir=/var \ - || return 1 - make || return 1 + --localstatedir=/var + make +} + +check() { + cd "$builddir" + make check } package() { cd "$builddir" - make -j1 DESTDIR="$pkgdir" install || return 1 + make -j1 DESTDIR="$pkgdir" install } md5sums="5da43895d9209f8c19d79433dd046b3f lutok-0.4.tar.gz" |