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

Christian Rebischke shibumi at archlinux.org
Wed Sep 25 22:10:48 UTC 2019


    Date: Wednesday, September 25, 2019 @ 22:10:47
  Author: shibumi
Revision: 511795

upgpkg: taskd 1.1.0-4

Fix unquoted variables which break building the package in certain scenarios

Modified:
  taskd/trunk/PKGBUILD

----------+
 PKGBUILD |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-09-25 22:08:37 UTC (rev 511794)
+++ PKGBUILD	2019-09-25 22:10:47 UTC (rev 511795)
@@ -7,7 +7,7 @@
 
 pkgname=taskd
 pkgver=1.1.0
-pkgrel=3
+pkgrel=4
 pkgdesc="A lightweight, secure server providing multi-user, multi-client access to task data"
 url="http://tasktools.org/projects/${pkgname}.html"
 license=('MIT')
@@ -22,7 +22,7 @@
             '882ffe7de4bf569a16595d69cfd827fffd23beae7af19c90748bc2ee23e74f8313bcd2733131155d8fea4a37a207b052255fa5aeb6b61b47e4207332f7083e04')
 
 build() {
-    cd ${pkgname}-${pkgver}
+    cd "${pkgname}-${pkgver}"
     cmake . \
         -DCMAKE_INSTALL_PREFIX=/usr \
         -DCMAKE_BUILD_TYPE=Release
@@ -30,11 +30,11 @@
 }
 
 package() {
-    cd ${pkgname}-${pkgver}
+    cd "${pkgname}-${pkgver}"
     make DESTDIR="${pkgdir}" install
     cp -a {pki,scripts} "${pkgdir}/usr/share/doc/taskd/"
 
-    install -Dm644 ${srcdir}/${pkgname}.sysusers.conf "${pkgdir}/usr/lib/sysusers.d/${pkgname}.conf"
-    install -Dm644 scripts/systemd/${pkgname}.service "${pkgdir}/usr/lib/systemd/system/${pkgname}.service"
+    install -Dm644 "${srcdir}/${pkgname}.sysusers.conf" "${pkgdir}/usr/lib/sysusers.d/${pkgname}.conf"
+    install -Dm644 "scripts/systemd/${pkgname}.service" "${pkgdir}/usr/lib/systemd/system/${pkgname}.service"
     install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
 }



More information about the arch-commits mailing list