diff options
-rw-r--r-- | community/lua-toml/APKBUILD | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/community/lua-toml/APKBUILD b/community/lua-toml/APKBUILD index fe2dfdb4c8..9a7b60b907 100644 --- a/community/lua-toml/APKBUILD +++ b/community/lua-toml/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Jakub Jirutka <jakub@jirutka.cz> pkgname=lua-toml pkgver=1.0 -pkgrel=5 +pkgrel=6 pkgdesc="TOML decoder/encoder for Lua" url="https://github.com/jonstoler/lua-toml" arch="noarch" @@ -43,9 +43,13 @@ _subpackage() { pkgdesc="$pkgdesc $lver" depends="lua$lver" install_if="$pkgname=$pkgver-r$pkgrel lua$lver" + local rockdir="$subpkgdir/usr/lib/luarocks/rocks-$lver/$_pkgname/$pkgver-0" cd "$builddir" install -m 644 -D toml.lua "$subpkgdir"/usr/share/lua/$lver/toml.lua + + mkdir -p "$rockdir" + echo 'rock_manifest = {}' > "$rockdir"/rock_manifest } sha512sums="f04ed6f26f47d6492c7a21c310da09b1091476724022c32b81a5492713340a4571bc04c51f34dded73f4f1cf1085dbe08e280356b0f1fa88ef0efefd0685c77e lua-toml-1.0.tar.gz |