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

Felix Yan felixonmars at archlinux.org
Tue Nov 6 19:29:51 UTC 2018


    Date: Tuesday, November 6, 2018 @ 19:29:50
  Author: felixonmars
Revision: 401978

upgpkg: haskell-monad-time 0.3.1.0-5

rebuild with ghc 8.6.1

Modified:
  haskell-monad-time/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-06 19:29:17 UTC (rev 401977)
+++ PKGBUILD	2018-11-06 19:29:50 UTC (rev 401978)
@@ -4,7 +4,7 @@
 _hkgname=monad-time
 pkgname=haskell-monad-time
 pkgver=0.3.1.0
-pkgrel=4
+pkgrel=5
 pkgdesc="Type class for monads which carry the notion of the current time"
 url="https://github.com/scrive/monad-time"
 license=("custom:BSD3")
@@ -15,10 +15,10 @@
 sha512sums=('bf06681d5997c00b505d908f54f3732b7f726ddc83d00d7d2ec074f10f299181003533ba4729ff995f0805fec2c1d1b7ed3a152486d8cb3db7eb0e2d2b4ec9bd')
 
 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