Date: Saturday, October 12, 2019 @ 13:53:54 Author: jelle Revision: 515233
archrelease: copy trunk to community-x86_64 Added: hoogle/repos/community-x86_64/PKGBUILD (from rev 515232, hoogle/trunk/PKGBUILD) Deleted: hoogle/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 89 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 45 insertions(+), 44 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2019-10-12 13:53:42 UTC (rev 515232) +++ PKGBUILD 2019-10-12 13:53:54 UTC (rev 515233) @@ -1,44 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> -# Contributor: Arch Haskell Team <arch-hask...@haskell.org> - -pkgname=hoogle -pkgver=5.0.17.11 -pkgrel=3 -pkgdesc="Haskell API Search" -url="https://www.haskell.org/hoogle/" -license=("BSD") -arch=('x86_64') -depends=('ghc-libs' 'haskell-quickcheck' 'haskell-aeson' 'haskell-blaze-html' - 'haskell-blaze-markup' 'haskell-cmdargs' 'haskell-conduit' 'haskell-conduit-extra' - 'haskell-connection' 'haskell-extra' 'haskell-foundation' 'haskell-hashable' - 'haskell-http-conduit' 'haskell-http-types' 'haskell-js-flot' 'haskell-js-jquery' - 'haskell-mmap' 'haskell-network' 'haskell-old-locale' 'haskell-process-extras' - 'haskell-resourcet' 'haskell-src-exts' 'haskell-storable-tuple' 'haskell-tar' - '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=('1bbb076b31a3289d0578741044d2747fca1b530b3f828922375379b4618de42cf4b0708eb022db841bbf91528da11183465895a2ac0378da2f7a8c3512a95b8d') - -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-x86_64/PKGBUILD (from rev 515232, hoogle/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-10-12 13:53:54 UTC (rev 515233) @@ -0,0 +1,45 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Arch Haskell Team <arch-hask...@haskell.org> + +pkgname=hoogle +pkgver=5.0.17.11 +pkgrel=4 +pkgdesc="Haskell API Search" +url="https://www.haskell.org/hoogle/" +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-quickcheck' 'haskell-aeson' 'haskell-blaze-html' + 'haskell-blaze-markup' 'haskell-cmdargs' 'haskell-conduit' 'haskell-conduit-extra' + 'haskell-connection' 'haskell-extra' 'haskell-foundation' 'haskell-hashable' + 'haskell-http-conduit' 'haskell-http-types' 'haskell-js-flot' 'haskell-js-jquery' + 'haskell-mmap' 'haskell-network' 'haskell-old-locale' 'haskell-process-extras' + 'haskell-resourcet' 'haskell-src-exts' 'haskell-storable-tuple' 'haskell-tar' + '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=('1bbb076b31a3289d0578741044d2747fca1b530b3f828922375379b4618de42cf4b0708eb022db841bbf91528da11183465895a2ac0378da2f7a8c3512a95b8d') + +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 \ + --ghc-option='-pie' + 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" +}