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

Felix Yan felixonmars at archlinux.org
Tue Nov 6 20:36:56 UTC 2018


    Date: Tuesday, November 6, 2018 @ 20:36:56
  Author: felixonmars
Revision: 402131

upgpkg: haskell-contravariant 1.5-4

rebuild with ghc 8.6.1

Modified:
  haskell-contravariant/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-06 20:36:13 UTC (rev 402130)
+++ PKGBUILD	2018-11-06 20:36:56 UTC (rev 402131)
@@ -4,7 +4,7 @@
 _hkgname=contravariant
 pkgname=haskell-contravariant
 pkgver=1.5
-pkgrel=3
+pkgrel=4
 pkgdesc="Contravariant functors"
 url="https://github.com/ekmett/contravariant/"
 license=("custom:BSD3")
@@ -15,10 +15,10 @@
 sha512sums=('1e0f94fa54b4b990e3c09c14ca8c3fcf93dfb60c154cd9f2f45cafd0c79bede79ed8ca9c63b09687911e72562f2011405f8948287815e378a6299709d87e7852')
 
 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 \
             -fstatevar -fsemigroups -ftagged -f-safe
     runhaskell Setup build
@@ -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