[arch-commits] Commit in rpcbind/trunk (PKGBUILD)

Andreas Radke andyrtr at archlinux.org
Wed Sep 25 17:27:19 UTC 2019


    Date: Wednesday, September 25, 2019 @ 17:27:19
  Author: andyrtr
Revision: 363392

fix quoting

Modified:
  rpcbind/trunk/PKGBUILD

----------+
 PKGBUILD |   18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-09-25 17:25:20 UTC (rev 363391)
+++ PKGBUILD	2019-09-25 17:27:19 UTC (rev 363392)
@@ -29,7 +29,7 @@
           '38044ce8f3376a0b69da8e078e988fd1645bd435')
 
 prepare() {
-  cd $srcdir/$pkgname-$pkgver
+  cd $pkgname-$pkgver
   # patch for iana services file # FS#20273
   patch -Np1 -i ../rpcbind-sunrpc.patch
   # use distro config file; FS#52058
@@ -39,7 +39,7 @@
 }
 
 build() {
-  cd $srcdir/$pkgname-$pkgver
+  cd $pkgname-$pkgver
   ./configure --prefix=/usr --sbindir=/usr/bin \
     --with-rpcuser=rpc \
     --enable-warmstarts \
@@ -49,15 +49,15 @@
 }
 
 package() {
-  cd $srcdir/$pkgname-$pkgver
-  make DESTDIR=$pkgdir install
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
   # install rpcbind config file
-  install -D -m644 $srcdir/rpcbind.conf $pkgdir/etc/conf.d/rpcbind
+  install -D -m644 "$srcdir"/rpcbind.conf "$pkgdir"/etc/conf.d/rpcbind
   # install missing man page - https://bugs.archlinux.org/task/21271
-  install -m644 man/rpcinfo.8 $pkgdir/usr/share/man/man8/
+  install -m644 man/rpcinfo.8 "$pkgdir"/usr/share/man/man8/
   # systemd sysusers/tempfile
-  install -Dm644 ../tmpfiles.d ${pkgdir}/usr/lib/tmpfiles.d/rpcbind.conf
-  install -Dm644 ../sysusers.d ${pkgdir}/usr/lib/sysusers.d/rpcbind.conf
+  install -Dm644 ../tmpfiles.d "${pkgdir}"/usr/lib/tmpfiles.d/rpcbind.conf
+  install -Dm644 ../sysusers.d "${pkgdir}"/usr/lib/sysusers.d/rpcbind.conf
   # install license
-  install -D -m644 COPYING $pkgdir/usr/share/licenses/rpcbind/COPYING
+  install -D -m644 COPYING "$pkgdir"/usr/share/licenses/rpcbind/COPYING
 }


More information about the arch-commits mailing list