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

Felix Yan fyan at archlinux.org
Mon Jan 18 04:13:32 UTC 2016


    Date: Monday, January 18, 2016 @ 05:13:32
  Author: fyan
Revision: 157372

upgpkg: haskell-optparse-applicative 0.12.0.0-3

rebuild with transformers-compat-0.5.1.4, mmorph-1.0.5

Modified:
  haskell-optparse-applicative/trunk/PKGBUILD

----------+
 PKGBUILD |    7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-01-18 04:13:10 UTC (rev 157371)
+++ PKGBUILD	2016-01-18 04:13:32 UTC (rev 157372)
@@ -5,7 +5,7 @@
 _hkgname=optparse-applicative
 pkgname=haskell-optparse-applicative
 pkgver=0.12.0.0
-pkgrel=2
+pkgrel=3
 pkgdesc="Utilities and combinators for parsing command line options"
 url="https://github.com/pcapriotti/optparse-applicative"
 license=("custom:BSD3")
@@ -16,6 +16,11 @@
 install="${pkgname}.install"
 sha256sums=('49d5bf745a10f30cc469b95e1cf1c935df3a70203f7c61718f9398c6fdba2123')
 
+prepare() {
+    sed -i 's/transformers-compat >= 0.3 && < 0.5,/transformers-compat >= 0.3 \&\& < 0.6,/' \
+        ${_hkgname}-${pkgver}/${_hkgname}.cabal
+}
+
 build() {
     cd "${srcdir}/${_hkgname}-${pkgver}"
     



More information about the arch-commits mailing list