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

Felix Yan felixonmars at archlinux.org
Thu Dec 20 10:09:22 UTC 2018


    Date: Thursday, December 20, 2018 @ 10:09:22
  Author: felixonmars
Revision: 416895

upgpkg: haskell-unix-time 0.4.3-1

rebuild with fast-logger 2.4.12, unix-time 0.4.3

Modified:
  haskell-unix-time/trunk/PKGBUILD

----------+
 PKGBUILD |   18 ++++++++++++------
 1 file changed, 12 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-12-20 10:03:36 UTC (rev 416894)
+++ PKGBUILD	2018-12-20 10:09:22 UTC (rev 416895)
@@ -3,22 +3,23 @@
 
 _hkgname=unix-time
 pkgname=haskell-unix-time
-pkgver=0.3.8
-pkgrel=6
+pkgver=0.4.3
+pkgrel=1
 pkgdesc="Unix time parser/formatter and utilities"
 url="https://hackage.haskell.org/package/${_hkgname}"
 license=("BSD")
 arch=('x86_64')
-depends=('ghc-libs' "haskell-old-time")
-makedepends=('ghc')
+depends=('ghc-libs' 'haskell-old-time')
+makedepends=('ghc' 'haskell-cabal-doctest' 'haskell-doctest' 'haskell-hspec' 'haskell-old-locale'
+             'haskell-quickcheck')
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha512sums=('e79f076bc5a0e4cad692773f32d2fcf90eb89b2a4eef2497f79e3ec7dc2f4a02fd512ae86b4d619ef9323be558651c1fda6e1b75161406fd10549d3f4cbc9233')
+sha512sums=('1f23d98f8f32bc0fe2072c67b641a11b9d798a662e9e8ba9f4b5ad79ea6492f31949eacf3e83127813e8063419af7aea21ca0f0b093eddacfe98e1fdb5ac94a7')
 
 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 +28,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