Felix Yan pushed to branch main at Arch Linux / Packaging / Packages / 
haskell-chell-quickcheck


Commits:
ec93839b by Felix Yan at 2024-03-16T12:48:56+00:00
upgpkg: 0.2.5.4-1: rebuild with chell-quickcheck 0.2.5.4

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,16 +1,17 @@
 pkgbase = haskell-chell-quickcheck
        pkgdesc = QuickCheck support for the Chell testing library
-       pkgver = 0.2.5.3
-       pkgrel = 78
+       pkgver = 0.2.5.4
+       pkgrel = 1
        url = https://github.com/typeclasses/chell
        arch = x86_64
        license = MIT
        makedepends = ghc
+       makedepends = uusi
        depends = ghc-libs
        depends = haskell-chell
        depends = haskell-quickcheck
        depends = haskell-random
-       source = 
https://hackage.haskell.org/packages/archive/chell-quickcheck/0.2.5.3/chell-quickcheck-0.2.5.3.tar.gz
-       sha512sums = 
d2f8eca8995c45aa3732303c7168f12d98b0b121ea5730dc481041a900b6c35b6ac965cc47eea6710f486c4ed850915daeacca1e8a8f844a242386c9dd854a96
+       source = 
https://hackage.haskell.org/packages/archive/chell-quickcheck/0.2.5.4/chell-quickcheck-0.2.5.4.tar.gz
+       sha512sums = 
967f61e1e6d03c2c1d5195e6efdfcb33c6fcded0b3383ca2ac6cb4dedce163634d841b5eba77cebbe7f6952dfbb95bb72e08ec8d1ead64fdb4be7d8780f20c64
 
 pkgname = haskell-chell-quickcheck


=====================================
PKGBUILD
=====================================
@@ -2,22 +2,27 @@
 
 _hkgname=chell-quickcheck
 pkgname=haskell-chell-quickcheck
-pkgver=0.2.5.3
-pkgrel=78
+pkgver=0.2.5.4
+pkgrel=1
 pkgdesc="QuickCheck support for the Chell testing library"
 url="https://github.com/typeclasses/chell";
 license=('MIT')
 arch=('x86_64')
 depends=('ghc-libs' 'haskell-chell' 'haskell-quickcheck' 'haskell-random')
-makedepends=('ghc')
+makedepends=('ghc' 'uusi')
 
source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('d2f8eca8995c45aa3732303c7168f12d98b0b121ea5730dc481041a900b6c35b6ac965cc47eea6710f486c4ed850915daeacca1e8a8f844a242386c9dd854a96')
+sha512sums=('967f61e1e6d03c2c1d5195e6efdfcb33c6fcded0b3383ca2ac6cb4dedce163634d841b5eba77cebbe7f6952dfbb95bb72e08ec8d1ead64fdb4be7d8780f20c64')
+
+prepare() {
+    cd $_hkgname-$pkgver
+    gen-setup
+}
 
 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
     runhaskell Setup build $MAKEFLAGS
     runhaskell Setup register --gen-script
@@ -26,6 +31,11 @@ build() {
     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
     



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/haskell-chell-quickcheck/-/commit/ec93839b6638275c294112b6156301201a188535

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/haskell-chell-quickcheck/-/commit/ec93839b6638275c294112b6156301201a188535
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to