[arch-commits] Commit in haskell-microstache/trunk (PKGBUILD)
Felix Yan
felixonmars at gemini.archlinux.org
Sun Aug 21 20:00:36 UTC 2022
Date: Sunday, August 21, 2022 @ 20:00:36
Author: felixonmars
Revision: 1274005
upgpkg: haskell-microstache 1.0.2.2-1: rebuild with microstache 1.0.2.2
Modified:
haskell-microstache/trunk/PKGBUILD
----------+
PKGBUILD | 15 ++++++++++-----
1 file changed, 10 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-08-21 19:48:11 UTC (rev 1274004)
+++ PKGBUILD 2022-08-21 20:00:36 UTC (rev 1274005)
@@ -3,22 +3,22 @@
_hkgname=microstache
pkgname=haskell-microstache
-pkgver=1.0.2.1
-pkgrel=23
+pkgver=1.0.2.2
+pkgrel=1
pkgdesc="Mustache templates for Haskell"
url="https://github.com/phadej/microstache"
license=("BSD")
arch=('x86_64')
depends=('ghc-libs' 'haskell-aeson' 'haskell-unordered-containers' 'haskell-vector')
-makedepends=('ghc')
+makedepends=('ghc' 'haskell-base-orphans' 'haskell-tasty' 'haskell-tasty-hunit')
source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha512sums=('081472b4d85036e3127500e65ac289f6fa6a6aaf4154004909de369cc1e7a99d4bf2ef9d63fea9f00cf9944788ba61e4e5a9d83fcdb9b6a246c02f0155f277a4')
+sha512sums=('85cace810dc58044a839b92e0a332fc34745994872c8abe7f4619e12293a274d19267831a5882faee0fe826627035620a6bee50d5648b940a8e6ca5d362d11d9')
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
runhaskell Setup build $MAKEFLAGS
runhaskell Setup register --gen-script
@@ -27,6 +27,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
More information about the arch-commits
mailing list