[arch-commits] Commit in haskell-hunit/trunk (PKGBUILD)
Rémy Oudompheng
remy at archlinux.org
Wed Dec 22 10:44:32 UTC 2010
Date: Wednesday, December 22, 2010 @ 05:44:32
Author: remy
Revision: 103639
upgpkg: haskell-hunit 1.2.2.3-1
Update to 1.2.2.3 for HP2011 (alpha), install in /usr/lib/ghc-7.0.1
Modified:
haskell-hunit/trunk/PKGBUILD
----------+
PKGBUILD | 15 ++++++++-------
1 file changed, 8 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2010-12-22 10:23:52 UTC (rev 103638)
+++ PKGBUILD 2010-12-22 10:44:32 UTC (rev 103639)
@@ -2,21 +2,22 @@
# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
_hkgname=HUnit
pkgname=haskell-hunit
-pkgver=1.2.2.1
-pkgrel=4
+pkgver=1.2.2.3
+pkgrel=1
pkgdesc="A unit testing framework for Haskell"
-url="http://hackage.haskell.org/cgi-bin/hackage-scripts/package/${_hkgname}"
+url="http://hackage.haskell.org/package/${_hkgname}"
license=('custom:BSD3')
arch=('i686' 'x86_64')
depends=(ghc=7.0.1 sh)
options=('strip')
-source=(http://hackage.haskell.org/packages/archive/HUnit/$pkgver/HUnit-$pkgver.tar.gz)
+source=(http://hackage.haskell.org/packages/archive/${_hkgname}/$pkgver/${_hkgname}-$pkgver.tar.gz)
install=${pkgname}.install
-md5sums=('2634e94c27486f8e8feeb778f78c663f')
+md5sums=('f179add502f88153e5c9fdc69056b657')
build() {
- cd ${srcdir}/HUnit-$pkgver
- runhaskell Setup configure -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