[arch-commits] Commit in pciutils/trunk (PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Tue Oct 8 20:31:12 UTC 2019
Date: Tuesday, October 8, 2019 @ 20:31:11
Author: arojas
Revision: 364198
Fix quoting
Modified:
pciutils/trunk/PKGBUILD
----------+
PKGBUILD | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-10-08 20:30:19 UTC (rev 364197)
+++ PKGBUILD 2019-10-08 20:31:11 UTC (rev 364198)
@@ -19,7 +19,7 @@
'SKIP')
build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd "${pkgname}-${pkgver}"
make OPT="${CFLAGS} -fPIC -DPIC" ZLIB=no SHARED=no PREFIX=/usr SHAREDIR=/usr/share/hwdata MANDIR=/usr/share/man SBINDIR=/usr/bin lib/libpci.a
cp lib/libpci.a "${srcdir}/"
make clean
@@ -27,8 +27,8 @@
}
package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd "${pkgname}-${pkgver}"
make SHARED=yes PREFIX=/usr SBINDIR=/usr/bin SHAREDIR=/usr/share/hwdata MANDIR=/usr/share/man DESTDIR="${pkgdir}" install install-lib
# this is now supplied by the hwids package
- rm -rf $pkgdir/usr/{sbin/update-pciids,share/{man/man8/update-pciids.8,hwdata}}
+ rm -rf "$pkgdir"/usr/{sbin/update-pciids,share/{man/man8/update-pciids.8,hwdata}}
}
More information about the arch-commits
mailing list