Date: Saturday, March 27, 2021 @ 17:33:32 Author: felixonmars Revision: 905408
archrelease: copy trunk to community-x86_64 Added: haskell-esqueleto/repos/community-x86_64/PKGBUILD (from rev 905407, haskell-esqueleto/trunk/PKGBUILD) Deleted: haskell-esqueleto/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 92 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 46 insertions(+), 46 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-03-27 17:33:15 UTC (rev 905407) +++ PKGBUILD 2021-03-27 17:33:32 UTC (rev 905408) @@ -1,46 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> -# Contributor: Arch Haskell Team <arch-hask...@haskell.org> - -_hkgname=esqueleto -pkgname=haskell-esqueleto -pkgver=3.4.1.0 -pkgrel=15 -pkgdesc="Type-safe EDSL for SQL queries on persistent backends." -url="https://github.com/bitemyapp/esqueleto" -license=("BSD") -arch=('x86_64') -depends=('ghc-libs' 'haskell-aeson' 'haskell-attoparsec' 'haskell-blaze-html' 'haskell-conduit' - 'haskell-monad-logger' 'haskell-persistent' 'haskell-resourcet' 'haskell-tagged' - 'haskell-unliftio' 'haskell-unordered-containers') -makedepends=('ghc' 'uusi') # 'haskell-vector') # Not enabled yet -source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz") -sha512sums=('972581ec2c3cc20725a40b59dc18ca9a358dc65664c84202f405add2d1fa256c1aa3b24c63fda620374fb20bd26751ff8c828f35d14f214bc26d1b89a7cfe530') - -prepare() { - cd $_hkgname-$pkgver - uusi -u attoparsec $_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 \ - -f-mysql -f-postgresql - 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-esqueleto/repos/community-x86_64/PKGBUILD (from rev 905407, haskell-esqueleto/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-03-27 17:33:32 UTC (rev 905408) @@ -0,0 +1,46 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Arch Haskell Team <arch-hask...@haskell.org> + +_hkgname=esqueleto +pkgname=haskell-esqueleto +pkgver=3.4.1.1 +pkgrel=1 +pkgdesc="Type-safe EDSL for SQL queries on persistent backends." +url="https://github.com/bitemyapp/esqueleto" +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-aeson' 'haskell-attoparsec' 'haskell-blaze-html' 'haskell-conduit' + 'haskell-monad-logger' 'haskell-persistent' 'haskell-resourcet' 'haskell-tagged' + 'haskell-unliftio' 'haskell-unordered-containers') +makedepends=('ghc' 'uusi') # 'haskell-vector') # Not enabled yet +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz") +sha512sums=('8dbd3ec6b5c56856d30109927afe79a6ea001d6cdd19a737f78d232ab8d5c055046043563a954f1bc22c9519471fe0eeb5f0e8e23baf463df4476a30bd530ade') + +prepare() { + cd $_hkgname-$pkgver + uusi -u attoparsec $_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 \ + -f-mysql -f-postgresql + 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 +}