[arch-commits] Commit in haskell-auto-update/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Thu Jul 11 12:16:51 UTC 2019


    Date: Thursday, July 11, 2019 @ 12:16:50
  Author: felixonmars
Revision: 488747

upgpkg: haskell-auto-update 0.1.6-1

rebuild with auto-update 0.1.6

Modified:
  haskell-auto-update/trunk/PKGBUILD

----------+
 PKGBUILD |   13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-07-11 12:15:30 UTC (rev 488746)
+++ PKGBUILD	2019-07-11 12:16:50 UTC (rev 488747)
@@ -3,7 +3,7 @@
 
 _hkgname=auto-update
 pkgname=haskell-auto-update
-pkgver=0.1.5
+pkgver=0.1.6
 pkgrel=1
 pkgdesc="Efficiently run periodic, on-demand actions"
 url="https://github.com/yesodweb/wai"
@@ -10,15 +10,15 @@
 license=("MIT")
 arch=('x86_64')
 depends=('ghc-libs')
-makedepends=('ghc')
+makedepends=('ghc' 'haskell-exceptions' 'haskell-hspec' 'haskell-retry' 'haskell-hunit')
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha512sums=('756ba33f4eacf6badaf2e1abfc459444d9a7288300609ed79e3ac26afc39c60bc82c545626273a8c3ff1bb65ae03c501c965962b225ce097cc3a037d6af77224')
+sha512sums=('ff0f4f835d0b24aafbe18dbc42a9c3cc396cea24be3f4b13b5f5dac49b3b21030c941c8b09a5c33ba175c9902d076aa12fc9eb5a6a79c94ee5c9b60935fa047f')
 
 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
@@ -27,6 +27,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