[arch-commits] Commit in cabal-install/trunk (PKGBUILD)
Vesa Kaihlavirta
vesa at nymeria.archlinux.org
Sat Feb 15 15:19:07 UTC 2014
Date: Saturday, February 15, 2014 @ 16:19:07
Author: vesa
Revision: 206009
Update to 1.18.0.2, use bootstrap.sh and drop all redundant deps
Modified:
cabal-install/trunk/PKGBUILD
----------+
PKGBUILD | 25 ++++++++-----------------
1 file changed, 8 insertions(+), 17 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2014-02-15 15:11:11 UTC (rev 206008)
+++ PKGBUILD 2014-02-15 15:19:07 UTC (rev 206009)
@@ -3,37 +3,28 @@
# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
pkgname=cabal-install
-pkgver=1.16.0.2
-pkgrel=3
+pkgver=1.18.0.2
+pkgrel=1
pkgdesc="The command-line interface for Cabal and Hackage."
url="http://hackage.haskell.org/package/cabal-install"
license=('custom:BSD3')
arch=('i686' 'x86_64')
-makedepends=('haskell-http=4000.2.8-1' 'haskell-zlib=0.5.4.1-1' 'haskell-mtl=2.1.2-3' 'haskell-network=2.4.1.2-1' 'haskell-random=1.0.1.1-5')
-depends=('ghc' 'gmp' 'zlib')
+#depends=('ghc' 'gmp' 'zlib')
+makedepends=('ghc')
+depends=('gmp' 'zlib')
source=("http://hackage.haskell.org/packages/archive/cabal-install/${pkgver}/cabal-install-${pkgver}.tar.gz")
-md5sums=('18e07d5b431d19d94cc5279a5e6fbfee')
+md5sums=('e7e46406d43539616388aeafa01c689d')
build() {
cd cabal-install-${pkgver}
- runhaskell Setup configure \
- --enable-shared \
- --enable-split-objs \
- --enable-executable-stripping \
- --prefix=/usr
-
- runhaskell Setup build
+ sh bootstrap.sh --user
}
package() {
cd cabal-install-${pkgver}
- runhaskell Setup copy --destdir=$pkgdir
-
- # rm license installed to wrong location
- rm -rf ${pkgdir}/usr/share/doc
-
+ install -D -m755 /build/.cabal/bin/cabal $pkgdir/usr/bin/cabal
install -D -m644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
# add bash completion
More information about the arch-commits
mailing list