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

Felix Yan felixonmars at archlinux.org
Fri Aug 2 08:30:32 UTC 2019


    Date: Friday, August 2, 2019 @ 08:30:31
  Author: felixonmars
Revision: 496974

upgpkg: haskell-persistent-template 2.7.2-1

rebuild with persistent 2.10.0, persistent-sqlite 2.10.4, persistent-template 2.7.2

Modified:
  haskell-persistent-template/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-08-02 08:29:16 UTC (rev 496973)
+++ PKGBUILD	2019-08-02 08:30:31 UTC (rev 496974)
@@ -3,24 +3,24 @@
 
 _hkgname=persistent-template
 pkgname=haskell-persistent-template
-pkgver=2.6.0
-pkgrel=61
+pkgver=2.7.2
+pkgrel=1
 pkgdesc="Type-safe, non-relational, multi-backend persistence"
 url="http://www.yesodweb.com/book/persistent"
 license=("MIT")
 arch=('x86_64')
-depends=('ghc-libs' "haskell-aeson" "haskell-aeson-compat" "haskell-http-api-data"
-         "haskell-monad-control" "haskell-monad-logger" "haskell-path-pieces" "haskell-persistent"
-         "haskell-tagged" "haskell-unordered-containers")
-makedepends=('ghc')
+depends=('ghc-libs' "haskell-aeson" "haskell-http-api-data" "haskell-monad-control"
+         "haskell-monad-logger" "haskell-path-pieces" "haskell-persistent"
+         "haskell-unordered-containers")
+makedepends=('ghc' 'haskell-hspec')
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha512sums=('25ec2a40d77b9d05de370c6343e5377b5fe74932ef82797a8abd140c884d5a6aa1624c55a3e9617ada5de3bda2fe2e7c6fb59433a8acb7f0bb14833b321faad7')
+sha512sums=('8a5324cb379eb627695dd6e9f4d3ede74dbfc649f926a4d716ef376dd94ed5948a5f652a46ee79124516fe3005da81502db11f04494e7fb5c4cb51758f71f6c8')
 
 build() {
     cd $_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
     runhaskell Setup build
     runhaskell Setup register --gen-script
@@ -29,6 +29,11 @@
     sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
 }
 
+check() {
+    cd $_hkgname-$pkgver
+    runhaskell Setup test
+}
+
 package() {
     cd $_hkgname-$pkgver
 


More information about the arch-commits mailing list