[arch-commits] Commit in hylafax/trunk (PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Tue Oct 8 20:21:29 UTC 2019
Date: Tuesday, October 8, 2019 @ 20:21:29
Author: arojas
Revision: 364187
Fix quoting
Modified:
hylafax/trunk/PKGBUILD
----------+
PKGBUILD | 26 +++++++++++++-------------
1 file changed, 13 insertions(+), 13 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-10-08 20:19:15 UTC (rev 364186)
+++ PKGBUILD 2019-10-08 20:21:29 UTC (rev 364187)
@@ -20,7 +20,7 @@
faxgetty at .service)
build () {
- cd "$srcdir/${pkgname}-${pkgver}"
+ cd ${pkgname}-${pkgver}
cp ../config.local .
./configure --nointeractive --with-OPTIMIZER="${CFLAGS}"
make
@@ -27,7 +27,7 @@
}
package () {
- cd "$srcdir/${pkgname}-${pkgver}"
+ cd ${pkgname}-${pkgver}
mkdir -p "$pkgdir"/usr/{bin,lib/fax,share/ghostscript/fonts}
mkdir -p "$pkgdir"/var/{spool/hylafax,lock}
make ROOT="$pkgdir" install
@@ -37,20 +37,20 @@
# remove /var/lock
rm -r "$pkgdir"/var/lock
# add systemd files
- install -D -m644 $srcdir/hfaxd.service $pkgdir/usr/lib/systemd/system/hfaxd.service
- install -D -m644 $srcdir/faxq.service $pkgdir/usr/lib/systemd/system/faxq.service
- install -D -m644 $srcdir/faxgetty at .service $pkgdir/usr/lib/systemd/system/faxgetty at .service
+ install -D -m644 "$srcdir"/hfaxd.service "$pkgdir"/usr/lib/systemd/system/hfaxd.service
+ install -D -m644 "$srcdir"/faxq.service "$pkgdir"/usr/lib/systemd/system/faxq.service
+ install -D -m644 "$srcdir"/faxgetty at .service "$pkgdir"/usr/lib/systemd/system/faxgetty at .service
install -D -m644 COPYRIGHT "$pkgdir"/usr/share/licenses/$pkgname/COPYRIGHT
# systemd timer
- install -D -m644 ${srcdir}/hylafax.timer ${pkgdir}/usr/lib/systemd/system/hylafax.timer
- install -D -m644 ${srcdir}/hylafax.service ${pkgdir}/usr/lib/systemd/system/hylafax.service
- install -d -m755 ${pkgdir}/usr/lib/systemd/system/multi-user.target.wants
- ln -s ../shadow.timer ${pkgdir}/usr/lib/systemd/system/multi-user.target.wants/hylafax.timer
+ install -D -m644 "${srcdir}"/hylafax.timer "${pkgdir}"/usr/lib/systemd/system/hylafax.timer
+ install -D -m644 "${srcdir}"/hylafax.service "${pkgdir}"/usr/lib/systemd/system/hylafax.service
+ install -d -m755 "${pkgdir}"/usr/lib/systemd/system/multi-user.target.wants
+ ln -s ../shadow.timer "${pkgdir}"/usr/lib/systemd/system/multi-user.target.wants/hylafax.timer
# fix permissions
- chown 10:14 ${pkgdir}/var/spool/hylafax/{,archive,bin,client,config,dev,docq,doneq,etc}
- chown 10:14 ${pkgdir}/var/spool/hylafax/{FIFO,info,log,pollq,recvq,sendq,status,tmp}
- chown 10:14 ${pkgdir}/var/spool/hylafax/etc/{hosts.hfaxd,lutRS18.pcf,xferfaxlog}
- chown 10:14 -R ${pkgdir}/var/spool/hylafax/etc/templates
+ chown 10:14 "${pkgdir}"/var/spool/hylafax/{,archive,bin,client,config,dev,docq,doneq,etc}
+ chown 10:14 "${pkgdir}"/var/spool/hylafax/{FIFO,info,log,pollq,recvq,sendq,status,tmp}
+ chown 10:14 "${pkgdir}"/var/spool/hylafax/etc/{hosts.hfaxd,lutRS18.pcf,xferfaxlog}
+ chown 10:14 -R "${pkgdir}"/var/spool/hylafax/etc/templates
}
md5sums=('7602e98b882fa61a0722109c2706d1f1'
'9ef38446d2a2aeac698c4ae178fd5c2b'
More information about the arch-commits
mailing list