Date: Friday, March 18, 2016 @ 10:10:01 Author: fyan Revision: 167373
archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: cabal-install/repos/community-staging-i686/ cabal-install/repos/community-staging-i686/PKGBUILD (from rev 167372, cabal-install/trunk/PKGBUILD) cabal-install/repos/community-staging-x86_64/ cabal-install/repos/community-staging-x86_64/PKGBUILD (from rev 167372, cabal-install/trunk/PKGBUILD) -----------------------------------+ community-staging-i686/PKGBUILD | 37 ++++++++++++++++++++++++++++++++++++ community-staging-x86_64/PKGBUILD | 37 ++++++++++++++++++++++++++++++++++++ 2 files changed, 74 insertions(+) Copied: cabal-install/repos/community-staging-i686/PKGBUILD (from rev 167372, cabal-install/trunk/PKGBUILD) =================================================================== --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2016-03-18 09:10:01 UTC (rev 167373) @@ -0,0 +1,37 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Thomas Dziedzic <gos...@gmail.com> +# Contributor: Vesa Kaihlavirta <v...@archlinux.org> +# Contributor: Arch Haskell Team <arch-hask...@haskell.org> + +pkgname=cabal-install +pkgver=1.22.9.0 +pkgrel=2 +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=('gmp' 'zlib' 'libffi') +makedepends=("ghc=7.10.3" "haskell-http" "haskell-mtl" "haskell-network" "haskell-network-uri" + "haskell-random" "haskell-stm" "haskell-zlib") +source=("https://hackage.haskell.org/package/cabal-install-${pkgver}/cabal-install-${pkgver}.tar.gz") +md5sums=('460995d67a9dc65f04bd2a68eaccf6a5') + +build() { + cd "${srcdir}/$pkgname-$pkgver" + + runhaskell Setup configure -O --prefix=/usr --docdir="/usr/share/doc/${pkgname}" \ + -fnetwork-uri -f-old-directory + runhaskell Setup build +} + +package() { + cd "${srcdir}/$pkgname-$pkgver" + runhaskell Setup copy --destdir="${pkgdir}" + + install -Dm644 LICENSE \ + "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + + install -Dm644 bash-completion/cabal \ + "${pkgdir}/usr/share/bash-completion/completions/cabal" +} Copied: cabal-install/repos/community-staging-x86_64/PKGBUILD (from rev 167372, cabal-install/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2016-03-18 09:10:01 UTC (rev 167373) @@ -0,0 +1,37 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Thomas Dziedzic <gos...@gmail.com> +# Contributor: Vesa Kaihlavirta <v...@archlinux.org> +# Contributor: Arch Haskell Team <arch-hask...@haskell.org> + +pkgname=cabal-install +pkgver=1.22.9.0 +pkgrel=2 +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=('gmp' 'zlib' 'libffi') +makedepends=("ghc=7.10.3" "haskell-http" "haskell-mtl" "haskell-network" "haskell-network-uri" + "haskell-random" "haskell-stm" "haskell-zlib") +source=("https://hackage.haskell.org/package/cabal-install-${pkgver}/cabal-install-${pkgver}.tar.gz") +md5sums=('460995d67a9dc65f04bd2a68eaccf6a5') + +build() { + cd "${srcdir}/$pkgname-$pkgver" + + runhaskell Setup configure -O --prefix=/usr --docdir="/usr/share/doc/${pkgname}" \ + -fnetwork-uri -f-old-directory + runhaskell Setup build +} + +package() { + cd "${srcdir}/$pkgname-$pkgver" + runhaskell Setup copy --destdir="${pkgdir}" + + install -Dm644 LICENSE \ + "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + + install -Dm644 bash-completion/cabal \ + "${pkgdir}/usr/share/bash-completion/completions/cabal" +}