[arch-commits] Commit in haskell-packedstring/trunk (PKGBUILD)
Rémy Oudompheng
remy at archlinux.org
Fri Dec 31 07:41:15 UTC 2010
Date: Friday, December 31, 2010 @ 02:41:15
Author: remy
Revision: 104240
upgpkg: haskell-packedstring 0.1.0.1-5
Move to /usr/lib/ghc-7.0.1
Modified:
haskell-packedstring/trunk/PKGBUILD
----------+
PKGBUILD | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2010-12-31 07:33:42 UTC (rev 104239)
+++ PKGBUILD 2010-12-31 07:41:15 UTC (rev 104240)
@@ -4,20 +4,22 @@
_hkgname=packedstring
pkgname=haskell-packedstring
pkgver=0.1.0.1
-pkgrel=4
+pkgrel=5
pkgdesc="(Deprecated) Packed Strings."
-url="http://hackage.haskell.org/package/packedstring"
+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/packedstring/${pkgver}/packedstring-${pkgver}.tar.gz)
+source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
install=${pkgname}.install
md5sums=('ea0bdcb92f4c5bd78ac8bb7a654fcfb2')
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