[arch-commits] Commit in haskell-regex-compat/trunk (PKGBUILD)
Rémy Oudompheng
remy at archlinux.org
Thu Dec 23 22:01:08 UTC 2010
Date: Thursday, December 23, 2010 @ 17:01:08
Author: remy
Revision: 103922
upgpkg: haskell-regex-compat 0.93.1-3
Rebuild for regex-posix update, install in /usr/lib/ghc-7.0.1
Modified:
haskell-regex-compat/trunk/PKGBUILD
----------+
PKGBUILD | 15 ++++++++-------
1 file changed, 8 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2010-12-23 19:55:55 UTC (rev 103921)
+++ PKGBUILD 2010-12-23 22:01:08 UTC (rev 103922)
@@ -3,20 +3,21 @@
_hkgname=regex-compat
pkgname=haskell-regex-compat
pkgver=0.93.1
-pkgrel=2
+pkgrel=3
pkgdesc="Replaces and enhances Text.Regex"
-url="http://hackage.haskell.org/package/regex-compat"
+url="http://hackage.haskell.org/package/${_hkgname}"
license=('custom:BSD3')
arch=('i686' 'x86_64')
-depends=(ghc=7.0.1 sh 'haskell-regex-base' 'haskell-regex-posix')
+depends=(ghc=7.0.1 sh 'haskell-regex-base' 'haskell-regex-posix=0.94.4')
options=('strip')
-source=(http://hackage.haskell.org/packages/archive/regex-compat/$pkgver/regex-compat-$pkgver.tar.gz)
-install=haskell-regex-compat.install
+source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+install=${pkgname}.install
md5sums=('d6becec95ea8098cab663116fdce60a5')
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