[arch-commits] Commit in cpio/trunk (PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Mon Oct 7 20:06:01 UTC 2019
Date: Monday, October 7, 2019 @ 20:06:00
Author: arojas
Revision: 364064
Fix quoting
Modified:
cpio/trunk/PKGBUILD
----------+
PKGBUILD | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-10-07 20:04:51 UTC (rev 364063)
+++ PKGBUILD 2019-10-07 20:06:00 UTC (rev 364064)
@@ -11,22 +11,22 @@
md5sums=('fc207561a86b63862eea4b8300313e86')
build() {
- cd ${srcdir}/${pkgname}-${pkgver}
+ cd ${pkgname}-${pkgver}
./configure --prefix=/usr --mandir=/usr/share/man
make
}
check() {
- cd ${srcdir}/${pkgname}-${pkgver}
+ cd ${pkgname}-${pkgver}
make check
}
package() {
- cd ${srcdir}/${pkgname}-${pkgver}
- make DESTDIR=${pkgdir} install
- rm -f ${pkgdir}/usr/bin/mt ${pkgdir}/pkg/usr/share/man/man1/mt.1
- rm -rf ${pkgdir}/usr/libexec
- rm -f ${pkgdir}/usr/share/man/man8/rmt.8
+ cd ${pkgname}-${pkgver}
+ make DESTDIR="${pkgdir}" install
+ rm -f "${pkgdir}/usr/bin/mt" "${pkgdir}/pkg/usr/share/man/man1/mt.1"
+ rm -rf "${pkgdir}/usr/libexec"
+ rm -f "${pkgdir}/usr/share/man/man8/rmt.8"
# remove infodir
- rm $pkgdir/usr/share/info/dir
+ rm "$pkgdir/usr/share/info/dir"
}
More information about the arch-commits
mailing list