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

Felix Yan felixonmars at archlinux.org
Sun Mar 22 17:37:42 UTC 2020


    Date: Sunday, March 22, 2020 @ 17:37:42
  Author: felixonmars
Revision: 603573

archrelease: copy trunk to community-x86_64

Added:
  haskell-esqueleto/repos/community-x86_64/PKGBUILD
    (from rev 603572, 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-03-22 17:37:27 UTC (rev 603572)
+++ PKGBUILD	2020-03-22 17:37:42 UTC (rev 603573)
@@ -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.1.1
-pkgrel=34
-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-exceptions' 'haskell-vector')  # Not enabled yet
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha512sums=('d13303ac963c6201856fba0a43878d36d43610e553dd6f19aab11ff9f4d4b44625a8a2e1c5ea808d8dbb6c3d853fb6e5b9f877264e8146c6979bbdbc99422ad8')
-
-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
-    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 603572, haskell-esqueleto/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-03-22 17:37:42 UTC (rev 603573)
@@ -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.2
+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-exceptions' 'haskell-vector')  # Not enabled yet
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
+sha512sums=('4d80cf0613e4ae13e63ceae93a1926c6fa90fb5feedeb409835adf8a7158ca25652e9245f4dd5c781164c1299d4400f8d937524a7de38b4af3ce71127e88ee06')
+
+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
+    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