[arch-commits] Commit in haskell-text-printer/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Fri Jun 1 03:47:28 UTC 2018
Date: Friday, June 1, 2018 @ 03:47:27
Author: felixonmars
Revision: 335379
upgpkg: haskell-text-printer 0.5-18
rebuild with ghc 8.4.3
Modified:
haskell-text-printer/trunk/PKGBUILD
----------+
PKGBUILD | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-06-01 03:45:10 UTC (rev 335378)
+++ PKGBUILD 2018-06-01 03:47:27 UTC (rev 335379)
@@ -4,16 +4,21 @@
_hkgname=text-printer
pkgname=haskell-text-printer
pkgver=0.5
-pkgrel=17
+pkgrel=18
pkgdesc="Abstract interface for text builders/printers."
url="https://github.com/mvv/text-printer"
license=('custom:BSD3')
arch=('x86_64')
-depends=('ghc-libs' 'haskell-semigroups' 'haskell-text-latin1')
+depends=('ghc-libs' 'haskell-text-latin1')
makedepends=('ghc')
source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
sha512sums=('08dd0e5c0256822ba58e0d27dfc3b931b69385cfb4c020b91df73c02cd723f49f5c5b0faaecd5cbeb49f3cbe95e741ff3154c331e7573e9b78b42caae218586b')
+prepare() {
+ cd $_hkgname-$pkgver
+ sed -i -e '/semigroups/d' -e 's/text-latin1 >= 0.3,/text-latin1 >= 0.3/' $_hkgname.cabal
+}
+
build() {
cd "${srcdir}/${_hkgname}-${pkgver}"
More information about the arch-commits
mailing list