diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-05-05 04:02:14 +0000 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-05-05 04:02:14 +0000 |
commit | d7918d0226da2805ff09c48963d2c79e1327c630 (patch) | |
tree | 7899e81c92db3791af5dd17e05c3be10e8a9c007 /extra/cabal-install | |
parent | bc80cf7c2a23a9d9580f3db36652165fd307b598 (diff) |
Mon May 5 03:56:02 UTC 2014
Diffstat (limited to 'extra/cabal-install')
-rw-r--r-- | extra/cabal-install/PKGBUILD | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/extra/cabal-install/PKGBUILD b/extra/cabal-install/PKGBUILD index ae8403ea8..4683605f8 100644 --- a/extra/cabal-install/PKGBUILD +++ b/extra/cabal-install/PKGBUILD @@ -3,29 +3,34 @@ # Contributor: Arch Haskell Team <arch-haskell@haskell.org> pkgname=cabal-install -pkgver=1.18.0.2 -pkgrel=1 +pkgver=1.18.0.3 +pkgrel=3 pkgdesc="The command-line interface for Cabal and Hackage." url="http://hackage.haskell.org/package/cabal-install" license=('custom:BSD3') arch=('i686' 'x86_64') -#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=('e7e46406d43539616388aeafa01c689d') +md5sums=('f7823387c21b4969e64238f63bb25740') build() { + mkdir ${srcdir}/build + export PREFIX="${srcdir}/build" + cd cabal-install-${pkgver} sh bootstrap.sh --user } package() { + install -D -m755 ${srcdir}/build/bin/cabal ${pkgdir}/usr/bin/cabal + cd cabal-install-${pkgver} - install -D -m755 /build/.cabal/bin/cabal $pkgdir/usr/bin/cabal - install -D -m644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE + install -d ${pkgdir}/usr/share/licenses/${pkgname} + install -m644 LICENSE \ + ${pkgdir}/usr/share/licenses/${pkgname} # add bash completion install -d ${pkgdir}/usr/share/bash-completion/completions |