[arch-commits] Commit in haskell-text/trunk (PKGBUILD haskell-text.install)
Rémy Oudompheng
remy at archlinux.org
Sat Nov 27 09:28:45 UTC 2010
Date: Saturday, November 27, 2010 @ 04:28:45
Author: remy
Revision: 100990
upgpkg: haskell-text 0.9.0.1-2
Rebuild for ghc-7.0.1
Modified:
haskell-text/trunk/PKGBUILD
haskell-text/trunk/haskell-text.install
----------------------+
PKGBUILD | 7 +++----
haskell-text.install | 11 ++++-------
2 files changed, 7 insertions(+), 11 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2010-11-27 09:15:27 UTC (rev 100989)
+++ PKGBUILD 2010-11-27 09:28:45 UTC (rev 100990)
@@ -2,16 +2,15 @@
# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
_hkgname=text
pkgname=haskell-text
-pkgrel=1.2
pkgver=0.9.0.1
+pkgrel=2
pkgdesc="An efficient packed Unicode text type."
url="http://hackage.haskell.org/package/text"
license=('custom:BSD3')
arch=('i686' 'x86_64')
-makedepends=()
-depends=('ghc' 'haskell-cabal' 'haskell-bytestring' 'haskell-deepseq>=1.1.0.0')
+depends=('ghc=7.0.1' sh 'haskell-deepseq>=1.1.0.0')
options=('strip')
-source=(http://hackage.haskell.org/packages/archive/text/0.9.0.1/text-0.9.0.1.tar.gz)
+source=(http://hackage.haskell.org/packages/archive/text/${pkgver}/text-${pkgver}.tar.gz)
install=haskell-text.install
md5sums=('9159889cbff41594707e366081582bc2')
Modified: haskell-text.install
===================================================================
--- haskell-text.install 2010-11-27 09:15:27 UTC (rev 100989)
+++ haskell-text.install 2010-11-27 09:28:45 UTC (rev 100990)
@@ -1,21 +1,18 @@
-HS_DIR=/usr/share/haskell/haskell-text
+HS_DIR=usr/share/haskell/haskell-text
post_install() {
${HS_DIR}/register.sh
- (cd /usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+ (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
}
pre_upgrade() {
${HS_DIR}/unregister.sh
}
post_upgrade() {
${HS_DIR}/register.sh
- (cd /usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+ (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
}
pre_remove() {
${HS_DIR}/unregister.sh
}
post_remove() {
- (cd /usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+ (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
}
-op=$1
-shift
-$op $*
More information about the arch-commits
mailing list