[arch-commits] Commit in cabal-install/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Wed Oct 17 20:47:26 UTC 2018
Date: Wednesday, October 17, 2018 @ 20:47:26
Author: felixonmars
Revision: 395081
upgpkg: cabal-install 2.4.0.0-1
Modified:
cabal-install/trunk/PKGBUILD
----------+
PKGBUILD | 29 ++++++++---------------------
1 file changed, 8 insertions(+), 21 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-10-17 20:46:59 UTC (rev 395080)
+++ PKGBUILD 2018-10-17 20:47:26 UTC (rev 395081)
@@ -4,8 +4,8 @@
# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
pkgname=cabal-install
-pkgver=2.2.0.0
-pkgrel=93
+pkgver=2.4.0.0
+pkgrel=1
pkgdesc="The command-line interface for Cabal and Hackage."
url="https://hackage.haskell.org/package/cabal-install"
license=('custom:BSD3')
@@ -13,34 +13,21 @@
depends=('ghc-libs' 'haskell-async' 'haskell-base16-bytestring' 'haskell-cryptohash-sha256'
'haskell-echo' 'haskell-edit-distance' 'haskell-hackage-security' 'haskell-hashable'
'haskell-http' 'haskell-network' 'haskell-network-uri' 'haskell-random' 'haskell-resolv'
- 'haskell-tar' 'haskell-zlib')
-makedepends=('ghc' 'haskell-pretty-show' 'haskell-quickcheck' 'haskell-tagged' 'haskell-tasty'
- 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
+ 'haskell-tar' 'haskell-zlib' 'haskell-zip-archive')
+makedepends=('ghc')
source=("https://hackage.haskell.org/package/cabal-install-${pkgver}/cabal-install-${pkgver}.tar.gz")
-sha512sums=('1b8c31dee09332808bc727322e1e0ca6aaa8c818c5172f412a9d56e8474c93cc814cab6d0cb776a5d0bb94155c023a098872fb91329ff6377278f891f06686f2')
+sha512sums=('caf49ec35d5665164b76db3a6219c0409243fb80fd7a740a91933732fbb26fc3efef88ddc3d769a76d0f76811ea83a6a7effdab5ad8264da808d4469c9faf125')
-prepare() {
- cd $pkgname-$pkgver
- sed -i 's/<.*2.7/<3/' $pkgname.cabal
-}
-
build() {
- cd "${srcdir}/$pkgname-$pkgver"
+ cd $pkgname-$pkgver
runhaskell Setup configure -O --prefix=/usr --enable-executable-dynamic --disable-library-vanilla \
- --docdir="/usr/share/doc/${pkgname}" --enable-tests \
- -fnetwork-uri -fnative-dns -f-debug-expensive-assertions -f-debug-conflict-sets \
- -f-debug-tracetree -f-monolithic -f-lib
+ --docdir="/usr/share/doc/${pkgname}"
runhaskell Setup build
}
-check() {
+package() {
cd $pkgname-$pkgver
- runhaskell Setup test || warning "TODO: pass -dynamic somewhere"
-}
-
-package() {
- cd "${srcdir}/$pkgname-$pkgver"
runhaskell Setup copy --destdir="${pkgdir}"
install -Dm644 LICENSE \
More information about the arch-commits
mailing list