[arch-commits] Commit in haskell-parsec/trunk (PKGBUILD)
Rémy Oudompheng
remy at archlinux.org
Sat Oct 30 09:09:10 UTC 2010
Date: Saturday, October 30, 2010 @ 05:09:10
Author: remy
Revision: 97413
upgpkg: haskell-parsec 3.1.0-1
Update to 3.1.0
Modified:
haskell-parsec/trunk/PKGBUILD
----------+
PKGBUILD | 18 ++++++++++--------
1 file changed, 10 insertions(+), 8 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2010-10-30 09:00:04 UTC (rev 97412)
+++ PKGBUILD 2010-10-30 09:09:10 UTC (rev 97413)
@@ -1,26 +1,28 @@
# Maintainer: Vesa Kaihlavirta <vesa at archlinux.org>
# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
-# Package generated by cabal2arch 0.7.5
+# As generated by cabal2arch 0.7.6
+_hkgname=parsec
pkgname=haskell-parsec
-pkgver=2.1.0.1
-pkgrel=4
+pkgver=3.1.0
+pkgrel=1
pkgdesc="Monadic parser combinators"
-url="http://hackage.haskell.org/package/parsec"
+url="http://hackage.haskell.org/package/${_hkgname}"
license=('custom:BSD3')
arch=('i686' 'x86_64')
-depends=(ghc=6.12.3 sh)
+depends=(ghc=6.12.3 sh 'haskell-mtl')
options=('strip' 'force')
-source=(http://hackage.haskell.org/packages/archive/parsec/$pkgver/parsec-$pkgver.tar.gz)
+source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
install=haskell-parsec.install
-md5sums=('557d935019ec4d966f2103fdf1a8c559')
+md5sums=('310bf233dcf8ec678c427b1198700b53')
build() {
cd $srcdir/parsec-$pkgver
- runhaskell Setup configure -p --enable-shared --enable-split-objs --prefix=/usr --docdir=/usr/share/doc/${pkgname}
+ runhaskell Setup configure -O -p --enable-shared --enable-split-objs --prefix=/usr --docdir=/usr/share/doc/${pkgname}
runhaskell Setup build
runhaskell Setup haddock
runhaskell Setup register --gen-script
runhaskell Setup unregister --gen-script
+ sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
}
package() {
More information about the arch-commits
mailing list