[arch-commits] Commit in haskell-hashable-time/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Sat May 22 15:34:22 UTC 2021


    Date: Saturday, May 22, 2021 @ 15:34:21
  Author: felixonmars
Revision: 941997

upgpkg: haskell-hashable-time 0.3-1: rebuild with time-compat 1.9.6, hashable-time 0.3

Modified:
  haskell-hashable-time/trunk/PKGBUILD

----------+
 PKGBUILD |   17 +++++++++++------
 1 file changed, 11 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-05-22 15:30:11 UTC (rev 941996)
+++ PKGBUILD	2021-05-22 15:34:21 UTC (rev 941997)
@@ -2,22 +2,22 @@
 
 _hkgname=hashable-time
 pkgname=haskell-hashable-time
-pkgver=0.2.1
-pkgrel=21
+pkgver=0.3
+pkgrel=1
 pkgdesc="Hashable instances for Data.Time"
 url="https://github.com/w3rs/hashable-time"
 license=('MIT')
 arch=('x86_64')
-depends=('ghc-libs' 'haskell-hashable' 'haskell-time-compat')
-makedepends=('ghc')
+depends=('ghc-libs' 'haskell-time-compat')
+makedepends=('ghc' 'haskell-hashable')
 source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('feaab9c19fa73da1b473440513d4aa28909957b8d367b14b0825f1e110329e127cd011be6b729758b06c958e2bf8c891fd649af750d656548f593950a3aa87ba')
+sha512sums=('c6715693b55892beab59820e0dc742ddbf3c8b75f3bc4994b90175f4220da841aa514b34e08e5f58971fb523fa75cc2da59f5bb37c7e7744d6de6eacd7c27b51')
 
 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 \
             -f-old-locale
     runhaskell Setup build $MAKEFLAGS
@@ -27,6 +27,11 @@
     sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
 }
 
+check() {
+    cd $_hkgname-$pkgver
+    runhaskell Setup test --show-details=direct
+}
+
 package() {
     cd $_hkgname-$pkgver
     



More information about the arch-commits mailing list