diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2019-12-26 11:09:16 +0100 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2019-12-26 11:19:05 +0100 |
commit | 2599e0a28057f12cd4680a15db6add520030a9ae (patch) | |
tree | 5749b993edfcb4740217580ab6c4a16e122850fd | |
parent | 0e5c42ff2814e8bbdd7e00b9e5c3b78610b38bf6 (diff) | |
download | aports-2599e0a28057f12cd4680a15db6add520030a9ae.tar.bz2 aports-2599e0a28057f12cd4680a15db6add520030a9ae.tar.xz |
community/lua-compat53: modernize abuild
-rw-r--r-- | community/lua-compat53/APKBUILD | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/community/lua-compat53/APKBUILD b/community/lua-compat53/APKBUILD index dbd1445776..103b61a6e8 100644 --- a/community/lua-compat53/APKBUILD +++ b/community/lua-compat53/APKBUILD @@ -21,8 +21,6 @@ source="$pkgname-$pkgver.tar.gz::https://github.com/keplerproject/$_pkgname/arch builddir="$srcdir/$_pkgname-$pkgver" build() { - cd "$builddir" - local lver; for lver in $_luaversions; do msg "Building for Lua $lver..." @@ -48,7 +46,7 @@ _package() { local path; for path in lib/lua/$lver share/lua/$lver; do mkdir -p "$subpkgdir"/usr/${path%/*} - mv "$builddir"/build/$path "$subpkgdir"/usr/$path/ || return 1 + mv "$builddir"/build/$path "$subpkgdir"/usr/$path/ done mkdir -p "$rockdir" |