diff options
author | root <root@rshg054.dnsready.net> | 2012-09-12 00:03:33 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-09-12 00:03:33 +0000 |
commit | db1cd10264e7cd2810148efd50ce612288343839 (patch) | |
tree | 86a6657c9a3f606e6821f6af65bf2952fe56b6be /community-staging | |
parent | 870527386e33c72826da94aee783bb212b06c53a (diff) |
Wed Sep 12 00:03:32 UTC 2012
Diffstat (limited to 'community-staging')
-rw-r--r-- | community-staging/haskell-haskeline/PKGBUILD | 40 | ||||
-rw-r--r-- | community-staging/haskell-haskeline/haskell-haskeline.install | 18 | ||||
-rw-r--r-- | community-staging/haskell-hslogger/PKGBUILD | 36 | ||||
-rw-r--r-- | community-staging/haskell-hslogger/haskell-hslogger.install | 18 | ||||
-rw-r--r-- | community-staging/haskell-stm/PKGBUILD | 6 | ||||
-rw-r--r-- | community-staging/haskell-terminfo/PKGBUILD | 10 | ||||
-rw-r--r-- | community-staging/haskell-utf8-string/PKGBUILD | 39 | ||||
-rw-r--r-- | community-staging/haskell-utf8-string/haskell-utf8-string.install | 18 |
8 files changed, 177 insertions, 8 deletions
diff --git a/community-staging/haskell-haskeline/PKGBUILD b/community-staging/haskell-haskeline/PKGBUILD new file mode 100644 index 000000000..fe25fb84a --- /dev/null +++ b/community-staging/haskell-haskeline/PKGBUILD @@ -0,0 +1,40 @@ +# $Id: PKGBUILD 76055 2012-09-10 05:23:04Z tdziedzic $ +# Maintainer: Vesa Kaihlavirta <vegai@iki.fi> +# Contributor: Arch Haskell Team <arch-haskell@haskell.org> +# Package generated by cabal2arch 0.7.6 + +_hkgname=haskeline +pkgname=haskell-haskeline +pkgver=0.7.0.3 +pkgrel=1 +pkgdesc="A command-line interface for user input, written in Haskell." +url="http://hackage.haskell.org/package/haskeline" +license=('custom:BSD3') +arch=('i686' 'x86_64') +depends=('ghc=7.6.1-1' 'sh' 'haskell-utf8-string=0.3.7-3' 'haskell-mtl=2.1.2-1' 'haskell-terminfo=0.3.2.5-1') +source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +install=${pkgname}.install +md5sums=('3a78043dc80b5510202e71e77c0a9923') + +build() { + cd ${srcdir}/${_hkgname}-${pkgver} + runhaskell Setup configure \ + -O -p --enable-split-objs --enable-shared -fterminfo --prefix=/usr \ + --docdir=/usr/share/doc/${pkgname} --libsubdir=\$compiler/site-local/\$pkgid + runhaskell Setup build + runhaskell Setup haddock + runhaskell Setup register --gen-script + runhaskell Setup unregister --gen-script + sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +package() { + cd ${srcdir}/${_hkgname}-${pkgver} + install -D -m744 register.sh ${pkgdir}/usr/share/haskell/${pkgname}/register.sh + install -m744 unregister.sh ${pkgdir}/usr/share/haskell/${pkgname}/unregister.sh + install -d -m755 ${pkgdir}/usr/share/doc/ghc/html/libraries + ln -s /usr/share/doc/${pkgname}/html ${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname} + runhaskell Setup copy --destdir=${pkgdir} + install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE + rm -f ${pkgdir}/usr/share/doc/${pkgname}/LICENSE +} diff --git a/community-staging/haskell-haskeline/haskell-haskeline.install b/community-staging/haskell-haskeline/haskell-haskeline.install new file mode 100644 index 000000000..27cb4a093 --- /dev/null +++ b/community-staging/haskell-haskeline/haskell-haskeline.install @@ -0,0 +1,18 @@ +HS_DIR=usr/share/haskell/haskell-haskeline +post_install() { + ${HS_DIR}/register.sh + (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) +} +pre_remove() { + ${HS_DIR}/unregister.sh +} +post_remove() { + (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) +} diff --git a/community-staging/haskell-hslogger/PKGBUILD b/community-staging/haskell-hslogger/PKGBUILD new file mode 100644 index 000000000..a2338816c --- /dev/null +++ b/community-staging/haskell-hslogger/PKGBUILD @@ -0,0 +1,36 @@ +# $Id: PKGBUILD 76057 2012-09-10 05:31:32Z tdziedzic $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> +# Maintainer: Arch Haskell Team <arch-haskell@haskell.org> + +pkgname=haskell-hslogger +pkgver=1.2.0 +pkgrel=2 +pkgdesc="Versatile logging framework" +url="http://hackage.haskell.org/package/hslogger" +license=('LGPL') +arch=('i686' 'x86_64') +depends=('ghc=7.6.1-1' 'haskell-mtl=2.1.2-1' 'haskell-network=2.3.1.0-1') +install=${pkgname}.install +source=(http://hackage.haskell.org/packages/archive/hslogger/${pkgver}/hslogger-${pkgver}.tar.gz) +md5sums=('e0737887b0df75a3781989c8f6689850') + +build() { + cd ${srcdir}/hslogger-${pkgver} + runhaskell Setup configure -p --prefix=/usr --docdir=/usr/share/doc/${pkgname} -O \ + --enable-split-objs --enable-shared --libsubdir=\$compiler/site-local/\$pkgid \ + --enable-library-profiling + runhaskell Setup build + runhaskell Setup haddock + runhaskell Setup register --gen-script + runhaskell Setup unregister --gen-script + sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +package() { + cd ${srcdir}/hslogger-${pkgver} + install -D -m744 register.sh ${pkgdir}/usr/share/haskell/${pkgname}/register.sh + install -m744 unregister.sh ${pkgdir}/usr/share/haskell/${pkgname}/unregister.sh + install -d -m755 ${pkgdir}/usr/share/doc/ghc/html/libraries + ln -s /usr/share/doc/${pkgname}/html ${pkgdir}/usr/share/doc/ghc/html/libraries/hslogger + runhaskell Setup copy --destdir=${pkgdir} +} diff --git a/community-staging/haskell-hslogger/haskell-hslogger.install b/community-staging/haskell-hslogger/haskell-hslogger.install new file mode 100644 index 000000000..2a0d98ae7 --- /dev/null +++ b/community-staging/haskell-hslogger/haskell-hslogger.install @@ -0,0 +1,18 @@ +HS_DIR=usr/share/haskell/haskell-hslogger +post_install() { + ${HS_DIR}/register.sh + (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) +} +pre_remove() { + ${HS_DIR}/unregister.sh +} +post_remove() { + (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) +} diff --git a/community-staging/haskell-stm/PKGBUILD b/community-staging/haskell-stm/PKGBUILD index 764c8298d..fec52e949 100644 --- a/community-staging/haskell-stm/PKGBUILD +++ b/community-staging/haskell-stm/PKGBUILD @@ -3,8 +3,8 @@ # Package generated by cabal2arch 0.7.5 _hkgname=stm pkgname=haskell-stm -pkgver=2.3 -pkgrel=2 +pkgver=2.4 +pkgrel=1 pkgdesc="A modular composable concurrency abstraction." url="http://hackage.haskell.org/package/stm" license=('custom:BSD3') @@ -12,7 +12,7 @@ arch=('i686' 'x86_64') depends=('ghc=7.6.1-1' 'sh') source=(http://hackage.haskell.org/packages/archive/${_hkgname}/$pkgver/${_hkgname}-$pkgver.tar.gz) install=${pkgname}.install -md5sums=('fcaf091a492974045cc04b231a3b7c9c') +md5sums=('fe8ab1a8231202f1748da53454cf55fc') build() { cd ${srcdir}/${_hkgname}-$pkgver diff --git a/community-staging/haskell-terminfo/PKGBUILD b/community-staging/haskell-terminfo/PKGBUILD index 721cc062d..68ec58912 100644 --- a/community-staging/haskell-terminfo/PKGBUILD +++ b/community-staging/haskell-terminfo/PKGBUILD @@ -1,19 +1,19 @@ -# $Id: PKGBUILD 72224 2012-06-11 03:25:33Z tdziedzic $ +# $Id: PKGBUILD 76051 2012-09-10 04:51:28Z tdziedzic $ # Maintainer: Vesa Kaihlavirta <vegai@iki.fi> # Contributor: Arch Haskell Team <arch-haskell@haskell.org> _hkgname=terminfo pkgname=haskell-terminfo -pkgver=0.3.2.3 -pkgrel=2 +pkgver=0.3.2.5 +pkgrel=1 pkgdesc="Haskell bindings to the terminfo library." url="http://hackage.haskell.org/package/${_hkgname}" license=('custom:BSD3') arch=('i686' 'x86_64') -depends=('ghc=7.4.2-1' 'sh') +depends=('ghc=7.6.1-1' 'sh') source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) install=${pkgname}.install -md5sums=('706f546c629ac100a402c9c2629c25fa') +md5sums=('7ef09acfac9f6fc499ed3bb804ae2ab3') build() { cd ${srcdir}/${_hkgname}-${pkgver} diff --git a/community-staging/haskell-utf8-string/PKGBUILD b/community-staging/haskell-utf8-string/PKGBUILD new file mode 100644 index 000000000..0b24a3dc8 --- /dev/null +++ b/community-staging/haskell-utf8-string/PKGBUILD @@ -0,0 +1,39 @@ +# $Id: PKGBUILD 76053 2012-09-10 04:57:10Z tdziedzic $ +# Maintainer: Vesa Kaihlavirta <vegai@iki.fi> +# Contributor: Arch Haskell Team <arch-haskell@haskell.org> +# Package generated by cabal2arch 0.7.6 +_hkgname=utf8-string +pkgname=haskell-utf8-string +pkgver=0.3.7 +pkgrel=3 +pkgdesc="Support for reading and writing UTF8 Strings" +url="http://hackage.haskell.org/package/${_hkgname}" +license=('custom:BSD3') +arch=('i686' 'x86_64') +depends=('ghc=7.6.1-1' 'sh') +install=${pkgname}.install +source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +md5sums=('50e5c395713e716e0e4a56da73f87ccd') + +build() { + 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 + runhaskell Setup unregister --gen-script + sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +package() { + cd ${srcdir}/${_hkgname}-${pkgver} + install -D -m744 register.sh ${pkgdir}/usr/share/haskell/${pkgname}/register.sh + install -m744 unregister.sh ${pkgdir}/usr/share/haskell/${pkgname}/unregister.sh + install -d -m755 ${pkgdir}/usr/share/doc/ghc/html/libraries + ln -s /usr/share/doc/${pkgname}/html ${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname} + runhaskell Setup copy --destdir=${pkgdir} + install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE + rm -f ${pkgdir}/usr/share/doc/${pkgname}/LICENSE +} diff --git a/community-staging/haskell-utf8-string/haskell-utf8-string.install b/community-staging/haskell-utf8-string/haskell-utf8-string.install new file mode 100644 index 000000000..0f64366b2 --- /dev/null +++ b/community-staging/haskell-utf8-string/haskell-utf8-string.install @@ -0,0 +1,18 @@ +HS_DIR=usr/share/haskell/haskell-utf8-string +post_install() { + ${HS_DIR}/register.sh + (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) +} +pre_remove() { + ${HS_DIR}/unregister.sh +} +post_remove() { + (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) +} |