aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichał Polański <michal@polanski.me>2020-08-01 03:18:55 +0200
committerLeo <thinkabit.ukim@gmail.com>2020-08-01 08:27:34 +0000
commitfc4bddf2b59bad43601c5ab271a6d20da476be74 (patch)
tree81267c16e3d22fb67759c31247838c677ab5f4b1
parentbe6a17ff7f2d03d46d88e60446999436f14bd641 (diff)
downloadaports-fc4bddf2b59bad43601c5ab271a6d20da476be74.tar.gz
aports-fc4bddf2b59bad43601c5ab271a6d20da476be74.tar.bz2
aports-fc4bddf2b59bad43601c5ab271a6d20da476be74.tar.xz
main/lutok: use SPDX license identifier
-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
}