diff options
author | Michał Masłowski <mtjm@mtjm.eu> | 2012-03-07 18:10:48 +0100 |
---|---|---|
committer | Michał Masłowski <mtjm@mtjm.eu> | 2012-03-07 18:10:48 +0100 |
commit | 61733e7ff1a756e9325154d9d52cdcdeb27d9097 (patch) | |
tree | a0f842807088c4986fb918be0de70bac3f18ea04 /community/haskell-binary | |
parent | 42badd081241c57a3b9bbd7a18dec85e64038314 (diff) | |
parent | 5a680f7689b01b4b7a0bfade1a6c1f659f8cbed4 (diff) |
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts:
community/bin2iso/PKGBUILD
community/espeak/PKGBUILD
community/gnash/PKGBUILD
community/gtk2hs-buildtools/PKGBUILD
community/haskell-binary/PKGBUILD
community/haskell-dataenc/PKGBUILD
community/haskell-ghc-paths/PKGBUILD
community/haskell-haskeline/PKGBUILD
community/haskell-hslogger/PKGBUILD
community/haskell-tar/PKGBUILD
community/haskell-terminfo/PKGBUILD
community/haskell-utf8-string/PKGBUILD
community/haskell-x11-xft/PKGBUILD
community/kmess/PKGBUILD
community/libident/PKGBUILD
community/lwm/PKGBUILD
core/dialog/PKGBUILD
core/gcc/PKGBUILD
core/libtool/PKGBUILD
core/ppl/PKGBUILD
extra/boost/PKGBUILD
extra/dnsmasq/PKGBUILD
extra/ghc/PKGBUILD
extra/haskell-html/PKGBUILD
extra/haskell-http/PKGBUILD
extra/haskell-mtl/PKGBUILD
extra/haskell-network/PKGBUILD
extra/haskell-parsec/PKGBUILD
extra/haskell-quickcheck/PKGBUILD
extra/haskell-regex-base/PKGBUILD
extra/haskell-regex-compat/PKGBUILD
extra/haskell-regex-posix/PKGBUILD
extra/haskell-text/PKGBUILD
extra/haskell-transformers/PKGBUILD
extra/haskell-zlib/PKGBUILD
extra/liborigin2/PKGBUILD
extra/libpst/PKGBUILD
extra/mkvtoolnix/PKGBUILD
extra/pekwm/PKGBUILD
extra/soprano/PKGBUILD
extra/udisks/PKGBUILD
multilib-testing/lib32-libpciaccess/PKGBUILD
multilib/gcc-multilib/PKGBUILD
multilib/lib32-glibc/PKGBUILD
multilib/lib32-glibc/glibc-2.12.2-ignore-origin-of-privileged-program.patch
multilib/lib32-glibc/glibc-2.15-ifunc.patch
multilib/lib32-glibc/glibc-2.15-revert-netlink-cache.patch
multilib/lib32-glibc/glibc-2.15-scanf.patch
multilib/libtool-multilib/PKGBUILD
staging/kdeedu-kig/PKGBUILD
staging/kdeedu-rocs/PKGBUILD
testing/libpciaccess/PKGBUILD
testing/mkinitcpio-busybox/PKGBUILD
testing/xorg-server/PKGBUILD
Diffstat (limited to 'community/haskell-binary')
-rw-r--r-- | community/haskell-binary/PKGBUILD | 10 | ||||
-rw-r--r-- | community/haskell-binary/haskell-binary.install | 24 |
2 files changed, 21 insertions, 13 deletions
diff --git a/community/haskell-binary/PKGBUILD b/community/haskell-binary/PKGBUILD index fd76ca872..c55afc770 100644 --- a/community/haskell-binary/PKGBUILD +++ b/community/haskell-binary/PKGBUILD @@ -1,18 +1,20 @@ +# $Id: PKGBUILD 67046 2012-03-03 16:09:33Z tdziedzic $ # Maintainer: Alexander Rødseth <rodseth@gmail.com> # Contributor: Vesa Kaihlavirta <vesa@archlinux.org> # Contributor: Arch Haskell Team <arch-haskell@haskell.org> + pkgname=haskell-binary -pkgver=0.5.0.2 -pkgrel=8 +pkgver=0.5.1.0 +pkgrel=1 pkgdesc="Binary serialisation for Haskell values using lazy ByteStrings" url="http://hackage.haskell.org/package/binary" license=('custom:BSD3') arch=('i686' 'x86_64' 'mips64el') -depends=(ghc=7.0.3-2 sh) +depends=(ghc=7.4.1 sh) options=('strip') source=("http://hackage.haskell.org/packages/archive/binary/$pkgver/binary-$pkgver.tar.gz") install=haskell-binary.install -md5sums=('6bf8f3d1441602c9ab09a75e3bd6e926') +sha256sums=('2ad477b47e9158d61517689f5f0c7b0240ff891059418d6758879020800351a3') build() { cd "$srcdir/binary-$pkgver" diff --git a/community/haskell-binary/haskell-binary.install b/community/haskell-binary/haskell-binary.install index 0084ebef8..844b8a67c 100644 --- a/community/haskell-binary/haskell-binary.install +++ b/community/haskell-binary/haskell-binary.install @@ -1,18 +1,24 @@ HS_DIR=usr/share/haskell/haskell-binary -post_install() { - ${HS_DIR}/register.sh - (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) -} + pre_upgrade() { ${HS_DIR}/unregister.sh } + +post_remove() { + (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) +} + post_upgrade() { ${HS_DIR}/register.sh - (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) + post_remove } -pre_remove() { - ${HS_DIR}/unregister.sh + +post_install() { + post_upgrade } -post_remove() { - (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) + +pre_remove() { + pre_upgrade } + +# vim:set ts=2 sw=2 et: |