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

Frederik Schwan freswa at archlinux.org
Fri Aug 28 12:51:43 UTC 2020


    Date: Friday, August 28, 2020 @ 12:51:43
  Author: freswa
Revision: 690786

fix unquoted variables

Modified:
  pdf2djvu/trunk/PKGBUILD

----------+
 PKGBUILD |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-08-28 12:51:36 UTC (rev 690785)
+++ PKGBUILD	2020-08-28 12:51:43 UTC (rev 690786)
@@ -10,7 +10,7 @@
 license=('GPL')
 depends=('poppler' 'djvulibre' 'gcc-libs' 'graphicsmagick' 'exiv2')
 makedepends=('python2-nose' 'ttf-liberation' 'boost')
-source=(https://github.com/jwilk/pdf2djvu/releases/download/$pkgver/pdf2djvu-$pkgver.tar.xz{,.asc}
+source=(https://github.com/jwilk/pdf2djvu/releases/download/${pkgver}/pdf2djvu-${pkgver}.tar.xz{,.asc}
         pdf2djvu-poppler-0.86.patch::"https://github.com/jwilk/pdf2djvu/commit/b28c2007.patch"
         pdf2djvu-poppler-0.86-2.patch::"https://github.com/jwilk/pdf2djvu/commit/d3bb5259.patch")
 sha256sums=('5bbbb7bdc7858a1eeac6ff270e5a323390f2abb6bd3b0b2ae08c1965272226a3'
@@ -20,8 +20,8 @@
 validpgpkeys=('CDB5A1243ACDB63009AD07212D4EB3A6015475F5')
 
 prepare() {
-    cd  $pkgname-$pkgver
-#patch -p1 -i ../pdf2djvu-poppler-0.86.patch # Fix build with poppler 0.86
+    cd ${pkgname}-${pkgver}
+#    patch -p1 -i ../pdf2djvu-poppler-0.86.patch # Fix build with poppler 0.86
 #    patch -p1 -i ../pdf2djvu-poppler-0.86-2.patch
 }
 
@@ -41,5 +41,5 @@
 package() {
     cd ${pkgname}-${pkgver}
 
-    make install DESTDIR=${pkgdir}
+    make install DESTDIR="${pkgdir}"
 }



More information about the arch-commits mailing list