Date: Wednesday, August 5, 2020 @ 10:25:17 Author: felixonmars Revision: 669302
archrelease: copy trunk to community-staging-x86_64 Added: haskell-persistent/repos/community-staging-x86_64/PKGBUILD (from rev 669301, haskell-persistent/trunk/PKGBUILD) Deleted: haskell-persistent/repos/community-staging-x86_64/PKGBUILD ----------+ PKGBUILD | 96 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 48 insertions(+), 48 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-08-05 10:25:04 UTC (rev 669301) +++ PKGBUILD 2020-08-05 10:25:17 UTC (rev 669302) @@ -1,48 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> -# Contributor: Arch Haskell Team <arch-hask...@haskell.org> - -_hkgname=persistent -pkgname=haskell-persistent -pkgver=2.10.5.2 -pkgrel=60 -pkgdesc="Type-safe, multi-backend data serialization" -url="http://www.yesodweb.com/book/persistent" -license=("MIT") -arch=('x86_64') -depends=('ghc-libs' 'haskell-aeson' 'haskell-attoparsec' 'haskell-base64-bytestring' - 'haskell-blaze-html' 'haskell-conduit' 'haskell-fast-logger' 'haskell-http-api-data' - 'haskell-monad-logger' 'haskell-path-pieces' 'haskell-resource-pool' 'haskell-resourcet' - 'haskell-scientific' 'haskell-silently' 'haskell-unordered-containers' - 'haskell-unliftio' 'haskell-unliftio-core' 'haskell-vector') -makedepends=('ghc' 'haskell-hspec') -source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz") -sha512sums=('5d7fe9259d89ab210bd136d9f9b0f3e52d48825a003cc02dfb01f50457324daf2c8659b9123cc0e958b636613fa61004f649f97980c6a5427d425656ceb166f1') - -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 \ - -f-nooverlap - 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 -} - -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-persistent/repos/community-staging-x86_64/PKGBUILD (from rev 669301, haskell-persistent/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-08-05 10:25:17 UTC (rev 669302) @@ -0,0 +1,48 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Arch Haskell Team <arch-hask...@haskell.org> + +_hkgname=persistent +pkgname=haskell-persistent +pkgver=2.10.5.2 +pkgrel=61 +pkgdesc="Type-safe, multi-backend data serialization" +url="http://www.yesodweb.com/book/persistent" +license=("MIT") +arch=('x86_64') +depends=('ghc-libs' 'haskell-aeson' 'haskell-attoparsec' 'haskell-base64-bytestring' + 'haskell-blaze-html' 'haskell-conduit' 'haskell-fast-logger' 'haskell-http-api-data' + 'haskell-monad-logger' 'haskell-path-pieces' 'haskell-resource-pool' 'haskell-resourcet' + 'haskell-scientific' 'haskell-silently' 'haskell-unordered-containers' + 'haskell-unliftio' 'haskell-unliftio-core' 'haskell-vector') +makedepends=('ghc' 'haskell-hspec') +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz") +sha512sums=('5d7fe9259d89ab210bd136d9f9b0f3e52d48825a003cc02dfb01f50457324daf2c8659b9123cc0e958b636613fa61004f649f97980c6a5427d425656ceb166f1') + +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 \ + -f-nooverlap + 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 +} + +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 +}