summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorCaleb Maclennan2019-08-26 08:36:09 +0300
committerCaleb Maclennan2019-08-26 08:36:09 +0300
commit11af6c0c6da72430ee52eaff69090ed20f10ee56 (patch)
tree4f774836e4ddf3a883d85119a87ec05dd3c3d39a
parent5978d4243d0047ffeff89fcc0c7e86394dd139de (diff)
downloadaur-11af6c0.tar.gz
Cleanup bash shell quoting using shellharden
-rw-r--r--PKGBUILD10
1 files changed, 5 insertions, 5 deletions
diff --git a/PKGBUILD b/PKGBUILD
index df17f6883e6..a2d034b4022 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -20,7 +20,7 @@ source=("http://downloads.sourceforge.net/$pkgname/$pkgname/$pkgver/wxLua-$pkgve
md5sums=('e0a28904d046400713c07d7c4c9515ef')
prepare() {
- cd wxLua-$pkgver-src
+ cd wxLua-"$pkgver"-src
[ -d b ] || mkdir b
# wxstedit doc folder fix
@@ -31,7 +31,7 @@ prepare() {
}
build() {
- cd wxLua-$pkgver-src/b
+ cd wxLua-"$pkgver"-src/b
cmake .. -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DwxWidgets_CONFIG_EXECUTABLE=/usr/bin/wx-config-2.8 \
@@ -43,7 +43,7 @@ build() {
}
package() {
- cd wxLua-$pkgver-src/b
+ cd wxLua-"$pkgver"-src/b
make DESTDIR="$pkgdir/" install
# mv lua module
@@ -51,11 +51,11 @@ package() {
mv "$pkgdir/usr/lib/libwx.so" "$pkgdir/usr/lib/lua/5.2/wx.so"
# desktop file
- install -Dm644 ../distrib/autopackage/$pkgname.desktop \
+ install -Dm644 ../distrib/autopackage/"$pkgname".desktop \
"$pkgdir/usr/share/applications/$pkgname.desktop"
# mime file
- install -Dm644 ../distrib/autopackage/$pkgname.xml \
+ install -Dm644 ../distrib/autopackage/"$pkgname".xml \
"$pkgdir/usr/share/mime/packages/$pkgname.xml"
# license