[arch-commits] Commit in haskell-megaparsec/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Wed May 16 06:56:12 UTC 2018
Date: Wednesday, May 16, 2018 @ 06:56:11
Author: felixonmars
Revision: 322549
upgpkg: haskell-megaparsec 6.5.0-1
rebuild with megaparsec,6.5.0
Modified:
haskell-megaparsec/trunk/PKGBUILD
----------+
PKGBUILD | 13 +++++++------
1 file changed, 7 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-05-16 06:55:47 UTC (rev 322548)
+++ PKGBUILD 2018-05-16 06:56:11 UTC (rev 322549)
@@ -4,8 +4,8 @@
_hkgname=megaparsec
pkgname=haskell-megaparsec
-pkgver=6.4.1
-pkgrel=8
+pkgver=6.5.0
+pkgrel=1
pkgdesc="Monadic parser combinators"
url="https://github.com/mrkkrp/megaparsec"
license=("custom:BSD2")
@@ -12,12 +12,13 @@
arch=('x86_64')
depends=('ghc-libs' 'haskell-case-insensitive' 'haskell-mtl' 'haskell-parser-combinators'
'haskell-scientific' 'haskell-text')
-makedepends=('ghc' 'haskell-quickcheck' 'haskell-hspec' 'haskell-hspec-expectations')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-hspec' 'haskell-hspec-discover'
+ 'haskell-hspec-expectations')
source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha512sums=('24b02c5ec5ef27c923ea034b6d6dcaf49cc16e288d5b22b0befb399fbc7489d4884e4239888dd5fb70d9cb9bf99f41246fbaa7705a622874f4183fcb611df6a0')
+sha512sums=('4a8194909f2779bd82226a1f8fb6cce089820fa960249fdd723a4f54aa0c0d52436b4835431327be1164a7698d59059e866b694477407fae4d93c1ae42664011')
build() {
- cd "${srcdir}/${_hkgname}-${pkgver}"
+ cd $_hkgname-$pkgver
runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \
--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
@@ -36,7 +37,7 @@
}
package() {
- cd "${srcdir}/${_hkgname}-${pkgver}"
+ cd $_hkgname-$pkgver
install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
More information about the arch-commits
mailing list