Date: Sunday, May 20, 2018 @ 08:10:16 Author: felixonmars Revision: 325200
archrelease: copy trunk to community-staging-x86_64 Added: cabal-install/repos/community-staging-x86_64/PKGBUILD (from rev 325199, cabal-install/trunk/PKGBUILD) Deleted: cabal-install/repos/community-staging-x86_64/PKGBUILD ----------+ PKGBUILD | 94 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 47 insertions(+), 47 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2018-05-20 08:09:53 UTC (rev 325199) +++ PKGBUILD 2018-05-20 08:10:16 UTC (rev 325200) @@ -1,47 +0,0 @@ -# $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.2.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=('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-network' 'haskell-network-uri' 'haskell-random' 'haskell-resolv' - 'haskell-tar' 'haskell-zlib') -makedepends=('ghc' 'haskell-pretty-show' 'haskell-quickcheck' 'haskell-tagged' 'haskell-tasty' - 'haskell-tasty-hunit' 'haskell-tasty-quickcheck') -source=("https://hackage.haskell.org/package/cabal-install-${pkgver}/cabal-install-${pkgver}.tar.gz") -sha512sums=('1b8c31dee09332808bc727322e1e0ca6aaa8c818c5172f412a9d56e8474c93cc814cab6d0cb776a5d0bb94155c023a098872fb91329ff6377278f891f06686f2') - -build() { - cd "${srcdir}/$pkgname-$pkgver" - - runhaskell Setup configure -O --prefix=/usr --enable-executable-dynamic --disable-library-vanilla \ - --docdir="/usr/share/doc/${pkgname}" --enable-tests \ - -fnetwork-uri -fnative-dns -f-debug-expensive-assertions -f-debug-conflict-sets \ - -f-debug-tracetree -f-monolithic -f-lib - runhaskell Setup build -} - -check() { - cd $pkgname-$pkgver - runhaskell Setup test || warning "TODO: pass -dynamic somewhere" -} - -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 325199, cabal-install/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2018-05-20 08:10:16 UTC (rev 325200) @@ -0,0 +1,47 @@ +# $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.2.0.0 +pkgrel=2 +pkgdesc="The command-line interface for Cabal and Hackage." +url="https://hackage.haskell.org/package/cabal-install" +license=('custom:BSD3') +arch=('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-network' 'haskell-network-uri' 'haskell-random' 'haskell-resolv' + 'haskell-tar' 'haskell-zlib') +makedepends=('ghc' 'haskell-pretty-show' 'haskell-quickcheck' 'haskell-tagged' 'haskell-tasty' + 'haskell-tasty-hunit' 'haskell-tasty-quickcheck') +source=("https://hackage.haskell.org/package/cabal-install-${pkgver}/cabal-install-${pkgver}.tar.gz") +sha512sums=('1b8c31dee09332808bc727322e1e0ca6aaa8c818c5172f412a9d56e8474c93cc814cab6d0cb776a5d0bb94155c023a098872fb91329ff6377278f891f06686f2') + +build() { + cd "${srcdir}/$pkgname-$pkgver" + + runhaskell Setup configure -O --prefix=/usr --enable-executable-dynamic --disable-library-vanilla \ + --docdir="/usr/share/doc/${pkgname}" --enable-tests \ + -fnetwork-uri -fnative-dns -f-debug-expensive-assertions -f-debug-conflict-sets \ + -f-debug-tracetree -f-monolithic -f-lib + runhaskell Setup build +} + +check() { + cd $pkgname-$pkgver + runhaskell Setup test || warning "TODO: pass -dynamic somewhere" +} + +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" +}