Date: Monday, September 5, 2022 @ 20:35:41 Author: felixonmars Revision: 1293278
archrelease: copy trunk to community-staging-x86_64 Added: haskell-tasty/repos/community-staging-x86_64/PKGBUILD (from rev 1293277, haskell-tasty/trunk/PKGBUILD) Deleted: haskell-tasty/repos/community-staging-x86_64/PKGBUILD ----------+ PKGBUILD | 80 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 40 insertions(+), 40 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-09-05 20:35:26 UTC (rev 1293277) +++ PKGBUILD 2022-09-05 20:35:41 UTC (rev 1293278) @@ -1,40 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> -# Contributor: Arch Haskell Team <arch-hask...@haskell.org> - -_hkgname=tasty -pkgname=haskell-tasty -pkgver=1.4.2.3 -pkgrel=17 -pkgdesc="Modern and extensible testing framework" -url="http://documentup.com/UnkindPartition/tasty" -license=("MIT") -arch=('x86_64') -depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-clock' 'haskell-optparse-applicative' - 'haskell-tagged' 'haskell-unbounded-delays' 'haskell-wcwidth') -makedepends=('ghc') -source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz") -sha512sums=('c5f03406e4a7b0c8ff98de285cc778a7751c535d62bb69da962f78ad4eadaf76a74d3bd2c81b1c7553b5de4a527be964c568a8311929a0dce44389c3fcaf521e') - -build() { - cd $_hkgname-$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 \ - -fclock - 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 $_hkgname-$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: haskell-tasty/repos/community-staging-x86_64/PKGBUILD (from rev 1293277, haskell-tasty/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-09-05 20:35:41 UTC (rev 1293278) @@ -0,0 +1,40 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Arch Haskell Team <arch-hask...@haskell.org> + +_hkgname=tasty +pkgname=haskell-tasty +pkgver=1.4.2.3 +pkgrel=18 +pkgdesc="Modern and extensible testing framework" +url="http://documentup.com/UnkindPartition/tasty" +license=("MIT") +arch=('x86_64') +depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-clock' 'haskell-optparse-applicative' + 'haskell-tagged' 'haskell-unbounded-delays' 'haskell-wcwidth') +makedepends=('ghc') +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz") +sha512sums=('c5f03406e4a7b0c8ff98de285cc778a7751c535d62bb69da962f78ad4eadaf76a74d3bd2c81b1c7553b5de4a527be964c568a8311929a0dce44389c3fcaf521e') + +build() { + cd $_hkgname-$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 \ + -fclock + 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 $_hkgname-$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 +}