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

Felix Yan felixonmars at archlinux.org
Wed Nov 7 09:19:05 UTC 2018


    Date: Wednesday, November 7, 2018 @ 09:19:05
  Author: felixonmars
Revision: 402529

upgpkg: haskell-process-extras 0.7.4-33

rebuild with ghc 8.6.2

Modified:
  haskell-process-extras/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-07 09:09:44 UTC (rev 402528)
+++ PKGBUILD	2018-11-07 09:19:05 UTC (rev 402529)
@@ -4,7 +4,7 @@
 _hkgname=process-extras
 pkgname=haskell-process-extras
 pkgver=0.7.4
-pkgrel=32
+pkgrel=33
 pkgdesc="Process extras"
 url="https://github.com/seereason/process-extras"
 license=('MIT')
@@ -16,10 +16,10 @@
 sha512sums=('4747b4bd920796b7b4ddf32d0e72a3af556c9db66c828b725ac7a7467442dad2b0dc85aa66e03d7a8c5afdb02658611e64d390b6c71219b380a986e245495536')
 
 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
@@ -29,11 +29,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