[arch-commits] Commit in bonnie++/trunk (PKGBUILD)
Frederik Schwan
freswa at archlinux.org
Fri Aug 28 12:03:27 UTC 2020
Date: Friday, August 28, 2020 @ 12:03:27
Author: freswa
Revision: 690629
fix unquoted variables
Modified:
bonnie++/trunk/PKGBUILD
----------+
PKGBUILD | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-08-28 12:02:58 UTC (rev 690628)
+++ PKGBUILD 2020-08-28 12:03:27 UTC (rev 690629)
@@ -13,7 +13,7 @@
source=(https://www.coker.com.au/$pkgname/$pkgname-$pkgver.tgz)
md5sums=('5bb79f393b4172a0d7014ce4125454cd')
build() {
- cd $srcdir/${pkgname}-${pkgver}
+ cd "$srcdir"/${pkgname}-${pkgver}
./configure --prefix=/usr
sed -i "s:CFLAGS=-O2 -DNDEBUG \$(WFLAGS) \$(MORECFLAGS):CFLAGS=${CFLAGS}:" Makefile
@@ -21,13 +21,13 @@
}
package() {
- cd $srcdir/${pkgname}-${pkgver}
+ cd "$srcdir"/${pkgname}-${pkgver}
# https://www.archlinux.org/todo/move-files-to-usrbin-if-possible/
sed -i 's/sbin/bin/' Makefile
- make prefix="${pkgdir}/usr" install
+ make prefix="$pkgdir"/usr install
- install -d $pkgdir/usr/share/doc/bonnie++
- install -Dm644 $srcdir/$pkgname-$pkgver/readme.html $pkgdir/usr/share/doc/bonnie++/readme.html
+ install -d "$pkgdir"/usr/share/doc/bonnie++
+ install -Dm644 "$srcdir"/$pkgname-$pkgver/readme.html "$pkgdir"/usr/share/doc/bonnie++/readme.html
}
More information about the arch-commits
mailing list