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

Felix Yan felixonmars at archlinux.org
Tue Nov 6 22:53:46 UTC 2018


    Date: Tuesday, November 6, 2018 @ 22:53:45
  Author: felixonmars
Revision: 402393

upgpkg: haskell-tasty 1.1.0.4-4

rebuild with ghc 8.6.2

Modified:
  haskell-tasty/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-06 22:53:06 UTC (rev 402392)
+++ PKGBUILD	2018-11-06 22:53:45 UTC (rev 402393)
@@ -4,7 +4,7 @@
 _hkgname=tasty
 pkgname=haskell-tasty
 pkgver=1.1.0.4
-pkgrel=3
+pkgrel=4
 pkgdesc="Modern and extensible testing framework"
 url="http://documentup.com/feuerbach/tasty"
 license=("MIT")
@@ -17,10 +17,10 @@
 sha512sums=('1e4814c8e3bd76b8dcd736a14b9fd250d84d2c6c96f3535f59ae89bae229af36fd2ebbf8b57026553cf89cd2c72edcbbbd047e9ed0c7cfc17a8dff1a6edf6a7e')
 
 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 \
             -fclock
     runhaskell Setup build
@@ -31,11 +31,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