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

Lukas Fleischer lfleischer at archlinux.org
Tue Nov 19 16:11:08 UTC 2019


    Date: Tuesday, November 19, 2019 @ 16:11:08
  Author: lfleischer
Revision: 369440

Fix unquoted variables

Modified:
  m4/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-11-19 16:09:57 UTC (rev 369439)
+++ PKGBUILD	2019-11-19 16:11:08 UTC (rev 369440)
@@ -1,4 +1,5 @@
-# Maintainer: Allan McRae <allan at archlinux.org>
+# Maintainer: Lukas Fleischer <lfleischer at archlinux.org>
+# Contributor: Allan McRae <allan at archlinux.org>
 # Contributor: Andreas Radke <andyrtr at archlinux.org>
 
 pkgname=m4
@@ -10,7 +11,7 @@
 license=('GPL3')
 groups=('base-devel')
 depends=('glibc' 'bash')
-source=(https://ftp.gnu.org/gnu/m4/$pkgname-$pkgver.tar.xz{,.sig}
+source=("https://ftp.gnu.org/gnu/m4/$pkgname-$pkgver.tar.xz"{,.sig}
         m4-1.4.18-glibc-change-work-around.patch)
 md5sums=('730bb15d96fffe47e148d1e09235af82'
          'SKIP'
@@ -17,24 +18,23 @@
          '01968e8f3a5be62de1c849668db8042b')
 validpgpkeys=('71C2CC22B1C4602927D2F3AAA7A16B4A2527436A')   # Eric Blake
 
-
 prepare() {
-  cd $pkgname-$pkgver
-  patch -p1 -i $srcdir/m4-1.4.18-glibc-change-work-around.patch
+	cd "$pkgname-$pkgver"
+	patch -p1 -i "$srcdir"/m4-1.4.18-glibc-change-work-around.patch
 }
 
 build() {
-  cd $pkgname-$pkgver  
-  ./configure --prefix=/usr
-  make
+	cd "$pkgname-$pkgver"
+	./configure --prefix=/usr
+	make
 }
 
 check() {
-  cd $pkgname-$pkgver
-  make check
+	cd "$pkgname-$pkgver"
+	make check
 }
 
 package() {
-  cd $pkgname-$pkgver
-  make prefix=${pkgdir}/usr install
+	cd "$pkgname-$pkgver"
+	make prefix="${pkgdir}"/usr install
 }



More information about the arch-commits mailing list