[arch-commits] Commit in haskell-utility-ht/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Mon Mar 15 19:32:16 UTC 2021
Date: Monday, March 15, 2021 @ 19:32:16
Author: felixonmars
Revision: 891530
upgpkg: haskell-utility-ht 0.0.16-1: rebuild with utility-ht 0.0.16
Modified:
haskell-utility-ht/trunk/PKGBUILD
----------+
PKGBUILD | 15 ++++++++++-----
1 file changed, 10 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-03-15 19:29:34 UTC (rev 891529)
+++ PKGBUILD 2021-03-15 19:32:16 UTC (rev 891530)
@@ -3,22 +3,22 @@
_hkgname=utility-ht
pkgname=haskell-utility-ht
-pkgver=0.0.15
-pkgrel=6
+pkgver=0.0.16
+pkgrel=1
pkgdesc="Various small helper functions for Lists, Maybes, Tuples, Functions"
url="http://www.haskell.org/haskellwiki/Utility-HT"
license=("BSD")
arch=('x86_64')
depends=('ghc-libs')
-makedepends=('ghc')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-doctest-exitcode-stdio' 'haskell-doctest-lib')
source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha512sums=('29be7ed40c4dc025df0997f7d8611b0f86125ba6a6aa3e4d65844f996f19f3d417b4b1dc7da58589a5259ddb9f473c71af0fc32891105a364a3dbc7f05671905')
+sha512sums=('dc43586c4cd3816b8d9c1f2d952e82a2b633d86df1bdcb19bcaaf96977d3b9b4399cbf6e7c12a1f7f2a8cd0d461a5964af8e2748a016406b1364a9a327d67a79')
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 +27,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