[arch-commits] Commit in cblrepo/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Mon Jun 19 18:45:41 UTC 2017
Date: Monday, June 19, 2017 @ 18:45:40
Author: felixonmars
Revision: 238735
upgpkg: cblrepo 0.24.0-23
rebuild with ghc,8.0.2
Modified:
cblrepo/trunk/PKGBUILD
----------+
PKGBUILD | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-06-19 18:40:50 UTC (rev 238734)
+++ PKGBUILD 2017-06-19 18:45:40 UTC (rev 238735)
@@ -3,27 +3,27 @@
pkgname=cblrepo
pkgver=0.24.0
-pkgrel=22
+pkgrel=23
pkgdesc="Tool to maintain a database of CABAL packages and their dependencies"
url="https://github.com/magthe/cblrepo"
license=("Apache")
arch=('i686' 'x86_64')
-depends=('gmp' 'libffi' 'zlib')
-makedepends=("ghc=8.0.1" "haskell-aeson" "haskell-ansi-wl-pprint" "haskell-mtl"
- "haskell-optparse-applicative" "haskell-safe" "haskell-stringsearch" "haskell-tar"
- "haskell-text" "haskell-unixutils" "haskell-utf8-string" "haskell-vector"
- "haskell-zlib")
+depends=("ghc" "haskell-aeson" "haskell-ansi-wl-pprint" "haskell-mtl" "haskell-optparse-applicative"
+ "haskell-safe" "haskell-stringsearch" "haskell-tar" "haskell-text" "haskell-unixutils"
+ "haskell-utf8-string" "haskell-vector" "haskell-zlib")
source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz")
sha256sums=('03c1728d5f5ac702e334d3b7ccf0ceb42c00f93dba6cce2cdd655f5d74f4af7a')
prepare() {
- sed -i 's/aeson ==1.0.*,/aeson >=1.0,/' ${pkgname}-${pkgver}/${pkgname}.cabal
+ sed -e 's/aeson ==1.0.*,/aeson >=1.0,/' \
+ -e 's/directory ==1.2.*,/directory >=1.2,/' \
+ -i ${pkgname}-${pkgver}/${pkgname}.cabal
}
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
- runhaskell Setup configure -O --prefix=/usr \
+ runhaskell Setup configure -O --prefix=/usr --enable-executable-dynamic \
--docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname"
runhaskell Setup build
}
More information about the arch-commits
mailing list