diff options
Diffstat (limited to 'community/lua-luassert/APKBUILD')
-rw-r--r-- | community/lua-luassert/APKBUILD | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/community/lua-luassert/APKBUILD b/community/lua-luassert/APKBUILD index d515d40ed8..db05398fb5 100644 --- a/community/lua-luassert/APKBUILD +++ b/community/lua-luassert/APKBUILD @@ -3,7 +3,7 @@ pkgname=lua-luassert _pkgname=luassert pkgver=1.7.10 -pkgrel=0 +pkgrel=1 pkgdesc="Assertion library for Lua" url="https://github.com/Olivine-Labs/luassert" arch="noarch" @@ -30,10 +30,14 @@ _subpackage() { depends="lua$lver lua$lver-say" install_if="$pkgname=$pkgver-r$pkgrel lua$lver" local destdir="$subpkgdir/usr/share/lua/$lver/$_pkgname" + local rockdir="$subpkgdir/usr/lib/luarocks/rocks-$lver/$_pkgname/$pkgver-1" cd "$builddir" mkdir -p "$destdir" cp -r src/* "$destdir"/ + + mkdir -p "$rockdir" + echo 'rock_manifest = {}' > "$rockdir"/rock_manifest } sha512sums="2d5ca354b5f7b971f0d3420c305d921143cd7f9e1a6f4559cb466b833886a00a045e7b7c594bd9ec3c929b3d5bb8a7a4a6de75a6599e5cba7614b7652061bf05 lua-luassert-1.7.10.tar.gz" |