Skip to content
Snippets Groups Projects
Commit 377cf138 authored by Jakub Jirutka's avatar Jakub Jirutka :flag_ua:
Browse files

community/lua-lunix: modernize abuild

parent 4e07d3d6
No related branches found
No related tags found
No related merge requests found
......@@ -16,15 +16,13 @@ for _v in $_luaversions; do
makedepends="$makedepends lua$_v-dev"
subpackages="$subpackages lua$_v-$_pkgname:_package"
done
source="$pkgname-$pkgver.tar.gz::https://github.com/wahern/lunix/archive/rel-$pkgver.tar.gz"
source="https://github.com/wahern/lunix/archive/rel-$pkgver/$pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-rel-$pkgver"
build() {
cd "$builddir"
local lver; for lver in $_luaversions; do
msg "Building for Lua $lver..."
make all$lver || return 1
make all$lver
done
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment