[arch-commits] Commit in haskell-store/trunk (PKGBUILD)
Felix Yan
felixonmars at gemini.archlinux.org
Tue Mar 22 18:05:00 UTC 2022
Date: Tuesday, March 22, 2022 @ 18:04:59
Author: felixonmars
Revision: 1170408
upgpkg: haskell-store 0.7.14-1
Modified:
haskell-store/trunk/PKGBUILD
----------+
PKGBUILD | 15 ++++++++++-----
1 file changed, 10 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-03-22 18:04:47 UTC (rev 1170407)
+++ PKGBUILD 2022-03-22 18:04:59 UTC (rev 1170408)
@@ -2,8 +2,8 @@
_hkgname=store
pkgname=haskell-store
-pkgver=0.7.13
-pkgrel=15
+pkgver=0.7.14
+pkgrel=1
pkgdesc="Fast binary serialization"
url="https://github.com/mgsloan/store"
license=('BSD')
@@ -16,9 +16,9 @@
'haskell-store-core' 'haskell-syb' 'haskell-th-lift' 'haskell-th-lift-instances'
'haskell-th-orphans' 'haskell-th-reify-many' 'haskell-th-utilities'
'haskell-unordered-containers' 'haskell-vector' 'haskell-void')
-makedepends=('ghc' 'uusi')
+makedepends=('ghc' 'uusi' 'haskell-hspec-discover')
source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha512sums=('8e01710413a82b3f77455f11fe296f9eeafb64565f1a795ed1e159d0ccbbd0a5f2a057e03e05a34572111af45d5b3d27a444060da8f0c2a65a9bdf40a41e2c0f')
+sha512sums=('2e9c1a75274cb2a349c77d71de817313668cb818257983ce222d1f3191b374074f4722c03728073eec3ea17831edb56b310ac224c047f0f2c54a79db56440ade')
prepare() {
cd $_hkgname-$pkgver
@@ -29,7 +29,7 @@
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-comparison-bench -f-small-bench
runhaskell Setup build $MAKEFLAGS
@@ -39,6 +39,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