[arch-commits] Commit in haskell-test-framework-quickcheck2/trunk (PKGBUILD)

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


    Date: Tuesday, November 6, 2018 @ 23:21:21
  Author: felixonmars
Revision: 402449

upgpkg: haskell-test-framework-quickcheck2 0.3.0.5-5

rebuild with ghc 8.6.2

Modified:
  haskell-test-framework-quickcheck2/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-06 23:20:49 UTC (rev 402448)
+++ PKGBUILD	2018-11-06 23:21:21 UTC (rev 402449)
@@ -4,7 +4,7 @@
 _hkgname=test-framework-quickcheck2
 pkgname=haskell-test-framework-quickcheck2
 pkgver=0.3.0.5
-pkgrel=4
+pkgrel=5
 pkgdesc="QuickCheck-2 support for the test-framework package"
 url="http://haskell.github.io/test-framework/"
 license=("custom:BSD3")
@@ -16,10 +16,10 @@
 sha512sums=('58c6177d52829ba1ea1858a11101e5b21ae4e4543f8f829779f62208ad16083b41e9f3b2275392693698ef3d46912096c368d90db0d67ff136af4fa73d5e1d43')
 
 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