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

Felix Yan felixonmars at archlinux.org
Fri May 11 10:58:31 UTC 2018


    Date: Friday, May 11, 2018 @ 10:58:30
  Author: felixonmars
Revision: 320693

upgpkg: haskell-skylighting 0.7.1-1

rebuild with skylighting,0.7.1

Modified:
  haskell-skylighting/trunk/PKGBUILD

----------+
 PKGBUILD |   20 +++++++-------------
 1 file changed, 7 insertions(+), 13 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-05-11 10:53:25 UTC (rev 320692)
+++ PKGBUILD	2018-05-11 10:58:30 UTC (rev 320693)
@@ -3,8 +3,8 @@
 
 _hkgname=skylighting
 pkgname=haskell-skylighting
-pkgver=0.6
-pkgrel=16
+pkgver=0.7.1
+pkgrel=1
 pkgdesc="Syntax highlighting library"
 url="https://github.com/jgm/skylighting"
 license=('GPL2')
@@ -12,19 +12,18 @@
 depends=('ghc-libs' 'haskell-aeson' 'haskell-ansi-terminal' 'haskell-attoparsec'
          'haskell-base64-bytestring' 'haskell-blaze-html' 'haskell-case-insensitive'
          'haskell-colour' 'haskell-hxt' 'haskell-mtl' 'haskell-pretty-show' 'haskell-regex-pcre'
-         'haskell-safe' 'haskell-text' 'haskell-utf8-string')
-makedepends=('ghc' 'haskell-hunit' 'haskell-quickcheck' 'haskell-tasty' 'haskell-tasty-golden'
-             'haskell-tasty-hunit' 'haskell-tasty-quickcheck' 'haskell-random' 'haskell-diff')
+         'haskell-safe' 'haskell-skylighting-core' 'haskell-text' 'haskell-utf8-string')
+makedepends=('ghc')
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha512sums=('a28886deed006406de570d4ae065b43d0b8b66c743932ed62d33454caee3cf1d8433f70623a02489c0034b413cd021075122d1baf7b3f1b6e7b3deeb325bff00')
+sha512sums=('a768bc80685bc0d8fad34c1f381664ed2b1f25873c5736ab35b4ae7e999bed035e9fbd1a30cf36d21979822d51edb571a090fa59f4529392fc2dcba3b4d5f19a')
 
 build() {
     cd $_hkgname-$pkgver
 
     runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \
-        --prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+        --prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
         --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
-            -fsystem-pcre
+            -fsystem-pcre -fexecutable
     runhaskell Setup build
     runhaskell Setup register --gen-script
     runhaskell Setup unregister --gen-script
@@ -32,11 +31,6 @@
     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