[arch-commits] Commit in haskell-quickcheck-instances/trunk (PKGBUILD)
Felix Yan
felixonmars at gemini.archlinux.org
Fri Feb 4 20:00:18 UTC 2022
Date: Friday, February 4, 2022 @ 20:00:18
Author: felixonmars
Revision: 1125880
upgpkg: haskell-quickcheck-instances 0.3.26-1: rebuild with quickcheck-instances 0.3.26
Modified:
haskell-quickcheck-instances/trunk/PKGBUILD
----------+
PKGBUILD | 30 +++++++++++++++---------------
1 file changed, 15 insertions(+), 15 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-02-04 19:57:37 UTC (rev 1125879)
+++ PKGBUILD 2022-02-04 20:00:18 UTC (rev 1125880)
@@ -3,31 +3,26 @@
_hkgname=quickcheck-instances
pkgname=haskell-quickcheck-instances
-pkgver=0.3.25.2
-pkgrel=93
+pkgver=0.3.26
+pkgrel=1
pkgdesc="Common quickcheck instances"
url="https://github.com/haskellari/qc-instances"
license=("BSD")
arch=('x86_64')
-depends=('ghc-libs' 'haskell-quickcheck' 'haskell-case-insensitive' 'haskell-data-fix'
- 'haskell-hashable' 'haskell-integer-logarithms' 'haskell-old-time' 'haskell-scientific'
- 'haskell-splitmix' 'haskell-strict' 'haskell-tagged' 'haskell-these'
- 'haskell-time-compat' 'haskell-transformers-compat' 'haskell-unordered-containers'
- 'haskell-uuid-types' 'haskell-vector')
-makedepends=('ghc' 'uusi')
+depends=('ghc-libs' 'haskell-onetuple' 'haskell-quickcheck' 'haskell-case-insensitive'
+ 'haskell-data-fix' 'haskell-hashable' 'haskell-integer-logarithms' 'haskell-old-time'
+ 'haskell-scientific' 'haskell-splitmix' 'haskell-strict' 'haskell-tagged'
+ 'haskell-text-short' 'haskell-these' 'haskell-time-compat' 'haskell-transformers-compat'
+ 'haskell-unordered-containers' 'haskell-uuid-types' 'haskell-vector')
+makedepends=('ghc')
source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha512sums=('1e4df0c814cfdd12370d25ba66e0d9698e25cd480d9609ab5a45d4492df7a4600b79f5412f8224d90976c3accd59b16f8941b351bf8980e70e846ec08e6efced')
+sha512sums=('3d961c017c18181907c7b85f7354f399a2bae7738c68a7a9b613b3a69cdd39922ec0e2d9a749d6ed9033a7a9535adb766e094b9bc35c4dec36fbd348fa291d90')
-prepare() {
- cd $_hkgname-$pkgver
- uusi -u base -u transformers-compat $_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 \
+ --prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \
-f-bytestring-builder
runhaskell Setup build $MAKEFLAGS
@@ -37,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