Date: Tuesday, January 6, 2015 @ 06:56:25 Author: td123 Revision: 228701
archrelease: copy trunk to testing-i686, testing-x86_64 Added: cabal-install/repos/testing-i686/ cabal-install/repos/testing-i686/PKGBUILD (from rev 228700, cabal-install/trunk/PKGBUILD) cabal-install/repos/testing-x86_64/ cabal-install/repos/testing-x86_64/PKGBUILD (from rev 228700, cabal-install/trunk/PKGBUILD) -------------------------+ testing-i686/PKGBUILD | 47 ++++++++++++++++++++++++++++++++++++++++++++++ testing-x86_64/PKGBUILD | 47 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 94 insertions(+) Copied: cabal-install/repos/testing-i686/PKGBUILD (from rev 228700, cabal-install/trunk/PKGBUILD) =================================================================== --- testing-i686/PKGBUILD (rev 0) +++ testing-i686/PKGBUILD 2015-01-06 05:56:25 UTC (rev 228701) @@ -0,0 +1,47 @@ +# 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.22.0.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') +makedepends=('ghc' 'cabal-install') +depends=('gmp' 'zlib') +source=("https://hackage.haskell.org/package/cabal-install-${pkgver}/cabal-install-${pkgver}.tar.gz") +md5sums=('917a6c1b459adfdf135ad466399f2959') + +# the bootstrap script was broken on several releases +# build with a cabal sandbox to avoid unnecessary patching & headaches +build() { + cd cabal-install-${pkgver} + + cabal update + + cabal sandbox init + + cabal install --only-dependencies + + cabal build +} + +package() { + cd cabal-install-${pkgver} + + install -d ${pkgdir}/usr/bin + install -m755 dist/build/cabal/cabal \ + ${pkgdir}/usr/bin + + + 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 + install -m644 bash-completion/cabal \ + ${pkgdir}/usr/share/bash-completion/completions +} Copied: cabal-install/repos/testing-x86_64/PKGBUILD (from rev 228700, cabal-install/trunk/PKGBUILD) =================================================================== --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2015-01-06 05:56:25 UTC (rev 228701) @@ -0,0 +1,47 @@ +# 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.22.0.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') +makedepends=('ghc' 'cabal-install') +depends=('gmp' 'zlib') +source=("https://hackage.haskell.org/package/cabal-install-${pkgver}/cabal-install-${pkgver}.tar.gz") +md5sums=('917a6c1b459adfdf135ad466399f2959') + +# the bootstrap script was broken on several releases +# build with a cabal sandbox to avoid unnecessary patching & headaches +build() { + cd cabal-install-${pkgver} + + cabal update + + cabal sandbox init + + cabal install --only-dependencies + + cabal build +} + +package() { + cd cabal-install-${pkgver} + + install -d ${pkgdir}/usr/bin + install -m755 dist/build/cabal/cabal \ + ${pkgdir}/usr/bin + + + 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 + install -m644 bash-completion/cabal \ + ${pkgdir}/usr/share/bash-completion/completions +}