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

Felix Yan felixonmars at archlinux.org
Mon May 21 14:38:02 UTC 2018


    Date: Monday, May 21, 2018 @ 14:38:01
  Author: felixonmars
Revision: 326176

upgpkg: haskell-colour 2.3.4-4

rebuild with ansi-terminal,0.8.0.4

Modified:
  haskell-colour/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-05-21 14:29:52 UTC (rev 326175)
+++ PKGBUILD	2018-05-21 14:38:01 UTC (rev 326176)
@@ -5,7 +5,7 @@
 _hkgname=colour
 pkgname=haskell-colour
 pkgver=2.3.4
-pkgrel=3
+pkgrel=4
 pkgdesc="A model for human colour/color perception"
 url="https://hackage.haskell.org/package/${_hkgname}"
 license=("MIT")
@@ -16,11 +16,16 @@
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
 sha512sums=('c475ed5ced7bcf749facfacf609d2b89a04f496bd6a7301259aa14cbfe6e768d65495f09b046b80f448b27478323a52cc2414954934985259e6f115325d17f9a')
 
+prepare() {
+    cd $_hkgname-$pkgver
+    sed -i 's/<.*2.11/<3/' $_hkgname.cabal
+}
+
 build() {
     cd "${srcdir}/${_hkgname}-${pkgver}"
 
     runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \
-        --prefix=/usr --docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" --disable-tests \
+        --prefix=/usr --docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" --enable-tests \
         --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
     runhaskell Setup build
     runhaskell Setup register --gen-script



More information about the arch-commits mailing list