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

Sven-Hendrik Haase svenstaro at archlinux.org
Fri Aug 28 07:30:37 UTC 2020


    Date: Friday, August 28, 2020 @ 07:30:37
  Author: svenstaro
Revision: 690125

Fix variable quoting

Modified:
  nodm/trunk/PKGBUILD

----------+
 PKGBUILD |   12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-08-28 07:29:04 UTC (rev 690124)
+++ PKGBUILD	2020-08-28 07:30:37 UTC (rev 690125)
@@ -1,4 +1,4 @@
-# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
 # Contributor: Roel Gerrits <roel at roelgerrits.nl>
 pkgname=nodm
 pkgver=0.13
@@ -18,7 +18,7 @@
             '21214122072daec9c373c99d1c9c0898f58a277f90fab085b417989c62e6cf268fb52148f76ec12b9be23137af05059f37f901e3d54f49e6024a05fa75277381')
 
 build() {
-	cd "${srcdir}/${pkgname}-${pkgver}"
+	cd "${pkgname}-${pkgver}"
 
     ./autogen.sh
 	./configure --prefix=/usr/
@@ -26,9 +26,9 @@
 }
 
 package() {
-	cd "${srcdir}/${pkgname}-${pkgver}"
+	cd "${pkgname}-${pkgver}"
 
-	install -Dm755 nodm ${pkgdir}/usr/bin/nodm
-	install -Dm644 ../nodm.conf ${pkgdir}/etc/nodm.conf
-	install -Dm644 ../nodm.service ${pkgdir}/usr/lib/systemd/system/nodm.service
+	install -Dm755 nodm "${pkgdir}"/usr/bin/nodm
+	install -Dm644 ../nodm.conf "${pkgdir}"/etc/nodm.conf
+	install -Dm644 ../nodm.service "${pkgdir}"/usr/lib/systemd/system/nodm.service
 }



More information about the arch-commits mailing list