Date: Wednesday, November 29, 2017 @ 13:24:26 Author: felixonmars Revision: 270682
archrelease: copy trunk to community-testing-x86_64 Added: hoogle/repos/community-testing-x86_64/PKGBUILD (from rev 270681, hoogle/trunk/PKGBUILD) Deleted: hoogle/repos/community-testing-x86_64/PKGBUILD ----------+ PKGBUILD | 89 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 45 insertions(+), 44 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2017-11-29 13:24:06 UTC (rev 270681) +++ PKGBUILD 2017-11-29 13:24:26 UTC (rev 270682) @@ -1,44 +0,0 @@ -# $Id$ -# Maintainer: Felix Yan <felixonm...@archlinux.org> -# Contributor: Arch Haskell Team <arch-hask...@haskell.org> - -pkgname=hoogle -pkgver=5.0.13 -pkgrel=31 -pkgdesc="Haskell API Search" -url="http://www.haskell.org/hoogle/" -license=("custom:BSD3") -arch=('x86_64') -depends=('ghc-libs' "haskell-quickcheck" "haskell-aeson" "haskell-cmdargs" "haskell-conduit" - "haskell-conduit-extra" "haskell-connection" "haskell-extra" "haskell-src-exts" - "haskell-http-conduit" "haskell-http-types" "haskell-js-flot" "haskell-js-jquery" - "haskell-mmap" "haskell-network" "haskell-network-uri" "haskell-old-locale" - "haskell-process-extras" "haskell-resourcet" "haskell-tar" "haskell-text" - "haskell-uniplate" "haskell-utf8-string" "haskell-vector" "haskell-wai" - "haskell-wai-logger" "haskell-warp" "haskell-warp-tls" "haskell-zlib") -makedepends=('ghc') -source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz") -sha512sums=('9b5925b39b19000f312a700bf46a157efd028d2f2748ac03efe1b703659a40535dd7259dfa212d534e20358c00143df59b8e6198bfa064847559bec0c64d41b0') - -build() { - cd "${srcdir}/${pkgname}-${pkgver}" - - runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ - --prefix=/usr --docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" \ - --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid - runhaskell Setup build - runhaskell Setup register --gen-script - runhaskell Setup unregister --gen-script - sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh - sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh -} - -package() { - cd "${srcdir}/${pkgname}-${pkgver}" - - install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh" - install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" - runhaskell Setup copy --destdir="${pkgdir}" - install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" - rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" -} Copied: hoogle/repos/community-testing-x86_64/PKGBUILD (from rev 270681, hoogle/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2017-11-29 13:24:26 UTC (rev 270682) @@ -0,0 +1,45 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Arch Haskell Team <arch-hask...@haskell.org> + +pkgname=hoogle +pkgver=5.0.14 +pkgrel=1 +pkgdesc="Haskell API Search" +url="http://www.haskell.org/hoogle/" +license=("custom:BSD3") +arch=('x86_64') +depends=('ghc-libs' 'haskell-quickcheck' 'haskell-aeson' 'haskell-cmdargs' 'haskell-conduit' + 'haskell-conduit-extra' 'haskell-connection' 'haskell-extra' 'haskell-src-exts' + 'haskell-http-conduit' 'haskell-http-types' 'haskell-js-flot' 'haskell-js-jquery' + 'haskell-mmap' 'haskell-network' 'haskell-network-uri' 'haskell-old-locale' + 'haskell-process-extras' 'haskell-resourcet' 'haskell-storable-tuple' 'haskell-tar' + 'haskell-text' 'haskell-uniplate' 'haskell-utf8-string' 'haskell-vector' 'haskell-wai' + 'haskell-wai-logger' 'haskell-warp' 'haskell-warp-tls' 'haskell-zlib') +makedepends=('ghc') +source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz") +sha512sums=('f6a9743277d8937d279bbb924999e91679c2fbbaa643f0f60d5329f9bbc12020aa3a6c31b664105687667277b9786427ce9bc0d2b25dcf0bc9c9a1fec821de33') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + + runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ + --prefix=/usr --docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" \ + --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ + -fnetwork-uri + runhaskell Setup build + runhaskell Setup register --gen-script + runhaskell Setup unregister --gen-script + sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh + sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + + install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh" + install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" + runhaskell Setup copy --destdir="${pkgdir}" + install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}