Date: Thursday, February 17, 2022 @ 01:36:24 Author: felixonmars Revision: 1133635
archrelease: copy trunk to community-x86_64 Added: haskell-store/repos/community-x86_64/PKGBUILD (from rev 1133634, haskell-store/trunk/PKGBUILD) Deleted: haskell-store/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 100 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 50 insertions(+), 50 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-02-17 01:36:10 UTC (rev 1133634) +++ PKGBUILD 2022-02-17 01:36:24 UTC (rev 1133635) @@ -1,50 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -_hkgname=store -pkgname=haskell-store -pkgver=0.7.12 -pkgrel=45 -pkgdesc="Fast binary serialization" -url="https://github.com/mgsloan/store" -license=('BSD') -arch=('x86_64') -depends=('ghc-libs' 'haskell-async' 'haskell-base-orphans' 'haskell-base64-bytestring' - 'haskell-contravariant' 'haskell-cryptohash' 'haskell-free' - 'haskell-hashable' 'haskell-hspec' 'haskell-hspec-smallcheck' 'haskell-lifted-base' - 'haskell-monad-control' 'haskell-mono-traversable' 'haskell-network' 'haskell-primitive' - 'haskell-resourcet' 'haskell-safe' 'haskell-smallcheck' - 'haskell-store-core' 'haskell-syb' 'haskell-th-lift' 'haskell-th-lift-instances' - 'haskell-th-orphans' 'haskell-th-reify-many' 'haskell-th-utilities' - 'haskell-unordered-containers' 'haskell-vector' 'haskell-void') -makedepends=('ghc' 'uusi') -source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz") -sha512sums=('995b6f3f38ff2b5c3c14e2ce923664f1446deed158f19ad0496bb3db31af1c6c10e6fa5b944b0a0f0a01f3e4b0821df3924884fa422f26cb4aca8ce9454583ba') - -prepare() { - cd $_hkgname-$pkgver - uusi -d nats $_hkgname.cabal -} - -build() { - cd $_hkgname-$pkgver - - runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ - --prefix=/usr --docdir=/usr/share/doc/$pkgname \ - --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ - -f-comparison-bench -f-small-bench - 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-store/repos/community-x86_64/PKGBUILD (from rev 1133634, haskell-store/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-02-17 01:36:24 UTC (rev 1133635) @@ -0,0 +1,50 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +_hkgname=store +pkgname=haskell-store +pkgver=0.7.13 +pkgrel=1 +pkgdesc="Fast binary serialization" +url="https://github.com/mgsloan/store" +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'haskell-async' 'haskell-base-orphans' 'haskell-base64-bytestring' + 'haskell-contravariant' 'haskell-cryptohash' 'haskell-free' + 'haskell-hashable' 'haskell-hspec' 'haskell-hspec-smallcheck' 'haskell-lifted-base' + 'haskell-monad-control' 'haskell-mono-traversable' 'haskell-network' 'haskell-primitive' + 'haskell-resourcet' 'haskell-safe' 'haskell-smallcheck' + 'haskell-store-core' 'haskell-syb' 'haskell-th-lift' 'haskell-th-lift-instances' + 'haskell-th-orphans' 'haskell-th-reify-many' 'haskell-th-utilities' + 'haskell-unordered-containers' 'haskell-vector' 'haskell-void') +makedepends=('ghc' 'uusi') +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz") +sha512sums=('8e01710413a82b3f77455f11fe296f9eeafb64565f1a795ed1e159d0ccbbd0a5f2a057e03e05a34572111af45d5b3d27a444060da8f0c2a65a9bdf40a41e2c0f') + +prepare() { + cd $_hkgname-$pkgver + uusi -d nats $_hkgname.cabal +} + +build() { + cd $_hkgname-$pkgver + + runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ + --prefix=/usr --docdir=/usr/share/doc/$pkgname \ + --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ + -f-comparison-bench -f-small-bench + 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 +}