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

Felix Yan felixonmars at archlinux.org
Wed Nov 7 15:59:21 UTC 2018


    Date: Wednesday, November 7, 2018 @ 15:59:21
  Author: felixonmars
Revision: 402874

upgpkg: haskell-binary-conduit 1.3.1-5

rebuild with ghc 8.6.2

Modified:
  haskell-binary-conduit/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-07 15:58:02 UTC (rev 402873)
+++ PKGBUILD	2018-11-07 15:59:21 UTC (rev 402874)
@@ -3,7 +3,7 @@
 _hkgname=binary-conduit
 pkgname=haskell-binary-conduit
 pkgver=1.3.1
-pkgrel=4
+pkgrel=5
 pkgdesc="Data serialization/deserialization conduit library"
 url="https://github.com/qnikst/binary-conduit/"
 license=('MIT')
@@ -14,10 +14,10 @@
 sha512sums=('ba1cc19ed024be3ddd5f95a1ddd0666fa6be91879663b7de8c1627d3342cad5c39b138d5e1df59274471341ad28d9dd51dc2da4a53fafa5e3dcab1fdb21722b2')
 
 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