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

Felix Yan felixonmars at archlinux.org
Wed Aug 12 18:56:04 UTC 2020


    Date: Wednesday, August 12, 2020 @ 18:56:04
  Author: felixonmars
Revision: 676559

upgpkg: haskell-rfc5051 0.2-1: rebuild with rfc5051 0.2, pandoc-citeproc 0.17.0.2

Modified:
  haskell-rfc5051/trunk/PKGBUILD

----------+
 PKGBUILD |   15 ++++++++++-----
 1 file changed, 10 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-08-12 18:48:24 UTC (rev 676558)
+++ PKGBUILD	2020-08-12 18:56:04 UTC (rev 676559)
@@ -3,8 +3,8 @@
 
 _hkgname=rfc5051
 pkgname=haskell-rfc5051
-pkgver=0.1.0.4
-pkgrel=9
+pkgver=0.2
+pkgrel=1
 pkgdesc="Simple unicode collation as per RFC5051."
 url="https://hackage.haskell.org/package/${_hkgname}"
 license=("BSD")
@@ -12,16 +12,16 @@
 depends=('ghc-libs')
 makedepends=('ghc')
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha512sums=('5a8a3f3ccb846986242152c8c30a0069466072f2b3fb449565b7fb95615c7909be04a320b9215d313d8b8e442a01959ffead0d5076bc61ee7f33f5ff1d9dd67b')
+sha512sums=('93222535d9c94ac947d9760c8d856ec150b17b93342999f6594a048905c791b08220e656f26c95702bec3c1e835b537635395d1dae6f3607fd8a8a767b24a23f')
 
 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-mkunicodedata
-    runhaskell Setup build
+    runhaskell Setup build $MAKEFLAGS
     runhaskell Setup register --gen-script
     runhaskell Setup unregister --gen-script
     sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
@@ -28,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