[arch-commits] Commit in haskell-esqueleto/repos/community-x86_64 (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Thu Nov 5 14:34:17 UTC 2020


    Date: Thursday, November 5, 2020 @ 14:34:17
  Author: felixonmars
Revision: 743138

archrelease: copy trunk to community-x86_64

Added:
  haskell-esqueleto/repos/community-x86_64/PKGBUILD
    (from rev 743137, haskell-esqueleto/trunk/PKGBUILD)
Deleted:
  haskell-esqueleto/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   82 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 41 insertions(+), 41 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-05 14:34:05 UTC (rev 743137)
+++ PKGBUILD	2020-11-05 14:34:17 UTC (rev 743138)
@@ -1,41 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
-
-_hkgname=esqueleto
-pkgname=haskell-esqueleto
-pkgver=3.3.4.0
-pkgrel=20
-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')  # 'haskell-vector')  # Not enabled yet
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha512sums=('e120c656bf7b6029cf4833cfbeadab516dcd66bb4c27cf834a95a53f333193095c6e9921b2b230608aa052fd6b181a0ae2bd371575509b0bb269d8bd239dbfd2')
-
-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 743137, haskell-esqueleto/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-11-05 14:34:17 UTC (rev 743138)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
+
+_hkgname=esqueleto
+pkgname=haskell-esqueleto
+pkgver=3.3.4.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')  # 'haskell-vector')  # Not enabled yet
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
+sha512sums=('ced420bb318fdf6f6389c1b973cb79136df842f2cd1d36be20311618dffeb2c4828bb9662c8aae17bc50577bb9802923c799aef38ae1371130215bbe2ca4bfe7')
+
+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
+}



More information about the arch-commits mailing list