summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorCaleb Maclennan2018-09-01 16:26:09 +0300
committerCaleb Maclennan2018-09-01 16:26:09 +0300
commit08339f90f7209412fbc83960172ea772c01e9181 (patch)
treedc8e63f3053c6d43bd7dadaf10d5329c42053bd1
parentfab927d9cf56451dbd2c3d6a91475e9d529d304e (diff)
downloadaur-rawstudio.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 e46f22cd154..8ec5a6bf1c4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -13,18 +13,18 @@ arch=('x86_64')
url='https://rawstudio.org'
license=('GPL2')
depends=('osm-gps-map' 'desktop-file-utils' 'libgphoto2' 'fftw' 'gconf' 'lcms2' 'exiv2' 'lensfun')
-conflicts=("${pkgname}-git")
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/${pkgname}/${pkgname}/archive/${_commit}.tar.gz")
+conflicts=("$pkgname-git")
+source=("$pkgname-$pkgver.tar.gz::https://github.com/$pkgname/$pkgname/archive/$_commit.tar.gz")
sha256sums=('9e20399503a302e040319fbc877b614afce491891f5563fdb2725b1877eb3aab')
build() {
- cd "${pkgname}-${_commit}"
+ cd "$pkgname-$_commit"
./autogen.sh
./configure --prefix=/usr --disable-static
make CXXFLAGS="-Wno-narrowing"
}
package() {
- cd "${pkgname}-${_commit}"
- make prefix="${pkgdir}/usr" install
+ cd "$pkgname-$_commit"
+ make prefix="$pkgdir/usr" install
}