[arch-commits] Commit in haskell-parsers/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sun Dec 31 11:45:11 UTC 2017
Date: Sunday, December 31, 2017 @ 11:45:10
Author: felixonmars
Revision: 277541
upgpkg: haskell-parsers 0.12.8-1
rebuild with parsers,0.12.8
Modified:
haskell-parsers/trunk/PKGBUILD
----------+
PKGBUILD | 21 +++++++++++++--------
1 file changed, 13 insertions(+), 8 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-12-31 11:41:18 UTC (rev 277540)
+++ PKGBUILD 2017-12-31 11:45:10 UTC (rev 277541)
@@ -4,24 +4,24 @@
_hkgname=parsers
pkgname=haskell-parsers
-pkgver=0.12.7
-pkgrel=5
+pkgver=0.12.8
+pkgrel=1
pkgdesc="Parsing combinators"
url="https://github.com/ekmett/parsers/"
license=("custom:BSD3")
arch=('x86_64')
-depends=('ghc-libs' "haskell-attoparsec" "haskell-base-orphans" "haskell-charset" "haskell-mtl"
- "haskell-parsec" "haskell-scientific" "haskell-semigroups" "haskell-text"
- "haskell-unordered-containers")
-makedepends=('ghc')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-base-orphans' 'haskell-charset' 'haskell-mtl'
+ 'haskell-parsec' 'haskell-scientific' 'haskell-semigroups' 'haskell-text'
+ 'haskell-unordered-containers')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-quickcheck-instances')
source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha512sums=('ce89f1ebcf0b74b213f533e720ea889f28f06a0f2ad3d6a6c91a587196366d459c33303dd5cfd844f43c7a0eb3b75fae4a41d315d53dde2895418e14bffa4a9c')
+sha512sums=('e38e2df58dad939c4402c3db5c33f656f71f3528d1b04223d0f19b340fa187c94145b19fc5a642fbfdc402b2d71fe3eaebc46d865b51a541a8b70cdad4d585e8')
build() {
cd "${srcdir}/${_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
@@ -30,6 +30,11 @@
sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
}
+check() {
+ cd $_hkgname-$pkgver
+ runhaskell Setup test
+}
+
package() {
cd "${srcdir}/${_hkgname}-${pkgver}"
More information about the arch-commits
mailing list