Date: Tuesday, November 13, 2012 @ 01:10:34 Author: tdziedzic Revision: 170926
archrelease: copy trunk to testing-i686, testing-x86_64 Added: cabal-install/repos/testing-i686/ cabal-install/repos/testing-i686/PKGBUILD (from rev 170925, cabal-install/trunk/PKGBUILD) cabal-install/repos/testing-x86_64/ cabal-install/repos/testing-x86_64/PKGBUILD (from rev 170925, cabal-install/trunk/PKGBUILD) -------------------------+ testing-i686/PKGBUILD | 43 +++++++++++++++++++++++++++++++++++++++++++ testing-x86_64/PKGBUILD | 43 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 86 insertions(+) Copied: cabal-install/repos/testing-i686/PKGBUILD (from rev 170925, cabal-install/trunk/PKGBUILD) =================================================================== --- testing-i686/PKGBUILD (rev 0) +++ testing-i686/PKGBUILD 2012-11-13 06:10:34 UTC (rev 170926) @@ -0,0 +1,43 @@ +# Maintainer: Thomas Dziedzic <gos...@gmail.com> +# Maintainer: Vesa Kaihlavirta <v...@archlinux.org> +# Contributor: Arch Haskell Team <arch-hask...@haskell.org> + +pkgname=cabal-install +pkgver=1.16.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.4-1' 'haskell-zlib=0.5.3.3-5' 'haskell-mtl=2.1.2-1' 'haskell-network=2.3.1.0-1' 'haskell-random=1.0.1.1-3') +depends=('ghc' 'gmp' 'zlib') +source=("http://hackage.haskell.org/packages/archive/cabal-install/${pkgver}/cabal-install-${pkgver}.tar.gz") +md5sums=('18e07d5b431d19d94cc5279a5e6fbfee') + +build() { + cd cabal-install-${pkgver} + + runhaskell Setup configure \ + --enable-shared \ + --enable-split-objs \ + --enable-executable-stripping \ + --prefix=/usr + + runhaskell Setup build +} + +package() { + cd cabal-install-${pkgver} + + runhaskell Setup copy --destdir=$pkgdir + + # 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 + install -m644 bash-completion/cabal \ + ${pkgdir}/usr/share/bash-completion/completions +} Copied: cabal-install/repos/testing-x86_64/PKGBUILD (from rev 170925, cabal-install/trunk/PKGBUILD) =================================================================== --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2012-11-13 06:10:34 UTC (rev 170926) @@ -0,0 +1,43 @@ +# Maintainer: Thomas Dziedzic <gos...@gmail.com> +# Maintainer: Vesa Kaihlavirta <v...@archlinux.org> +# Contributor: Arch Haskell Team <arch-hask...@haskell.org> + +pkgname=cabal-install +pkgver=1.16.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.4-1' 'haskell-zlib=0.5.3.3-5' 'haskell-mtl=2.1.2-1' 'haskell-network=2.3.1.0-1' 'haskell-random=1.0.1.1-3') +depends=('ghc' 'gmp' 'zlib') +source=("http://hackage.haskell.org/packages/archive/cabal-install/${pkgver}/cabal-install-${pkgver}.tar.gz") +md5sums=('18e07d5b431d19d94cc5279a5e6fbfee') + +build() { + cd cabal-install-${pkgver} + + runhaskell Setup configure \ + --enable-shared \ + --enable-split-objs \ + --enable-executable-stripping \ + --prefix=/usr + + runhaskell Setup build +} + +package() { + cd cabal-install-${pkgver} + + runhaskell Setup copy --destdir=$pkgdir + + # 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 + install -m644 bash-completion/cabal \ + ${pkgdir}/usr/share/bash-completion/completions +}