Date: Sunday, September 18, 2022 @ 15:30:01
  Author: felixonmars
Revision: 1304907

upgpkg: haskell-skylighting 0.13-1: rebuild with citeproc 0.8.0.1, pandoc 2.19, 
skylighting 0.13, skylighting-core 0.13

Modified:
  haskell-skylighting/trunk/PKGBUILD

----------+
 PKGBUILD |   16 +++++++++++-----
 1 file changed, 11 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2022-09-18 15:28:19 UTC (rev 1304906)
+++ PKGBUILD    2022-09-18 15:30:01 UTC (rev 1304907)
@@ -2,22 +2,23 @@
 
 _hkgname=skylighting
 pkgname=haskell-skylighting
-pkgver=0.12.3.1
-pkgrel=23
+pkgver=0.13
+pkgrel=1
 pkgdesc="Syntax highlighting library"
 url="https://github.com/jgm/skylighting";
 license=('GPL2')
 arch=('x86_64')
-depends=('ghc-libs' 'haskell-skylighting-core')
+depends=('ghc-libs' 'haskell-skylighting-core' 
'haskell-skylighting-format-ansi'
+         'haskell-skylighting-format-blaze-html' 
'haskell-skylighting-format-latex')
 makedepends=('ghc')
 
source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
-sha512sums=('3eb93400612992d5aed828ebe0c1b76dbfbd7ec9cd0d0d667b524df51968997ffd429bfdbecbaa32a6108903872e119614b16f8aedf00eaf6d9a7b79ccb06c58')
+sha512sums=('3c755a8588b4e2923b0a3855fa4ff7f7010f3399b0d7fd08232d69e77f3af9eef9c8179146a78d19b28e209058badbdc2a6fa5707f5941fbf8f6b6f321ec0af2')
 
 build() {
     cd $_hkgname-$pkgver
 
     runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
-        --prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname \
+        --prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
         --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
             -f-executable
     runhaskell Setup build $MAKEFLAGS
@@ -27,6 +28,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
 

Reply via email to