[arch-commits] Commit in haskell-regex-posix/trunk (PKGBUILD)
Rémy Oudompheng
remy at archlinux.org
Wed Dec 22 17:19:03 UTC 2010
Date: Wednesday, December 22, 2010 @ 12:19:02
Author: remy
Revision: 103743
upgpkg: haskell-regex-posix 0.94.4-1
Update for HP2011 alpha.
Modified:
haskell-regex-posix/trunk/PKGBUILD
----------+
PKGBUILD | 17 +++++++++--------
1 file changed, 9 insertions(+), 8 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2010-12-22 15:59:40 UTC (rev 103742)
+++ PKGBUILD 2010-12-22 17:19:02 UTC (rev 103743)
@@ -2,21 +2,22 @@
# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
_hkgname=regex-posix
pkgname=haskell-regex-posix
-pkgver=0.94.2
-pkgrel=2
+pkgver=0.94.4
+pkgrel=1
pkgdesc="The posix regex backend for regex-base"
-url="http://hackage.haskell.org/cgi-bin/hackage-scripts/package/regex-posix"
+url="http://hackage.haskell.org/package/${_hkgname}"
license=('custom:BSD3')
arch=('i686' 'x86_64')
depends=(ghc=7.0.1 sh 'haskell-regex-base=0.93.2')
options=('strip')
-source=(http://hackage.haskell.org/packages/archive/regex-posix/$pkgver/regex-posix-$pkgver.tar.gz)
-install=haskell-regex-posix.install
-md5sums=('e3ebbd6b66fdb2f8c4f0ad95c4580852')
+source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+install=${pkgname}.install
+md5sums=('c28a13e8329e93a19bbb51708bf64abb')
build() {
- cd ${srcdir}/${_hkgname}-$pkgver
- runhaskell Setup configure -O -p --enable-split-objs --enable-shared --prefix=/usr --docdir=/usr/share/doc/${pkgname}
+ cd ${srcdir}/${_hkgname}-${pkgver}
+ runhaskell Setup configure -O -p --enable-split-objs --enable-shared --prefix=/usr \
+ --docdir=/usr/share/doc/${pkgname} --libsubdir=\$compiler/site-local/\$pkgid
runhaskell Setup build
runhaskell Setup haddock
runhaskell Setup register --gen-script
More information about the arch-commits
mailing list