mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
community/lua-depgraph: install minimal rock_manifest
This commit is contained in:
parent
a5e151957b
commit
b25c6a8afb
@ -3,7 +3,7 @@
|
||||
pkgname=lua-depgraph
|
||||
_pkgname=depgraph
|
||||
pkgver=0.1.1
|
||||
pkgrel=0
|
||||
pkgrel=1
|
||||
pkgdesc="A library and CLI tool for analyzing graph of dependencies between Lua modules"
|
||||
url="https://github.com/mpeterv/depgraph"
|
||||
arch="noarch"
|
||||
@ -52,10 +52,14 @@ _subpackage() {
|
||||
depends="lua$lver lua$lver-filesystem"
|
||||
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 src/$_pkgname "$lmod_dir"/
|
||||
|
||||
mkdir -p "$rockdir"
|
||||
echo 'rock_manifest = {}' > "$rockdir"/rock_manifest
|
||||
}
|
||||
|
||||
sha512sums="2ea8f2907da25cf17754f1a526f390a7e532644198c03fecdf1b8ffd48c7737464b80046b9b088554abeb3f05b026f9ebdfc07a1977dc84b19e32ad418f15e4a lua-depgraph-0.1.1.tar.gz"
|
||||
|
Loading…
Reference in New Issue
Block a user