diff options
-rw-r--r-- | community/lua-lpeg/APKBUILD | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/community/lua-lpeg/APKBUILD b/community/lua-lpeg/APKBUILD index 364d18a604..0b9c840e8e 100644 --- a/community/lua-lpeg/APKBUILD +++ b/community/lua-lpeg/APKBUILD @@ -3,7 +3,7 @@ pkgname=lua-lpeg _pkgname=lpeg pkgver=1.0.1 -pkgrel=2 +pkgrel=3 pkgdesc="Pattern-matching library for Lua" url="http://www.inf.puc-rio.br/~roberto/lpeg" arch="all" @@ -77,6 +77,7 @@ _package() { pkgdesc="Pattern-matching library for Lua $lver" depends="lua$lver" install_if="lua$lver $pkgname=$pkgver-r$pkgrel" + local rockdir="$subpkgdir/usr/lib/luarocks/rocks-$lver/$_pkgname/$pkgver-1" cd "$builddir-$lver" @@ -84,6 +85,9 @@ _package() { "$subpkgdir"/usr/lib/lua/$lver/lpeg.so || return 1 install -Dm644 re.lua \ "$subpkgdir"/usr/share/lua/$lver/re.lua || return 1 + + mkdir -p "$rockdir" + echo 'rock_manifest = {}' > "$rockdir"/rock_manifest } sha512sums="7b43fbee7eff443000986684bc56bba6d2796a31cf860740746c70e155bdea1b62a46b93f97e2747e3ef0f63e965148778ac2985d0f2d83e1e37ec4ebbabf4aa lpeg-1.0.1.tar.gz |