[arch-commits] Commit in hdparm/trunk (PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Tue Oct 8 20:19:15 UTC 2019
Date: Tuesday, October 8, 2019 @ 20:19:15
Author: arojas
Revision: 364186
Fix quoting
Modified:
hdparm/trunk/PKGBUILD
----------+
PKGBUILD | 24 ++++++++++++------------
1 file changed, 12 insertions(+), 12 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-10-08 19:54:05 UTC (rev 364185)
+++ PKGBUILD 2019-10-08 20:19:15 UTC (rev 364186)
@@ -18,29 +18,29 @@
'21adb4a515e0b7ea9535bf2201e0b9a668c7f912f010d3efc6f8440344f107169daf0d94d77602b2162a6619b6a02bb0da24f2418ff3c7e0160395ae8889e5bc')
prepare() {
- cd ${srcdir}/${pkgname}-${pkgver}
+ cd ${pkgname}-${pkgver}
# Fix Range input/output error when wiping Intel G2 and OCZ drives
- patch -Np1 -i $srcdir/wiper.sh.2_6.max-ranges.patch
+ patch -Np1 -i "$srcdir"/wiper.sh.2_6.max-ranges.patch
# Enable FULL RELRO
- patch -Np1 -i $srcdir/pass-ldflags.patch
+ patch -Np1 -i "$srcdir"/pass-ldflags.patch
}
build() {
- cd ${srcdir}/${pkgname}-${pkgver}
+ cd ${pkgname}-${pkgver}
make
}
package() {
- cd ${srcdir}/${pkgname}-${pkgver}
+ cd ${pkgname}-${pkgver}
# install
- mkdir -p ${pkgdir}/usr/bin
- make DESTDIR=${pkgdir} sbindir=/usr/bin install
- install -m755 contrib/idectl ${pkgdir}/usr/bin
- install -m755 contrib/ultrabayd ${pkgdir}/usr/bin
+ mkdir -p "${pkgdir}"/usr/bin
+ make DESTDIR="${pkgdir}" sbindir=/usr/bin install
+ install -m755 contrib/idectl "${pkgdir}"/usr/bin
+ install -m755 contrib/ultrabayd "${pkgdir}"/usr/bin
- install -D -m 0644 $srcdir/$pkgname-$pkgver/wiper/README.txt $pkgdir/usr/share/doc/wiper/README.txt
- install -D -m 0755 $srcdir/$pkgname-$pkgver/wiper/wiper.sh $pkgdir/usr/bin/wiper.sh
+ install -D -m 0644 $srcdir/$pkgname-$pkgver/wiper/README.txt "$pkgdir"/usr/share/doc/wiper/README.txt
+ install -D -m 0755 $srcdir/$pkgname-$pkgver/wiper/wiper.sh "$pkgdir"/usr/bin/wiper.sh
#install license file
- install -D -m 644 LICENSE.TXT $pkgdir/usr/share/licenses/hdparm/LICENSE.TXT
+ install -D -m 644 LICENSE.TXT "$pkgdir"/usr/share/licenses/hdparm/LICENSE.TXT
}
More information about the arch-commits
mailing list