diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2017-07-22 20:01:02 +0200 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2017-07-22 20:02:12 +0200 |
commit | b82507736e2e27f468ae958fd3b90eef75851c5c (patch) | |
tree | fd969e7c6db99ce675b50fd88ece6de69218e0be /community/lua-compat53 | |
parent | b09efb2fd1e1a79207af3083b013498a1fd84720 (diff) | |
download | aports-b82507736e2e27f468ae958fd3b90eef75851c5c.tar.bz2 aports-b82507736e2e27f468ae958fd3b90eef75851c5c.tar.xz |
community/lua-compat53: install minimal rock_manifest
Diffstat (limited to 'community/lua-compat53')
-rw-r--r-- | community/lua-compat53/APKBUILD | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/community/lua-compat53/APKBUILD b/community/lua-compat53/APKBUILD index 878c568a3d..2b19c3892c 100644 --- a/community/lua-compat53/APKBUILD +++ b/community/lua-compat53/APKBUILD @@ -2,9 +2,10 @@ # Maintainer: Jakub Jirutka <jakub@jirutka.cz> _luaversions="5.1 5.2 5.3" pkgname=lua-compat53 +_rockname=compat53 _pkgname=lua-compat-5.3 pkgver=0.3 -pkgrel=0 +pkgrel=1 pkgdesc="Compatibility module providing Lua-5.3-style APIs for Lua" url="https://github.com/keplerproject/lua-compat-5.3" arch="all" @@ -43,11 +44,15 @@ _package() { pkgdesc="$pkgdesc $lver" depends="lua$lver" install_if="$pkgname=$pkgver-r$pkgrel lua$lver" + local rockdir="$subpkgdir/usr/lib/luarocks/rocks-$lver/$_rockname/$pkgver-1" 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 done + + mkdir -p "$rockdir" + echo 'rock_manifest = {}' > "$rockdir"/rock_manifest } md5sums="98f93f9de24b26ee5f6f7053979599f8 lua-compat53-0.3.tar.gz" |