diff options
author | Caleb Maclennan | 2020-01-24 12:11:54 +0300 |
---|---|---|
committer | Caleb Maclennan | 2020-01-24 12:11:54 +0300 |
commit | abdb0f65c78ec0686ac421a0f0ee0ff645c51547 (patch) | |
tree | ff7901bcc378e298de804225a2ea0652e06b7497 | |
parent | a819ebeedbefa41ea1e0b484f84565d06f327b08 (diff) | |
download | aur-abdb0f65c78ec0686ac421a0f0ee0ff645c51547.tar.gz |
Fix path in generated bin
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 7 |
2 files changed, 5 insertions, 4 deletions
@@ -1,7 +1,7 @@ pkgbase = lua-luacov pkgdesc = Coverage analysis tool for Lua scripts pkgver = 0.8 - pkgrel = 1 + pkgrel = 2 url = http://keplerproject.github.io/luacov/ arch = i686 arch = x86_64 @@ -4,7 +4,7 @@ pkgname=lua-luacov pkgver=0.8 _rockname=luacov _rockrel=1 -pkgrel=1 +pkgrel=2 pkgdesc="Coverage analysis tool for Lua scripts" arch=('i686' 'x86_64') url="http://keplerproject.github.io/luacov/" @@ -16,6 +16,7 @@ source=("https://luarocks.org/$_rockname-$pkgver-$_rockrel.src.rock") sha256sums=('f92229ee0ec8ce285e749ede4a9f2f2efa7460d8fee0ad28299f87a45a181ab8') package() { - luarocks --tree="$pkgdir/usr" install --deps-mode=none "$_rockname-$pkgver-$_rockrel.src.rock" - find "$pkgdir/usr" -name manifest -delete + luarocks --tree="$pkgdir/usr" install --deps-mode=none "$_rockname-$pkgver-$_rockrel.src.rock" + find "$pkgdir/usr" -name manifest -delete + sed -i -e "s#' '.*/usr/lib/#' '/usr/lib/#" "$pkgdir/usr/bin/luacov" } |