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

Felix Yan felixonmars at archlinux.org
Mon Dec 23 09:07:47 UTC 2019


    Date: Monday, December 23, 2019 @ 09:07:47
  Author: felixonmars
Revision: 538965

upgpkg: haskell-doctemplates 0.7.1-1: rebuild with pandoc 2.8, pandoc-types 1.20, doctemplates 0.7.1, HsYAML 0.2.1.0, haddock-library 1.8.0, texmath 0.12

Modified:
  haskell-doctemplates/trunk/PKGBUILD

----------+
 PKGBUILD |   21 ++++++++++++++-------
 1 file changed, 14 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-12-23 09:06:47 UTC (rev 538964)
+++ PKGBUILD	2019-12-23 09:07:47 UTC (rev 538965)
@@ -2,23 +2,25 @@
 
 _hkgname=doctemplates
 pkgname=haskell-doctemplates
-pkgver=0.2.2.1
-pkgrel=98
+pkgver=0.7.1
+pkgrel=1
 pkgdesc="Pandoc-style document templates"
 url="https://github.com/jgm/doctemplates"
 license=("BSD")
 arch=('x86_64')
-depends=('ghc-libs' "haskell-aeson" "haskell-blaze-markup" "haskell-blaze-html"
-         "haskell-scientific" "haskell-unordered-containers" "haskell-vector")
-makedepends=('ghc')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-doclayout' 'haskell-hsyaml' 'haskell-safe'
+         'haskell-scientific' 'haskell-text-conversions' 'haskell-unordered-containers'
+         'haskell-vector')
+makedepends=('ghc' 'haskell-glob' 'haskell-tasty' 'haskell-tasty-golden' 'haskell-tasty-hunit'
+             'haskell-temporary')
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha512sums=('e1ad0d61dc97a69febf55ad76ee05e6696b76b0df5ee925072e934b977d1ca4c8d9ce0bc9acb311ec1992ce783e86fcaec93a93fc47fecffbd0071f002013485')
+sha512sums=('0c0aa8afe5f0c76a5cc5d30ba6196d1809f5cd2415f3f898e77dbac88df001a642e461eb76ae09c72161474b5c84d67f1edb7fbc00c588037053cceb8c2a1843')
 
 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
     runhaskell Setup build
     runhaskell Setup register --gen-script
@@ -27,6 +29,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