summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorJakub Klinkovsk√Ĺ2020-08-18 13:16:51 +0200
committerJakub Klinkovsk√Ĺ2020-08-18 13:16:51 +0200
commit5de412009407957e42ba3db90d1592a3b8438e87 (patch)
tree5e0aa5ea764a94002ad8967c53aa1eb934146b43 /PKGBUILD
parentde6bee94b0131b60bd222802bd90a3efa8eafd3a (diff)
downloadaur-5de412009407957e42ba3db90d1592a3b8438e87.tar.gz
improve quoting
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD9
1 files changed, 5 insertions, 4 deletions
diff --git a/PKGBUILD b/PKGBUILD
index fe273925ae5..d4c2db83cf2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -21,20 +21,21 @@ sha256sums=('8219b42cb56fc07b2aa660574e6211ac38eefdbf21f41b698d3348793ba5d8f7'
'74d6a02b97a17fffddcc0a3dc830e811348b1f6c6b84f867882c776d50f00ea4')
prepare() {
- cp "$srcdir"/configure.local $pkgname-$pkgver
+ cd "$pkgname-$pkgver"
+ cp "$srcdir"/configure.local .
# fix configure script - see https://aur.archlinux.org/packages/mandoc/#comment-739085
- sed -i -e 's/^CC=.*/CC=cc/' $pkgname-$pkgver/configure
+ sed -i -e 's/^CC=.*/CC=cc/' ./configure
}
build() {
- cd $pkgname-$pkgver
+ cd "$pkgname-$pkgver"
./configure
make
}
package() {
- cd $pkgname-$pkgver
+ cd "$pkgname-$pkgver"
DESTDIR="$pkgdir" make install
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE