Date: Thursday, March 24, 2022 @ 16:50:53 Author: felixonmars Revision: 1174832
archrelease: copy trunk to community-x86_64 Added: hoogle/repos/community-x86_64/PKGBUILD (from rev 1174830, hoogle/trunk/PKGBUILD) Deleted: hoogle/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 90 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 45 insertions(+), 45 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-03-24 16:50:53 UTC (rev 1174831) +++ PKGBUILD 2022-03-24 16:50:53 UTC (rev 1174832) @@ -1,45 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> -# Contributor: Arch Haskell Team <arch-hask...@haskell.org> - -pkgname=hoogle -pkgver=5.0.18.2 -pkgrel=104 -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=('933564b12ffc95a89610e00fc8c7b35c90ce45a732a3812b58a9173c821dcec2e44a6625fa9b8b369706ea5d6e823c075ad3266664ed6649a057356d22f824df') - -build() { - cd $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=-fllvm \ - --ghc-option='-pie' - runhaskell Setup build $MAKEFLAGS - 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 $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 1174830, hoogle/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-03-24 16:50:53 UTC (rev 1174832) @@ -0,0 +1,45 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Arch Haskell Team <arch-hask...@haskell.org> + +pkgname=hoogle +pkgver=5.0.18.3 +pkgrel=1 +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=('9e1f736411390c2807b46a555962b6346e8ce3b7cb2bb61ef38142992b02f2fcf636e4bc796d7bb582834810191a2f296b094cfc9630ab3ab170949c5aab1d23') + +build() { + cd $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=-fllvm \ + --ghc-option='-pie' + runhaskell Setup build $MAKEFLAGS + 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 $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 +}