[arch-commits] Commit in haskell-pipes/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Wed Aug 5 19:03:04 UTC 2020
Date: Wednesday, August 5, 2020 @ 19:03:04
Author: felixonmars
Revision: 670308
upgpkg: haskell-pipes 4.3.14-1: rebuild with pipes 4.3.14
Modified:
haskell-pipes/trunk/PKGBUILD
----------+
PKGBUILD | 21 +++++++++++----------
1 file changed, 11 insertions(+), 10 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-08-05 18:47:36 UTC (rev 670307)
+++ PKGBUILD 2020-08-05 19:03:04 UTC (rev 670308)
@@ -3,27 +3,23 @@
_hkgname=pipes
pkgname=haskell-pipes
-pkgver=4.3.13
-pkgrel=25
+pkgver=4.3.14
+pkgrel=1
pkgdesc="Compositional pipelines"
url="https://hackage.haskell.org/package/${_hkgname}"
license=("BSD")
arch=('x86_64')
depends=('ghc-libs' 'haskell-mmorph' 'haskell-void')
-makedepends=('ghc')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-test-framework'
+ 'haskell-test-framework-quickcheck2')
source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha512sums=('81a8408f1bb6941e8507b3ce97e1fb0216ff3491c65b3d634fd489d8cbe9340b4eff515890d68745af5d183223a0cac01e6102bcf784c9b3167e155641e2ffb1')
+sha512sums=('4dac195772876c62d187a123c99ec2c624ce9f5b4c8ea8de9621d01c4eaaaf99a2f856a2c9faf94ec35c531df29f0e82aa9015ad8dd4eb2b2d7478a0da4bacf5')
-prepare() {
- cd $_hkgname-$pkgver
- sed -i -e '/semigroups/d' -e 's/void >= 0.4 && < 0.8 ,/void >= 0.4 \&\& < 0.8/' $_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
runhaskell Setup build $MAKEFLAGS
runhaskell Setup register --gen-script
@@ -32,6 +28,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