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

Felix Yan felixonmars at archlinux.org
Wed Nov 7 12:48:31 UTC 2018


    Date: Wednesday, November 7, 2018 @ 12:48:29
  Author: felixonmars
Revision: 402788

upgpkg: haskell-dns 3.0.4-36

rebuild with ghc 8.6.2

Modified:
  haskell-dns/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-07 12:47:01 UTC (rev 402787)
+++ PKGBUILD	2018-11-07 12:48:29 UTC (rev 402788)
@@ -4,7 +4,7 @@
 _hkgname=dns
 pkgname=haskell-dns
 pkgver=3.0.4
-pkgrel=35
+pkgrel=36
 pkgdesc="DNS library in Haskell"
 url="https://hackage.haskell.org/package/${_hkgname}"
 license=("custom:BSD3")
@@ -17,10 +17,10 @@
 sha512sums=('41cfecf8701d82ac3895ba03b53225b3273f166289472cde3a0a399384d05e83bfef5efba1b2ad8cfe2f180a895b144fd275b514430cc219a906053999e8d806')
 
 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}" --enable-tests \
+        --prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
         --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
     runhaskell Setup build
     runhaskell Setup register --gen-script
@@ -36,11 +36,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