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

Felix Yan felixonmars at archlinux.org
Wed Nov 7 10:02:41 UTC 2018


    Date: Wednesday, November 7, 2018 @ 10:02:41
  Author: felixonmars
Revision: 402612

upgpkg: haskell-gnuidn 0.2.2-82

rebuild with ghc 8.6.2

Modified:
  haskell-gnuidn/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-07 10:02:05 UTC (rev 402611)
+++ PKGBUILD	2018-11-07 10:02:41 UTC (rev 402612)
@@ -4,7 +4,7 @@
 _hkgname=gnuidn
 pkgname=haskell-gnuidn
 pkgver=0.2.2
-pkgrel=81
+pkgrel=82
 pkgdesc="Bindings for GNU IDN"
 url="https://john-millikin.com/software/haskell-gnuidn/"
 license=("GPL3")
@@ -15,10 +15,10 @@
 sha512sums=('4ac894ba4cc4fb9fd90ccea55fda342cd0dadc863a091d31287b19117ec1e545a23b7fb69db02bbb8ee9eb84856acb51f3ab0d7778f4ca3da290dfcbc7ef27ac')
 
 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
@@ -28,10 +28,10 @@
 }
 
 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"
     rm -f "${pkgdir}/usr/share/doc/${pkgname}/license.txt"
 }


More information about the arch-commits mailing list