[arch-commits] Commit in haskell-insert-ordered-containers/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Wed May 29 16:29:03 UTC 2019
Date: Wednesday, May 29, 2019 @ 16:29:03
Author: felixonmars
Revision: 474382
upgpkg: haskell-insert-ordered-containers 0.2.2-1
rebuild with insert-ordered-containers 0.2.2
Modified:
haskell-insert-ordered-containers/trunk/PKGBUILD
----------+
PKGBUILD | 22 +++++++++++-----------
1 file changed, 11 insertions(+), 11 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-05-29 16:25:22 UTC (rev 474381)
+++ PKGBUILD 2019-05-29 16:29:03 UTC (rev 474382)
@@ -2,8 +2,8 @@
_hkgname=insert-ordered-containers
pkgname=haskell-insert-ordered-containers
-pkgver=0.2.1.0
-pkgrel=164
+pkgver=0.2.2
+pkgrel=1
pkgdesc="Associative containers retating insertion order for traversals."
url="https://github.com/phadej/insert-ordered-containers"
license=('BSD')
@@ -10,17 +10,12 @@
arch=('x86_64')
depends=('ghc-libs' 'haskell-aeson' 'haskell-base-compat' 'haskell-hashable' 'haskell-lens'
'haskell-semigroupoids' 'haskell-unordered-containers')
-makedepends=('ghc')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-tasty' 'haskell-tasty-quickcheck')
source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha512sums=('baff8b23700a7d0209810208183d9856c0a5219018c5f09e82f8820ac87630073543da19e1198fc42f3feec143895707e5e33fdf1edbf8f4e6c441271cc3243b')
+sha512sums=('b8ff0c00ed15c2496a9fb4e5356f53320b38a76f72b534a450067d9b26d1c758b6ada868ef66ddcede7916aa807aec942622cd45cf86143f114dc338a73a7f16')
prepare() {
- sed -e 's/, semigroupoids >=4.3 && <5.2/, semigroupoids >=4.3/' \
- -e 's/, aeson >=1.0.0.0 && <1.2/, aeson >=1.0.0.0/' \
- -e 's/base >=4.6 && <4.10/base >=4.6/' \
- -e 's/<.*4.16/<5/' \
- -e '/semigroups/d' \
- -e 's/<.*0.10/<1/' \
+ sed -e '/semigroups/d' \
-i ${_hkgname}-${pkgver}/${_hkgname}.cabal
}
@@ -28,7 +23,7 @@
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
runhaskell Setup register --gen-script
@@ -37,6 +32,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