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

Andreas Radke andyrtr at archlinux.org
Mon Sep 23 19:27:52 UTC 2019


    Date: Monday, September 23, 2019 @ 19:27:52
  Author: andyrtr
Revision: 363297

fix quoting

Modified:
  gwaterfall/trunk/PKGBUILD

----------+
 PKGBUILD |   44 ++++++++++++++++++++++----------------------
 1 file changed, 22 insertions(+), 22 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-09-23 19:25:25 UTC (rev 363296)
+++ PKGBUILD	2019-09-23 19:27:52 UTC (rev 363297)
@@ -16,35 +16,35 @@
          'c5c7165f39dcb298637b8cd8a66f3d5a')
 
 prepare() {
-	cd ${pkgname}
-	patch -p1 -i "$srcdir/${pkgname}_${pkgver}-${_debpatch}.diff"
+  cd "${pkgname}"
+  patch -p1 -i "$srcdir/${pkgname}_${pkgver}-${_debpatch}.diff"
 
-	aclocal #--verbose
-	libtoolize #--verbose
-	autoconf -f #-v
-    touch NEWS README ChangeLog
-	automake  --add-missing #--verbose
-	chmod +x ./configure
+  aclocal #--verbose
+  libtoolize #--verbose
+  autoconf -f #-v
+  touch NEWS README ChangeLog
+  automake  --add-missing #--verbose
+  chmod +x ./configure
 }
 
 build() {
-	cd ${pkgname}
-	./configure --prefix=/usr
-	make
+  cd "${pkgname}"
+  ./configure --prefix=/usr
+  make
 }
 
 package() {
-	cd ${pkgname}
-	make DESTDIR="$pkgdir/" install
+  cd "${pkgname}"
+  make DESTDIR="$pkgdir/" install
 	
-	# menu
-	install -m755 -d ${pkgdir}/usr/share/applications
-	install -Dm644 ${srcdir}/${pkgname}/debian/$pkgname.desktop ${pkgdir}/usr/share/applications
-	# manpage
-	install -m755 -d ${pkgdir}/usr/share/man/man1
-	install -Dm644 ${srcdir}/${pkgname}/debian/waterfall.1 ${pkgdir}/usr/share/man/man1
+  # menu
+  install -m755 -d "${pkgdir}"/usr/share/applications
+  install -Dm644 "${srcdir}"/${pkgname}/debian/$pkgname.desktop "${pkgdir}"/usr/share/applications
+  # manpage
+  install -m755 -d "${pkgdir}"/usr/share/man/man1
+  install -Dm644 "${srcdir}"/${pkgname}/debian/waterfall.1 "${pkgdir}"/usr/share/man/man1
 	
-	# license
-	install -m755 -d ${pkgdir}/usr/share/licenses/$pkgname
-	install -Dm644 ${srcdir}/${pkgname}/COPYING ${pkgdir}/usr/share/licenses/$pkgname
+  # license
+  install -m755 -d "${pkgdir}"/usr/share/licenses/$pkgname
+  install -Dm644 "${srcdir}"/${pkgname}/COPYING "${pkgdir}"/usr/share/licenses/$pkgname
 }


More information about the arch-commits mailing list