[arch-commits] Commit in haskell-x509-store/trunk (PKGBUILD)
Felix Yan
felixonmars at gemini.archlinux.org
Tue Feb 1 17:56:03 UTC 2022
Date: Tuesday, February 1, 2022 @ 17:56:02
Author: felixonmars
Revision: 1121994
upgpkg: haskell-x509-store 1.6.8-1: rebuild with x509-store 1.6.8
Modified:
haskell-x509-store/trunk/PKGBUILD
----------+
PKGBUILD | 15 ++++++++++-----
1 file changed, 10 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-02-01 17:44:27 UTC (rev 1121993)
+++ PKGBUILD 2022-02-01 17:56:02 UTC (rev 1121994)
@@ -3,8 +3,8 @@
_hkgname=x509-store
pkgname=haskell-x509-store
-pkgver=1.6.7
-pkgrel=184
+pkgver=1.6.8
+pkgrel=1
pkgdesc="X.509 collection accessing and storing methods"
url="https://github.com/vincenthz/hs-certificate"
license=("BSD")
@@ -11,15 +11,15 @@
arch=('x86_64')
depends=('ghc-libs' "haskell-asn1-encoding" "haskell-asn1-types" "haskell-cryptonite"
"haskell-pem" "haskell-x509")
-makedepends=('ghc')
+makedepends=('ghc' 'haskell-tasty' 'haskell-tasty-hunit')
source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha512sums=('7b0b792a988aed50995523c3f6a3bb0da08cb8963ad834afbeef8bc53e4bb3d7d11af757a999f7b5c81ef073bac10a4003fba7486abd9343a48770bfc954167e')
+sha512sums=('9ed03c32bb17fec351ce95efcd09c02476f37940407fa5ee31692e646bd835c56cbc18afedb7b5fc1f32b4d88368e82be5260e38e04739ec2e873e13e23f542e')
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 --ghc-option=-fllvm
runhaskell Setup build $MAKEFLAGS
runhaskell Setup register --gen-script
@@ -28,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
More information about the arch-commits
mailing list