[arch-commits] Commit in haskell-hackage-security/trunk (PKGBUILD)
Felix Yan
felixonmars at gemini.archlinux.org
Fri Jul 8 00:29:22 UTC 2022
Date: Friday, July 8, 2022 @ 00:29:22
Author: felixonmars
Revision: 1248490
upgpkg: haskell-hackage-security 0.6.1.0-1: rebuild with hackage-security 0.6.1.0
Modified:
haskell-hackage-security/trunk/PKGBUILD
----------+
PKGBUILD | 22 ++++++++++++----------
1 file changed, 12 insertions(+), 10 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-07-08 00:17:53 UTC (rev 1248489)
+++ PKGBUILD 2022-07-08 00:29:22 UTC (rev 1248490)
@@ -3,8 +3,8 @@
_hkgname=hackage-security
pkgname=haskell-hackage-security
-pkgver=0.6.0.1
-pkgrel=303
+pkgver=0.6.1.0
+pkgrel=1
pkgdesc="Hackage security library"
url="https://github.com/well-typed/hackage-security"
license=("BSD")
@@ -12,20 +12,17 @@
depends=('ghc-libs' 'haskell-base16-bytestring' 'haskell-base64-bytestring'
'haskell-cryptohash-sha256' 'haskell-ed25519' 'haskell-lukko' 'haskell-network'
'haskell-network-uri' 'haskell-tar' 'haskell-zlib')
-makedepends=('ghc' 'uusi')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-aeson' 'haskell-tasty' 'haskell-tasty-hunit'
+ 'haskell-tasty-quickcheck' 'haskell-temporary' 'haskell-unordered-containers'
+ 'haskell-vector')
source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha512sums=('b83fdda3712c58bcc4237965e40bea16b9ce08f30c0671f45967e69a2eb85488e78a41c8d12b9f339f78f30cc50770a72e9e9a46e5ddf740a20bce4ea4e96fdb')
+sha512sums=('0a303e8c594a5fef52bf95f3ff75379aeec44fdaebc6ba78da8bf7911798040b43c3c289f0c4d7bcd2c1903d82c29d5ffa012360660c3548c0f3fb4b719a9327')
-prepare() {
- cd $_hkgname-$pkgver
- uusi -u base -u base16-bytestring -u base64-bytestring -u Cabal -u template-haskell $_hkgname.cabal
-}
-
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 \
-fbase48 -fuse-network-uri -f-old-directory
runhaskell Setup build $MAKEFLAGS
@@ -35,6 +32,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