diff options
Diffstat (limited to 'system/lutok/APKBUILD')
-rw-r--r-- | system/lutok/APKBUILD | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/system/lutok/APKBUILD b/system/lutok/APKBUILD index 103688367..21ee0ad32 100644 --- a/system/lutok/APKBUILD +++ b/system/lutok/APKBUILD @@ -10,19 +10,15 @@ depends_dev="lua5.3-dev" makedepends="$depends_dev" subpackages="$pkgname-dev $pkgname-doc" source="https://github.com/jmmv/lutok/releases/download/lutok-$pkgver/lutok-$pkgver.tar.gz" -builddir="$srcdir/lutok-$pkgver" prepare() { - cd "$builddir" default_prepare update_config_sub } build() { - cd "$builddir" - - LUA_CFLAGS=$(pkg-config --cflags lua5.3) \ - LUA_LIBS=$(pkg-config --libs lua5.3) \ + LUA_CFLAGS=$(pkg-config --cflags lua) \ + LUA_LIBS=$(pkg-config --libs lua) \ ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -34,12 +30,10 @@ build() { } check() { - cd "$builddir" make check } package() { - cd "$builddir" make -j1 DESTDIR="$pkgdir" install } |