Date: Thursday, February 27, 2020 @ 12:05:09 Author: felixonmars Revision: 583956
archrelease: copy trunk to community-staging-x86_64 Added: haskell-tasty-quickcheck/repos/community-staging-x86_64/PKGBUILD (from rev 583955, haskell-tasty-quickcheck/trunk/PKGBUILD) Deleted: haskell-tasty-quickcheck/repos/community-staging-x86_64/PKGBUILD ----------+ PKGBUILD | 88 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 44 insertions(+), 44 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-02-27 12:04:51 UTC (rev 583955) +++ PKGBUILD 2020-02-27 12:05:09 UTC (rev 583956) @@ -1,44 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> -# Contributor: Arch Haskell Team <arch-hask...@haskell.org> - -_hkgname=tasty-quickcheck -pkgname=haskell-tasty-quickcheck -pkgver=0.10.1.1 -pkgrel=9 -pkgdesc="QuickCheck support for the Tasty test framework." -url="http://documentup.com/feuerbach/tasty" -license=("MIT") -arch=('x86_64') -depends=('ghc-libs' 'haskell-optparse-applicative' 'haskell-quickcheck' 'haskell-random' - 'haskell-tagged' 'haskell-tasty') -makedepends=('ghc' 'haskell-tasty-hunit' 'haskell-pcre-light') -source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz") -sha512sums=('13cfcc99eb9988d4842327d96f0e58f5ba6c653d3027a4adb307d4101bc2f7deee0033197b4358a837ace0d03423bdafe2197b029da6a64d8b650ee2f5bd958d') - -build() { - cd $_hkgname-$pkgver - - runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ - --prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ - --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 -} - -check() { - cd $_hkgname-$pkgver - runhaskell Setup test -} - -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-quickcheck/repos/community-staging-x86_64/PKGBUILD (from rev 583955, haskell-tasty-quickcheck/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-02-27 12:05:09 UTC (rev 583956) @@ -0,0 +1,44 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Arch Haskell Team <arch-hask...@haskell.org> + +_hkgname=tasty-quickcheck +pkgname=haskell-tasty-quickcheck +pkgver=0.10.1.1 +pkgrel=10 +pkgdesc="QuickCheck support for the Tasty test framework." +url="http://documentup.com/feuerbach/tasty" +license=("MIT") +arch=('x86_64') +depends=('ghc-libs' 'haskell-optparse-applicative' 'haskell-quickcheck' 'haskell-random' + 'haskell-tagged' 'haskell-tasty') +makedepends=('ghc' 'haskell-tasty-hunit' 'haskell-pcre-light') +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz") +sha512sums=('13cfcc99eb9988d4842327d96f0e58f5ba6c653d3027a4adb307d4101bc2f7deee0033197b4358a837ace0d03423bdafe2197b029da6a64d8b650ee2f5bd958d') + +build() { + cd $_hkgname-$pkgver + + runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ + --prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ + --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 +} + +check() { + cd $_hkgname-$pkgver + runhaskell Setup test +} + +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 +}