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: # Maintainer:
pkgname=lutok pkgname=lutok
pkgver=0.4 pkgver=0.4
pkgrel=2 pkgrel=3
pkgdesc="lightweight C++ API for Lua" pkgdesc="lightweight C++ API for Lua"
url="https://github.com/jmmv/lutok" url="https://github.com/jmmv/lutok"
arch="all" arch="all"
license="BSD" license="BSD-3-Clause"
depends_dev="lua5.3-dev" depends_dev="lua5.3-dev"
makedepends="$depends_dev" makedepends="$depends_dev"
subpackages="$pkgname-dev $pkgname-doc" subpackages="$pkgname-dev $pkgname-doc"
source="https://github.com/jmmv/lutok/releases/download/lutok-$pkgver/lutok-$pkgver.tar.gz" source="https://github.com/jmmv/lutok/releases/download/lutok-$pkgver/lutok-$pkgver.tar.gz"
builddir="$srcdir/lutok-$pkgver"
prepare() { prepare() {
cd "$builddir"
default_prepare default_prepare
update_config_sub update_config_sub
} }
build() { build() {
cd "$builddir"
LUA_CFLAGS=$(pkg-config --cflags lua5.3) \ LUA_CFLAGS=$(pkg-config --cflags lua5.3) \
LUA_LIBS=$(pkg-config --libs lua5.3) \ LUA_LIBS=$(pkg-config --libs lua5.3) \
./configure \ ./configure \
...@@ -34,12 +30,10 @@ build() { ...@@ -34,12 +30,10 @@ build() {
} }
check() { check() {
cd "$builddir"
make check make check
} }
package() { package() {
cd "$builddir"
make -j1 DESTDIR="$pkgdir" install 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