diff options
author | Caleb Maclennan | 2020-02-12 13:36:45 +0300 |
---|---|---|
committer | Caleb Maclennan | 2020-02-12 13:36:45 +0300 |
commit | c477ea7e7ce8bbcb318f881bfaf5459e786cb47f (patch) | |
tree | eb87b5f64dc0dc7ceebda1bad3e6f0563dcdc2ed | |
parent | 1bef0a89e589ab7905b5012512265ec910ef6328 (diff) | |
download | aur-c477ea7e7ce8bbcb318f881bfaf5459e786cb47f.tar.gz |
Cleanup bash shell quoting using shellharden
-rw-r--r-- | PKGBUILD | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -10,12 +10,12 @@ arch=('i686' 'x86_64') url="https://keplerproject.github.io/$_rockname" license=('MIT') makedepends=('luarocks') -source=("${_rockname}-${pkgver}.tar.gz::https://github.com/keplerproject/$_rockname/archive/v$pkgver.tar.gz") +source=("$_rockname-$pkgver.tar.gz::https://github.com/keplerproject/$_rockname/archive/v$pkgver.tar.gz") sha256sums=('b48eb004f0a74bc64aa1419d9999057b9595668c37abfa4a126de4083d89ef44') _package_helper() { cd "$_rockname-$pkgver" - luarocks --lua-version=$1 --tree="$pkgdir/usr/" make --deps-mode=none --no-manifest "$_rockname-scm-$_rockrel.rockspec" + luarocks --lua-version="$1" --tree="$pkgdir/usr/" make --deps-mode=none --no-manifest "$_rockname-scm-$_rockrel.rockspec" find "$pkgdir/usr/bin" -type f -execdir sed -i -e "s#$pkgdir##" {} \; } |