[arch-commits] Commit in haskell-openpgp-asciiarmor/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Tue Nov 6 23:08:56 UTC 2018


    Date: Tuesday, November 6, 2018 @ 23:08:55
  Author: felixonmars
Revision: 402423

upgpkg: haskell-openpgp-asciiarmor 0.1.1-18

rebuild with ghc 8.6.2

Modified:
  haskell-openpgp-asciiarmor/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-06 23:08:22 UTC (rev 402422)
+++ PKGBUILD	2018-11-06 23:08:55 UTC (rev 402423)
@@ -3,7 +3,7 @@
 _hkgname=openpgp-asciiarmor
 pkgname=haskell-openpgp-asciiarmor
 pkgver=0.1.1
-pkgrel=17
+pkgrel=18
 pkgdesc="OpenPGP (RFC4880) ASCII Armor codec"
 url="http://floss.scru.org/openpgp-asciiarmor"
 license=('custom:ISC')
@@ -14,10 +14,10 @@
 sha512sums=('7b552f86c8f72e6507a14ac9f696ab71e527a3ffe4ac232d5f6cb3b8fd8a85610dccb716f3ba55cfb8678fe6d327d9620d17f6be32fe75a0f65d74871f00b56c')
 
 build() {
-    cd "${srcdir}/${_hkgname}-${pkgver}"
+    cd $_hkgname-$pkgver
     
     runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \
-        --prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
+        --prefix=/usr --docdir=/usr/share/doc/$pkgname \
         --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
     runhaskell Setup build
     runhaskell Setup register --gen-script
@@ -27,11 +27,11 @@
 }
 
 package() {
-    cd "${srcdir}/${_hkgname}-${pkgver}"
+    cd $_hkgname-$pkgver
     
-    install -D -m744 register.sh   "${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
-    install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
-    runhaskell Setup copy --destdir="${pkgdir}"
+    install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+    install -D -m744 unregister.sh "$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+    runhaskell Setup copy --destdir="$pkgdir"
     install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
     rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
 }


More information about the arch-commits mailing list