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

Felix Yan felixonmars at archlinux.org
Tue Nov 6 18:31:24 UTC 2018


    Date: Tuesday, November 6, 2018 @ 18:31:24
  Author: felixonmars
Revision: 401831

upgpkg: haskell-deepseq-generics 0.2.0.0-9

rebuild with ghc 8.6.1

Modified:
  haskell-deepseq-generics/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-06 18:30:49 UTC (rev 401830)
+++ PKGBUILD	2018-11-06 18:31:24 UTC (rev 401831)
@@ -4,7 +4,7 @@
 _hkgname=deepseq-generics
 pkgname=haskell-deepseq-generics
 pkgver=0.2.0.0
-pkgrel=8
+pkgrel=9
 pkgdesc="GHC.Generics-based Control.DeepSeq.rnf implementation"
 url="https://github.com/hvr/deepseq-generics"
 license=("custom:BSD3")
@@ -19,10 +19,10 @@
 }
 
 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
@@ -32,11 +32,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