[arch-commits] Commit in haskell-rebase/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Fri Jan 19 20:49:25 UTC 2018
Date: Friday, January 19, 2018 @ 20:49:24
Author: felixonmars
Revision: 284206
upgpkg: haskell-rebase 1.2.2-4
rebuild with semigroupoids,5.2.2
Modified:
haskell-rebase/trunk/PKGBUILD
----------+
PKGBUILD | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-01-19 20:46:16 UTC (rev 284205)
+++ PKGBUILD 2018-01-19 20:49:24 UTC (rev 284206)
@@ -5,7 +5,7 @@
_hkgname=rebase
pkgname=haskell-rebase
pkgver=1.2.2
-pkgrel=3
+pkgrel=4
pkgdesc='A more progressive alternative to the "base" package'
url="https://github.com/nikita-volkov/rebase"
license=("MIT")
@@ -20,7 +20,13 @@
sha512sums=('b40069b07ea121bfe5ce70dcace10f42898ddd7a1d33a710b67ef4bf999cfa61ec2eb4912ee72947a3f0d88876d1441c506eabf8658e66cb394c3dc4388ffa06')
prepare() {
- sed -i '/fail/d' $_hkgname-$pkgver/$_hkgname.cabal
+ cd $_hkgname-$pkgver
+ sed -i '/fail/d' $_hkgname.cabal
+
+ # https://github.com/nikita-volkov/rebase/issues/10
+ sed -e 's/import Rebase.Data.Functor.Alt as Exports hiding ./import Rebase.Data.Functor.Alt as Exports hiding (optional, /' \
+ -e 's/import Rebase.Data.Functor.Plus as Exports hiding ./import Rebase.Data.Functor.Plus as Exports hiding (optional, /' \
+ -i library/Rebase/Prelude.hs
}
build() {
More information about the arch-commits
mailing list