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

Felix Yan felixonmars at archlinux.org
Sat Jan 26 08:55:50 UTC 2019


    Date: Saturday, January 26, 2019 @ 08:55:49
  Author: felixonmars
Revision: 427954

archrelease: copy trunk to community-x86_64

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-01-26 08:55:31 UTC (rev 427953)
+++ PKGBUILD	2019-01-26 08:55:49 UTC (rev 427954)
@@ -1,46 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
-
-_hkgname=esqueleto
-pkgname=haskell-esqueleto
-pkgver=2.5.3.20180402
-_commit=b81e0d951e510ebffca03c5a58658ad884cc6fbd
-pkgrel=114
-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-blaze-html' 'haskell-conduit' 'haskell-monad-logger'
-         'haskell-persistent' 'haskell-resourcet' 'haskell-tagged' 'haskell-unliftio'
-         'haskell-unordered-containers')
-makedepends=('ghc')
-source=("$pkgname-$_commit.tar.gz::https://github.com/bitemyapp/esqueleto/archive/$_commit.tar.gz")
-sha512sums=('27e1c7c3dc8598a4b57fa9c30f9121d4858653e64ad1a92fc3d82c487374fe4cc48246924890812198d58c25a3d3f9110a35c0ef27d9040ea15e4559c1c3355f')
-
-prepare() {
-    mv $_hkgname-{$_commit,$pkgver}
-}
-
-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 427953, haskell-esqueleto/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-01-26 08:55:49 UTC (rev 427954)
@@ -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=2.6.0
+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-blaze-html' 'haskell-conduit' 'haskell-monad-logger'
+         'haskell-persistent' 'haskell-resourcet' 'haskell-tagged' 'haskell-unliftio'
+         'haskell-unordered-containers')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
+sha512sums=('b1b50b91c14e7fc72077a1575b4b1df538d6da6b4cf4a34d13b8b94b4ad62d9049c97cc15d272547580e255a62a8a7c70725ee35d23aa69474c7a2224b06b5b8')
+
+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