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

Felix Yan felixonmars at gemini.archlinux.org
Thu Feb 3 23:33:25 UTC 2022


    Date: Thursday, February 3, 2022 @ 23:33:25
  Author: felixonmars
Revision: 1124977

upgpkg: haskell-diff 0.4.1-1: rebuild with Diff 0.4.1

Modified:
  haskell-diff/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-02-03 23:29:23 UTC (rev 1124976)
+++ PKGBUILD	2022-02-03 23:33:25 UTC (rev 1124977)
@@ -3,22 +3,22 @@
 
 _hkgname=Diff
 pkgname=haskell-diff
-pkgver=0.4.0
-pkgrel=12
+pkgver=0.4.1
+pkgrel=1
 pkgdesc="O(ND) diff algorithm in haskell"
-url="https://hackage.haskell.org/package/Diff"
+url="http://github.com/seereason/Diff"
 license=("BSD")
 arch=('x86_64')
 depends=('ghc-libs')
-makedepends=('ghc')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-test-framework' 'haskell-test-framework-quickcheck2')
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha512sums=('6a48a234d3140bc8c641cdf649a1f0daa39ab4de4064435dcbb15a9ea52994c967aadc8584f70aab89ef78e17ecc66b8ce3d8dd2157eb5b85277dfff80fd608c')
+sha512sums=('54a3743635812be22747a50db44a1519f6aabd695bb586a406fb917cf328b7036d379fddd93d361f93b4e29cca817cc551a0329367bf6847ae54f91f87c8895f')
 
 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 --ghc-option=-fllvm
     runhaskell Setup build $MAKEFLAGS
     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 --show-details=direct
+}
+
 package() {
     cd $_hkgname-$pkgver
 



More information about the arch-commits mailing list