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

Felix Yan felixonmars at archlinux.org
Wed Nov 7 09:50:53 UTC 2018


    Date: Wednesday, November 7, 2018 @ 09:50:53
  Author: felixonmars
Revision: 402590

upgpkg: haskell-monad-control 1.0.2.3-24

rebuild with ghc 8.6.2

Modified:
  haskell-monad-control/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-07 09:50:21 UTC (rev 402589)
+++ PKGBUILD	2018-11-07 09:50:53 UTC (rev 402590)
@@ -4,7 +4,7 @@
 _hkgname=monad-control
 pkgname=haskell-monad-control
 pkgver=1.0.2.3
-pkgrel=23
+pkgrel=24
 pkgdesc="Lift control operations, like exception catching, through monad transformers"
 url="https://github.com/basvandijk/monad-control"
 license=("custom:BSD3")
@@ -15,10 +15,10 @@
 sha512sums=('59837326ec9f25220cb6c7329c91a5806b0ec7412d6af24c0f0d52c4fd93b084e92edd4f5f61a4f9c4248034fa540c23b65d2aacdfca737ece98bb132b8f08d4')
 
 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,11 +28,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