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

Felix Yan felixonmars at archlinux.org
Mon Mar 15 13:47:44 UTC 2021


    Date: Monday, March 15, 2021 @ 13:47:43
  Author: felixonmars
Revision: 891480

upgpkg: haskell-skylighting-core 0.10.4-1: rebuild with skylighting 0.10.4, skylighting-core 0.10.4

Modified:
  haskell-skylighting-core/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-03-15 13:23:53 UTC (rev 891479)
+++ PKGBUILD	2021-03-15 13:47:43 UTC (rev 891480)
@@ -2,8 +2,8 @@
 
 _hkgname=skylighting-core
 pkgname=haskell-skylighting-core
-pkgver=0.10.3
-pkgrel=3
+pkgver=0.10.4
+pkgrel=1
 pkgdesc="Syntax highlighting library"
 url="https://github.com/jgm/skylighting"
 license=('BSD')
@@ -10,18 +10,18 @@
 arch=('x86_64')
 depends=('ghc-libs' 'haskell-aeson' 'haskell-ansi-terminal' 'haskell-attoparsec'
          'haskell-base64-bytestring' 'haskell-blaze-html' 'haskell-case-insensitive'
-         'haskell-colour' 'haskell-hxt' 'haskell-safe' 'haskell-utf8-string')
+         'haskell-colour' 'haskell-safe' 'haskell-utf8-string' 'haskell-xml-conduit')
 makedepends=('ghc' 'haskell-diff' 'haskell-hunit' 'haskell-pretty-show' 'haskell-quickcheck'
              'haskell-random' 'haskell-tasty' 'haskell-tasty-golden' 'haskell-tasty-hunit'
              'haskell-tasty-quickcheck')
 source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('65d45fb5d8a7d550ffb1a906bc968b85f1236f776f97be8c657e48e071039900b45d9129809f2612714453f2b95444c15171d8d7a9c680bca41087f412148783')
+sha512sums=('42b3b3aa46e8ac878ece89c30b757198f2ddac91707c95372af47f46d76a5766d4e0c63b2b50377d5404d40b0754cd07d8dd1ae3c60f25d32739950dfc939081')
 
 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 \
             -fexecutable
     runhaskell Setup build $MAKEFLAGS
@@ -31,6 +31,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