summaryrefslogtreecommitdiff
path: root/extra/cabal-install/PKGBUILD
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2012-04-19 11:44:15 +0200
committerMichał Masłowski <mtjm@mtjm.eu>2012-04-19 11:44:15 +0200
commitf97d206e9152e1d29ad8fb9f2ea2aee95f1da625 (patch)
treeaf56a7953cb3e5e4619535b1509b85fec5408505 /extra/cabal-install/PKGBUILD
parent32ead4093d89e260920e5bb604e7eeeeff26e725 (diff)
parent85ca6bfccdec6939881572fb1154f1a07d54937c (diff)
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts: core/openssl/PKGBUILD testing/at-spi2-core/PKGBUILD testing/brasero/PKGBUILD testing/brasero/brasero.install testing/cheese/PKGBUILD testing/cheese/cheese.install testing/clutter/PKGBUILD testing/eog/PKGBUILD testing/gdm/PKGBUILD testing/gdm/gdm-autologin.pam testing/gdm/gdm-fingerprint.pam testing/gdm/gdm-password.pam testing/gdm/gdm-smartcard.pam testing/gedit/PKGBUILD testing/gedit/gedit.install testing/glib-networking/PKGBUILD testing/glib-networking/glib-networking.install testing/gnome-online-accounts/PKGBUILD testing/gnome-screenshot/PKGBUILD testing/gnome-system-log/PKGBUILD testing/gnome-system-monitor/PKGBUILD testing/gnome-system-monitor/gnome-system-monitor.install testing/gobject-introspection/PKGBUILD testing/gucharmap/PKGBUILD testing/gucharmap/gucharmap.install testing/libsoup/PKGBUILD testing/nautilus/PKGBUILD testing/nautilus/nautilus.install testing/tomboy/PKGBUILD testing/tomboy/tomboy.install testing/vinagre/PKGBUILD testing/vinagre/vinagre.install testing/vino/PKGBUILD testing/vino/vino.install
Diffstat (limited to 'extra/cabal-install/PKGBUILD')
-rw-r--r--extra/cabal-install/PKGBUILD20
1 files changed, 11 insertions, 9 deletions
diff --git a/extra/cabal-install/PKGBUILD b/extra/cabal-install/PKGBUILD
index 01aeeea8e..0dc8c8e87 100644
--- a/extra/cabal-install/PKGBUILD
+++ b/extra/cabal-install/PKGBUILD
@@ -3,29 +3,31 @@
# Contributor: Arch Haskell Team <arch-haskell@haskell.org>
pkgname=cabal-install
-pkgver=0.10.4
-pkgrel=3
+pkgver=0.14.0
+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' 'mips64el')
makedepends=('haskell-http=4000.2.2-1' 'haskell-zlib=0.5.3.3-3' 'haskell-mtl=2.0.1.0-4' 'haskell-network=2.3.0.11-1' 'haskell-random=1.0.1.1-1')
depends=('ghc' 'gmp' 'zlib')
-#source=(http://hackage.haskell.org/packages/archive/cabal-install/$pkgver/cabal-install-$pkgver.tar.gz)
-# switch back to regular cabal-install once it gets updated...
-source=("http://hackage.haskell.org/packages/archive/cabal-install-ghc74/${pkgver}/cabal-install-ghc74-${pkgver}.tar.gz")
-md5sums=('49b3301cc80775ebf19fe9d949f15df5')
+source=(http://hackage.haskell.org/packages/archive/cabal-install/$pkgver/cabal-install-$pkgver.tar.gz)
+md5sums=('638514bd1a5792d75866481852148ae5')
build() {
- cd cabal-install-ghc74-${pkgver}
+ cd cabal-install-${pkgver}
runhaskell Setup configure --enable-shared --enable-split-objs --enable-executable-stripping --prefix=/usr
runhaskell Setup build
}
package() {
- cd cabal-install-ghc74-${pkgver}
+ cd cabal-install-${pkgver}
runhaskell Setup copy --destdir=$pkgdir
- #install -D -m644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
+
+ # rm license installed to wrong location
+ rm -rf ${pkgdir}/usr/share/doc
+
+ install -D -m644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
# add bash completion
install -d ${pkgdir}/usr/share/bash-completion/completions