summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorCaleb Maclennan2020-02-12 13:36:42 +0300
committerCaleb Maclennan2020-02-12 13:36:42 +0300
commit371fb4e0eb4de455cfc3a6a4ac90be0ac41f7cc0 (patch)
tree2bf6d1ad1ebe8a9a2277cb3a96bef239d3eaeac4
parentca62d689ca3827872c21262147508455b26f346e (diff)
downloadaur-371fb4e0eb4de455cfc3a6a4ac90be0ac41f7cc0.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 1f5fad4f5f9..3a3c6dfbcde 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -9,8 +9,8 @@
# Upstream: https://projects.archlinux.org/svntogit/community.git/tree/trunk?h=packages/awesome
_pkgbase=awesome
-_pkgname=${_pkgbase}-way-cooler
-pkgname=${_pkgname}-git
+_pkgname=$_pkgbase-way-cooler
+pkgname=$_pkgname-git
pkgver=4.3.r333.g3b4f3640
pkgrel=1
pkgdesc='Highly configurable framework window manager (wayland compatible fork using way-cooler)'
@@ -34,7 +34,7 @@ source=("$pkgname::git+https://github.com/way-cooler/$_pkgbase.git")
sha256sums=('SKIP')
pkgver() {
- cd $pkgname
+ cd "$pkgname"
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
@@ -44,7 +44,7 @@ prepare() {
build() {
cd build
- cmake ../$pkgname \
+ cmake ../"$pkgname" \
-DCMAKE_BUILD_TYPE=RELEASE \
-DCMAKE_INSTALL_PREFIX=/usr \
-DSYSCONFDIR=/etc \
@@ -56,6 +56,6 @@ package() {
cd build
make DESTDIR="$pkgdir" install
- install -Dm644 "$srcdir"/$pkgname/awesome.desktop \
+ install -Dm644 "$srcdir"/"$pkgname"/awesome.desktop \
"$pkgdir/usr/share/xsessions/awesome.desktop"
}