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

Andreas Radke andyrtr at archlinux.org
Mon Sep 23 19:57:53 UTC 2019


    Date: Monday, September 23, 2019 @ 19:57:52
  Author: andyrtr
Revision: 363316

fix quoting

Modified:
  libmythes/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-09-23 19:55:53 UTC (rev 363315)
+++ PKGBUILD	2019-09-23 19:57:52 UTC (rev 363316)
@@ -15,13 +15,13 @@
 sha512sums=('a04da39812bcfb1391a2cba7de73e955eafe141679ec03ed6657d03bebf360b432480d0037dff9ed72a1dfda5a70d77d44ac2bb14cdb109fd8e2a38376feee21')
 
 build() {
-  cd ${pkgname/lib/}-$pkgver
+  cd "${pkgname/lib/}"-$pkgver
   ./configure --prefix=/usr --disable-static
   make
 }
 
 check() {
-  cd ${pkgname/lib/}-$pkgver
+  cd "${pkgname/lib/}"-$pkgver
   # run the example program:
   ./example th_en_US_new.idx th_en_US_new.dat checkme.lst
   # run the example program with stemming and morphological generation:
@@ -30,8 +30,8 @@
 }
 
 package() {
-  cd ${pkgname/lib/}-$pkgver
-  make DESTDIR=$pkgdir install
+  cd "${pkgname/lib/}"-$pkgver
+  make DESTDIR="$pkgdir" install
   # license
-  install -Dm644 ${srcdir}/${pkgname/lib/}-$pkgver/COPYING $pkgdir/usr/share/licenses/$pkgname/COPYING
+  install -Dm644 "${srcdir}"/${pkgname/lib/}-$pkgver/COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
 }


More information about the arch-commits mailing list