diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2017-07-22 20:01:06 +0200 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2017-07-22 20:02:15 +0200 |
commit | 5a1f4c721da7e259617df223da89a5d119742916 (patch) | |
tree | 23ccd21d0a1547cad39a7cbb20e25445b91985ad /main/lua-yaml | |
parent | 6e7538b44516363af70431bc3159959f06fd4072 (diff) | |
download | aports-5a1f4c721da7e259617df223da89a5d119742916.tar.bz2 aports-5a1f4c721da7e259617df223da89a5d119742916.tar.xz |
main/lua-yaml: install minimal rock_manifest
Diffstat (limited to 'main/lua-yaml')
-rw-r--r-- | main/lua-yaml/APKBUILD | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/main/lua-yaml/APKBUILD b/main/lua-yaml/APKBUILD index 7c22c2c49e..3f3a621d6e 100644 --- a/main/lua-yaml/APKBUILD +++ b/main/lua-yaml/APKBUILD @@ -4,7 +4,7 @@ pkgname=lua-yaml _pkgname=yaml pkgver=1.1.2 -pkgrel=0 +pkgrel=1 pkgdesc="LibYaml binding for Lua" url="http://yaml.luaforge.net" arch="all" @@ -47,6 +47,7 @@ package() { _subpackage() { local lver="${subpkgname:3:3}" + local rockdir="$subpkgdir/usr/lib/luarocks/rocks-$lver/$_pkgname/$pkgver-1" pkgdesc="$pkgdesc $lver" depends="$depends lua$lver lua$lver-lub" install_if="$pkgname=$pkgver-r$pkgrel lua$lver" @@ -54,6 +55,9 @@ _subpackage() { cd "$builddir"/build/$lver make DESTDIR="$subpkgdir" install + + mkdir -p "$rockdir" + echo 'rock_manifest = {}' > "$rockdir"/rock_manifest } md5sums="6665b0c82da0edae184b8a32be7518b5 lua-yaml-1.1.2.tar.gz |