mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
community/lua-basexx: install minimal rock_manifest
This commit is contained in:
parent
2f4d2e5d75
commit
b309917914
@ -3,7 +3,7 @@
|
||||
pkgname=lua-basexx
|
||||
_pkgname=basexx
|
||||
pkgver=0.4.0
|
||||
pkgrel=0
|
||||
pkgrel=1
|
||||
pkgdesc="A Lua library for base2, base16, base32, base64, base85 decoding and encoding of data strings"
|
||||
url="https://github.com/aiq/basexx/"
|
||||
arch="noarch"
|
||||
@ -44,10 +44,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 lib/* "$lmod_dir"/
|
||||
|
||||
mkdir -p "$rockdir"
|
||||
echo 'rock_manifest = {}' > "$rockdir"/rock_manifest
|
||||
}
|
||||
|
||||
sha512sums="96f8e5417357cc11019ae32895f685e74182d8ea64923fb124122257eda0ad64eb6da17f0f40448f688bfa3f36ebcad70a5ae159f088ac91785ec17cb1a674bd lua-basexx-0.4.0.tar.gz"
|
||||
|
Loading…
Reference in New Issue
Block a user