diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2017-07-22 20:01:04 +0200 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2017-07-22 20:02:14 +0200 |
commit | 7fc7788f1f62623f63dfae3c2e1bd1d998b6aefd (patch) | |
tree | 92fe831ad0c3dcd33c2df851d8b1bd9fd9fd3f73 /community | |
parent | 41b989c025dc0ee01b83278167e1c0692f8ce42c (diff) | |
download | aports-7fc7788f1f62623f63dfae3c2e1bd1d998b6aefd.tar.bz2 aports-7fc7788f1f62623f63dfae3c2e1bd1d998b6aefd.tar.xz |
community/lua-system: install minimal rock_manifest
Diffstat (limited to 'community')
-rw-r--r-- | community/lua-system/APKBUILD | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/community/lua-system/APKBUILD b/community/lua-system/APKBUILD index 372bb001a4..75de83b75e 100644 --- a/community/lua-system/APKBUILD +++ b/community/lua-system/APKBUILD @@ -3,7 +3,7 @@ pkgname=lua-system _pkgname=luasystem pkgver=0.2.1 -pkgrel=0 +pkgrel=1 pkgdesc="Platform independent system calls for Lua" url="https://github.com/o-lim/luasystem/" arch="all" @@ -49,12 +49,16 @@ _subpackage() { depends="lua$lver" install_if="$pkgname=$pkgver-r$pkgrel lua$lver" local lmod_dir=$(pkg-config --variable=INSTALL_LMOD lua$lver) + local rockdir="$subpkgdir/usr/lib/luarocks/rocks-$lver/$_pkgname/$pkgver-0" cd "$builddir-$lver" make -C src LUA_VERSION=$lver DESTDIR="$subpkgdir" prefix=/usr \ install || return 1 install -m 644 -D system/init.lua "$subpkgdir"/$lmod_dir/system.lua + + mkdir -p "$rockdir" + echo 'rock_manifest = {}' > "$rockdir"/rock_manifest } sha512sums="b8a04a83e8e39c98da23484c9eba9ff60da2fb4db3deca0d52784a6c13c7e0faf7a8b326999d88703847107e4fce739062fc04a00266140969c9f57b70064f46 lua-system-0.2.1.tar.gz" |