[arch-commits] Commit in haskell-monoid-subclasses/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sun Mar 7 16:56:40 UTC 2021
Date: Sunday, March 7, 2021 @ 16:56:40
Author: felixonmars
Revision: 886740
upgpkg: haskell-monoid-subclasses 1.1-1: rebuild with monoid-subclasses 1.1
Modified:
haskell-monoid-subclasses/trunk/PKGBUILD
----------+
PKGBUILD | 16 +++++++++++-----
1 file changed, 11 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-03-07 16:48:35 UTC (rev 886739)
+++ PKGBUILD 2021-03-07 16:56:40 UTC (rev 886740)
@@ -3,22 +3,23 @@
_hkgname=monoid-subclasses
pkgname=haskell-monoid-subclasses
-pkgver=1.0.1
-pkgrel=77
+pkgver=1.1
+pkgrel=1
pkgdesc="Subclasses of Monoid"
url="https://github.com/blamario/monoid-subclasses/"
license=('BSD')
arch=('x86_64')
depends=('ghc-libs' 'haskell-primes' 'haskell-vector')
-makedepends=('ghc')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-quickcheck-instances' 'haskell-tasty'
+ 'haskell-tasty-quickcheck')
source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha512sums=('7da854f0eff79f907ab6fe0f09d82917ff567480b84fba4b19c8b03b61712f9a88d65cfe67ba1027dc6daf368a1193eae640ae4b4e9052354e0d0b2d16586999')
+sha512sums=('08e2890801b30eeeaac5d9b7d23feeb5087a389ee29b73ef11c555f14c1e0c56844d25d3343cf9bda80e365f2ec290c452ded8a66c46b9ea61b62eb71d2563f4')
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
@@ -27,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