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

Felix Yan felixonmars at archlinux.org
Tue Nov 6 21:44:44 UTC 2018


    Date: Tuesday, November 6, 2018 @ 21:44:43
  Author: felixonmars
Revision: 402258

upgpkg: haskell-timeit 2.0-5

rebuild with ghc 8.6.2

Modified:
  haskell-timeit/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-06 21:44:07 UTC (rev 402257)
+++ PKGBUILD	2018-11-06 21:44:43 UTC (rev 402258)
@@ -4,7 +4,7 @@
 _hkgname=timeit
 pkgname=haskell-timeit
 pkgver=2.0
-pkgrel=4
+pkgrel=5
 pkgdesc="Time monadic computations with an IO base"
 url="https://hackage.haskell.org/package/timeit"
 license=("custom:BSD3")
@@ -15,10 +15,10 @@
 sha512sums=('3cbe554ddb17fbeb5f8be1f6459144921f8be4db0fa9571678980251ca397fca0700df61d0e5bd8466b0b2cdcedac8473ac53debbd9b4e9c239ebb37bec2845b')
 
 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,9 +28,9 @@
 }
 
 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"
 }



More information about the arch-commits mailing list