Commit fc4bddf2 authored by Michał Polański's avatar Michał Polański Committed by Leo
Browse files

main/lutok: use SPDX license identifier

parent be6a17ff
# 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
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment