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

Felix Yan felixonmars at archlinux.org
Tue Nov 6 18:01:35 UTC 2018


    Date: Tuesday, November 6, 2018 @ 18:01:35
  Author: felixonmars
Revision: 401763

upgpkg: haskell-bloomfilter 2.0.1.0-11

rebuild with ghc 8.6.1

Modified:
  haskell-bloomfilter/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-06 18:00:58 UTC (rev 401762)
+++ PKGBUILD	2018-11-06 18:01:35 UTC (rev 401763)
@@ -4,7 +4,7 @@
 _hkgname=bloomfilter
 pkgname=haskell-bloomfilter
 pkgver=2.0.1.0
-pkgrel=10
+pkgrel=11
 pkgdesc="Pure and impure Bloom Filter implementations"
 url="https://github.com/bos/bloomfilter"
 license=("custom:BSD3")
@@ -15,10 +15,10 @@
 sha512sums=('1031cc28c5e5c1b7687355b709d436ebab1956ffd7591a010fa3852a1bc7412925a365f99937feeacf4b1a5d3c7b34bc0370707ad6e4533280dcac4ea3fa7c21')
 
 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