[arch-commits] Commit in haskell-persistent-sqlite/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Sun Dec 3 17:54:40 UTC 2017


    Date: Sunday, December 3, 2017 @ 17:54:39
  Author: felixonmars
Revision: 272021

upgpkg: haskell-persistent-sqlite 2.6.4-1

rebuild with persistent-sqlite,2.6.4

Modified:
  haskell-persistent-sqlite/trunk/PKGBUILD

----------+
 PKGBUILD |   21 +++++++++++++--------
 1 file changed, 13 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-12-03 17:44:40 UTC (rev 272020)
+++ PKGBUILD	2017-12-03 17:54:39 UTC (rev 272021)
@@ -4,24 +4,24 @@
 
 _hkgname=persistent-sqlite
 pkgname=haskell-persistent-sqlite
-pkgver=2.6.3.1
-pkgrel=2
+pkgver=2.6.4
+pkgrel=1
 pkgdesc="Backend for the persistent library using sqlite3"
 url="http://www.yesodweb.com/book/persistent"
 license=("MIT")
 arch=('x86_64')
-depends=('ghc-libs' 'sqlite' "haskell-aeson" "haskell-conduit" "haskell-monad-control"
-         "haskell-microlens-th" "haskell-monad-logger" "haskell-old-locale" "haskell-persistent"
-         "haskell-resource-pool" "haskell-resourcet" "haskell-text" "haskell-unordered-containers")
-makedepends=('ghc')
+depends=('ghc-libs' 'sqlite' 'haskell-aeson' 'haskell-conduit' 'haskell-monad-control'
+         'haskell-microlens-th' 'haskell-monad-logger' 'haskell-old-locale' 'haskell-persistent'
+         'haskell-resource-pool' 'haskell-resourcet' 'haskell-text' 'haskell-unordered-containers')
+makedepends=('ghc' 'haskell-hspec' 'haskell-persistent-template' 'haskell-temporary')
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha512sums=('2b988e68372f72b8c9aab4544005d70c4ceea530e66090c997dce3c0afda64c3c76538f433f17b62ea1d3327979d161f9b87505e1b1f37b87f024de1ddc992e3')
+sha512sums=('f8ae4f0b501505b839306c283a8a4c854c62c8b325b25219b890339f4b0b4e6d669176e79b7e35fb9d4cf5fd4627117d464aa141840c7fade8ceac669ca86aa5')
 
 build() {
     cd "${srcdir}/${_hkgname}-${pkgver}"
 
     runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \
-        --prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
+        --prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
         --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
             -f-build-sanity-exe -fsystemlib -fuse-pkgconfig
     runhaskell Setup build
@@ -31,6 +31,11 @@
     sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
 }
 
+check() {
+    cd $_hkgname-$pkgver
+    runhaskell Setup test
+}
+
 package() {
     cd "${srcdir}/${_hkgname}-${pkgver}"
 



More information about the arch-commits mailing list