aboutsummaryrefslogtreecommitdiffstats
path: root/main/lutok/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/lutok/APKBUILD')
-rw-r--r--main/lutok/APKBUILD12
1 files changed, 3 insertions, 9 deletions
diff --git a/main/lutok/APKBUILD b/main/lutok/APKBUILD
index 3f827fa91b..b527abe108 100644
--- a/main/lutok/APKBUILD
+++ b/main/lutok/APKBUILD
@@ -1,26 +1,22 @@
-# Maintainer:
+# Maintainer:
pkgname=lutok
pkgver=0.4
-pkgrel=2
+pkgrel=3
pkgdesc="lightweight C++ API for Lua"
url="https://github.com/jmmv/lutok"
arch="all"
-license="BSD"
+license="BSD-3-Clause"
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) \
./configure \
@@ -34,12 +30,10 @@ build() {
}
check() {
- cd "$builddir"
make check
}
package() {
- cd "$builddir"
make -j1 DESTDIR="$pkgdir" install
}