diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2017-07-22 20:01:03 +0200 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2017-07-22 20:02:13 +0200 |
commit | 6379d517873cd6c37ee104384b77b748f9f8ccc4 (patch) | |
tree | 009e1c88d7659dbd6f22dc132ac1e1db5d731eac /community | |
parent | 939a6dbf23462afb0c5db97bf29dc0b48f15470d (diff) | |
download | aports-6379d517873cd6c37ee104384b77b748f9f8ccc4.tar.bz2 aports-6379d517873cd6c37ee104384b77b748f9f8ccc4.tar.xz |
community/lua-lunix: install minimal rock_manifest
Diffstat (limited to 'community')
-rw-r--r-- | community/lua-lunix/APKBUILD | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/community/lua-lunix/APKBUILD b/community/lua-lunix/APKBUILD index de5e400b23..83fd01aa0f 100644 --- a/community/lua-lunix/APKBUILD +++ b/community/lua-lunix/APKBUILD @@ -4,7 +4,7 @@ _luaversions="5.1 5.2 5.3" pkgname=lua-lunix _pkgname=lunix pkgver=20150923 -pkgrel=0 +pkgrel=1 pkgdesc="Comprehensive Unix API Module for Lua" url="https://github.com/wahern/lunix" arch="all" @@ -37,9 +37,13 @@ _package() { local lver="${subpkgname:3:3}" pkgdesc="$pkgdesc $lver" install_if="lua$lver $pkgname=$pkgver-r$pkgrel" + local rockdir="$subpkgdir/usr/lib/luarocks/rocks-$lver/$_pkgname/$pkgver-1" cd "$builddir" make prefix="/usr" DESTDIR="$subpkgdir" install$lver + + mkdir -p "$rockdir" + echo 'rock_manifest = {}' > "$rockdir"/rock_manifest } md5sums="b7341c5f4a5cf5bb0ac1b9fdc3eb174a lua-lunix-20150923.tar.gz |