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

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


    Date: Tuesday, November 6, 2018 @ 21:29:48
  Author: felixonmars
Revision: 402224

upgpkg: haskell-quickcheck-unicode 1.0.1.0-8

rebuild with ghc 8.6.2

Modified:
  haskell-quickcheck-unicode/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-06 21:29:14 UTC (rev 402223)
+++ PKGBUILD	2018-11-06 21:29:48 UTC (rev 402224)
@@ -3,7 +3,7 @@
 _hkgname=quickcheck-unicode
 pkgname=haskell-quickcheck-unicode
 pkgver=1.0.1.0
-pkgrel=7
+pkgrel=8
 pkgdesc="Generator and shrink functions for testing Unicode-related software."
 url="https://github.com/bos/quickcheck-unicode"
 license=('BSD')
@@ -14,10 +14,10 @@
 sha512sums=('4762d9cdf7624e28586ed18ad05f273b600bf664cb3f3f76d9e33dd217181f49f5835ac6276da8d5302dbf89fe65cec4e9d3c1e57dfc457ee3b3748467672c15')
 
 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
@@ -27,11 +27,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