Date: Thursday, August 17, 2017 @ 06:33:08 Author: felixonmars Revision: 251566
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 251565, cabal-install/trunk/PKGBUILD) cabal-install/repos/community-staging-x86_64/ cabal-install/repos/community-staging-x86_64/PKGBUILD (from rev 251565, cabal-install/trunk/PKGBUILD) -----------------------------------+ community-staging-i686/PKGBUILD | 41 ++++++++++++++++++++++++++++++++++++ community-staging-x86_64/PKGBUILD | 41 ++++++++++++++++++++++++++++++++++++ 2 files changed, 82 insertions(+) Copied: cabal-install/repos/community-staging-i686/PKGBUILD (from rev 251565, cabal-install/trunk/PKGBUILD) =================================================================== --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2017-08-17 06:33:08 UTC (rev 251566) @@ -0,0 +1,41 @@ +# $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=2.0.0.0 +pkgrel=1 +pkgdesc="The command-line interface for Cabal and Hackage." +url="https://hackage.haskell.org/package/cabal-install" +license=('custom:BSD3') +arch=('i686' 'x86_64') +depends=('ghc-libs' "haskell-async" "haskell-base16-bytestring" "haskell-cryptohash-sha256" + "haskell-echo" "haskell-edit-distance" + "haskell-hackage-security" "haskell-hashable" "haskell-http" "haskell-mtl" + "haskell-network" "haskell-network-uri" "haskell-random" "haskell-stm" "haskell-tar" + "haskell-zlib") +makedepends=('ghc') +source=("https://hackage.haskell.org/package/cabal-install-${pkgver}/cabal-install-${pkgver}.tar.gz") +sha512sums=('4aac5f27d3d8650224bff5ae24e835d9b772596f3b455ef141bef77c831eebd252e1a17f19c3d534752aa03664273053f151fa3187bd7cd267eaab2a0e61b82d') + +build() { + cd "${srcdir}/$pkgname-$pkgver" + + runhaskell Setup configure -O --prefix=/usr --enable-executable-dynamic --docdir="/usr/share/doc/${pkgname}" \ + -fnetwork-uri -f-old-directory -f-old-bytestring -f-debug-expensive-assertions -f-debug-conflict-sets \ + -f-debug-tracetree -f-parsec -f-monolithic + 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 251565, cabal-install/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2017-08-17 06:33:08 UTC (rev 251566) @@ -0,0 +1,41 @@ +# $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=2.0.0.0 +pkgrel=1 +pkgdesc="The command-line interface for Cabal and Hackage." +url="https://hackage.haskell.org/package/cabal-install" +license=('custom:BSD3') +arch=('i686' 'x86_64') +depends=('ghc-libs' "haskell-async" "haskell-base16-bytestring" "haskell-cryptohash-sha256" + "haskell-echo" "haskell-edit-distance" + "haskell-hackage-security" "haskell-hashable" "haskell-http" "haskell-mtl" + "haskell-network" "haskell-network-uri" "haskell-random" "haskell-stm" "haskell-tar" + "haskell-zlib") +makedepends=('ghc') +source=("https://hackage.haskell.org/package/cabal-install-${pkgver}/cabal-install-${pkgver}.tar.gz") +sha512sums=('4aac5f27d3d8650224bff5ae24e835d9b772596f3b455ef141bef77c831eebd252e1a17f19c3d534752aa03664273053f151fa3187bd7cd267eaab2a0e61b82d') + +build() { + cd "${srcdir}/$pkgname-$pkgver" + + runhaskell Setup configure -O --prefix=/usr --enable-executable-dynamic --docdir="/usr/share/doc/${pkgname}" \ + -fnetwork-uri -f-old-directory -f-old-bytestring -f-debug-expensive-assertions -f-debug-conflict-sets \ + -f-debug-tracetree -f-parsec -f-monolithic + 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" +}