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

Andreas Radke andyrtr at archlinux.org
Mon Sep 23 18:49:15 UTC 2019


    Date: Monday, September 23, 2019 @ 18:49:14
  Author: andyrtr
Revision: 363284

fix quoting

Modified:
  clucene/trunk/PKGBUILD

----------+
 PKGBUILD |   28 ++++++++++++++--------------
 1 file changed, 14 insertions(+), 14 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-09-23 18:46:56 UTC (rev 363283)
+++ PKGBUILD	2019-09-23 18:49:14 UTC (rev 363284)
@@ -12,8 +12,8 @@
 depends=('gcc-libs>=4.7.1-5' 'zlib' 'boost-libs')
 makedepends=('cmake' 'boost>=1.54.0')
 source=(https://downloads.sourceforge.net/$pkgname/$pkgname-core-$pkgver.tar.gz
-		# Fedora patches
-		clucene-core-2.3.3.4-pkgconfig.patch
+        # Fedora patches
+        clucene-core-2.3.3.4-pkgconfig.patch
         clucene-core-2.3.3.4-install_contribs_lib.patch
         # upstream patch
         fix_zlib_detections.diff
@@ -34,20 +34,20 @@
             '07c8b496045e5d9d4256ad854734d6228abb67455f2349b20173d42fc733cb0663559818542c257ef2cdd84e6d08f673bfea38591087498e2e2466f555af3b04')
 
 build() {
-  cd $srcdir/$pkgname-core-$pkgver
+  cd "$srcdir"/$pkgname-core-$pkgver
 
   # add missing contrib-libs needed by LibO 3.6, patch by FC
-  patch -Np1 -i ${srcdir}/clucene-core-2.3.3.4-install_contribs_lib.patch
+  patch -Np1 -i "${srcdir}"/clucene-core-2.3.3.4-install_contribs_lib.patch
   # pkgconfig file is missing clucene-shared (upstream ID: 3461512), patch by FC
-  patch -Np1 -i ${srcdir}/clucene-core-2.3.3.4-pkgconfig.patch
+  patch -Np1 -i "${srcdir}"/clucene-core-2.3.3.4-pkgconfig.patch
   # one upstream postrelease commit for proper zlib detection
-  patch -Np1 -i ${srcdir}/fix_zlib_detections.diff
+  patch -Np1 -i "${srcdir}"/fix_zlib_detections.diff
   # LibreOffice patches http://cgit.freedesktop.org/libreoffice/core/tree/clucene/patches
-  patch -Np0 -i ${srcdir}/clucene-warnings.patch
-  patch -Np0 -i ${srcdir}/clucene-gcc-atomics.patch
-  patch -Np0 -i ${srcdir}/clucene-debug.patch
-  patch -Np0 -i ${srcdir}/clucene-narrowing-conversions.patch
-  patch -Np0 -i ${srcdir}/clucene-multimap-put.patch
+  patch -Np0 -i "${srcdir}"/clucene-warnings.patch
+  patch -Np0 -i "${srcdir}"/clucene-gcc-atomics.patch
+  patch -Np0 -i "${srcdir}"/clucene-debug.patch
+  patch -Np0 -i "${srcdir}"/clucene-narrowing-conversions.patch
+  patch -Np0 -i "${srcdir}"/clucene-multimap-put.patch
 
   mkdir build
   pushd build
@@ -71,10 +71,10 @@
 #}
 
 package() {
-  cd $srcdir/$pkgname-core-$pkgver
+  cd "$srcdir"/$pkgname-core-$pkgver
   make DESTDIR="$pkgdir" install -C build
-  rm -rfv $pkgdir/usr/lib/CLuceneConfig.cmake
+  rm -rfv "$pkgdir"/usr/lib/CLuceneConfig.cmake
   
-  cd $pkgdir/usr/include//CLucene
+  cd "$pkgdir"/usr/include//CLucene
   ln -s /usr/lib/CLucene/clucene-config.h .
 }


More information about the arch-commits mailing list