aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2017-07-22 20:01:03 +0200
committerJakub Jirutka <jakub@jirutka.cz>2017-07-22 20:02:13 +0200
commit28ef2ca7aa8981f50fd680dddb2db26f9a34a01c (patch)
treef147dd87025c7a9a08367a4b63acb33618780676
parentb25c6a8afb2f581d13f284803e9e6e3806a617ab (diff)
downloadaports-28ef2ca7aa8981f50fd680dddb2db26f9a34a01c.tar.gz
aports-28ef2ca7aa8981f50fd680dddb2db26f9a34a01c.tar.bz2
aports-28ef2ca7aa8981f50fd680dddb2db26f9a34a01c.tar.xz
community/lua-dromozoa-utf8: install minimal rock_manifest
-rw-r--r--community/lua-dromozoa-utf8/APKBUILD6
1 files changed, 5 insertions, 1 deletions
diff --git a/community/lua-dromozoa-utf8/APKBUILD b/community/lua-dromozoa-utf8/APKBUILD
index 147ba0c5cf..1b57b8487f 100644
--- a/community/lua-dromozoa-utf8/APKBUILD
+++ b/community/lua-dromozoa-utf8/APKBUILD
@@ -3,7 +3,7 @@
pkgname=lua-dromozoa-utf8
_pkgname=dromozoa-utf8
pkgver=1.3
-pkgrel=0
+pkgrel=1
pkgdesc="Lua 5.3 compatible pure-Lua UTF-8 implementation"
url="https://github.com/dromozoa/dromozoa-utf8/"
arch="all"
@@ -49,10 +49,14 @@ _subpackage() {
depends="lua$lver"
install_if="$pkgname=$pkgver-r$pkgrel lua$lver"
local lmod_dir="$subpkgdir/usr/share/lua/$lver"
+ local rockdir="$subpkgdir/usr/lib/luarocks/rocks-$lver/$_pkgname/$pkgver-1"
cd "$builddir"
mkdir -p "$lmod_dir"
cp -r dromozoa "$lmod_dir"/
+
+ mkdir -p "$rockdir"
+ echo 'rock_manifest = {}' > "$rockdir"/rock_manifest
}
sha512sums="c1894692f80cc2204683b7a8f540d59b1a23447bc61492acef3c6bac7f50884ca39b0b372e2d56f4473b92a8263da2c705243e7c341eea43583578964bedd4f4 lua-dromozoa-utf8-1.3.tar.gz"