[arch-commits] Commit in haskell-dataenc/repos (8 files)
Date: Thursday, December 10, 2015 @ 16:27:01 Author: fyan Revision: 152249 archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: haskell-dataenc/repos/community-staging-i686/ haskell-dataenc/repos/community-staging-i686/PKGBUILD (from rev 152246, haskell-dataenc/trunk/PKGBUILD) haskell-dataenc/repos/community-staging-i686/haskell-dataenc.install (from rev 152246, haskell-dataenc/trunk/haskell-dataenc.install) haskell-dataenc/repos/community-staging-i686/update-build-deps-ghc-7.10.1.patch (from rev 152246, haskell-dataenc/trunk/update-build-deps-ghc-7.10.1.patch) haskell-dataenc/repos/community-staging-x86_64/ haskell-dataenc/repos/community-staging-x86_64/PKGBUILD (from rev 152247, haskell-dataenc/trunk/PKGBUILD) haskell-dataenc/repos/community-staging-x86_64/haskell-dataenc.install (from rev 152247, haskell-dataenc/trunk/haskell-dataenc.install) haskell-dataenc/repos/community-staging-x86_64/update-build-deps-ghc-7.10.1.patch (from rev 152247, haskell-dataenc/trunk/update-build-deps-ghc-7.10.1.patch) -+ community-staging-i686/PKGBUILD | 47 ++ community-staging-i686/haskell-dataenc.install | 18 +++ community-staging-i686/update-build-deps-ghc-7.10.1.patch | 12 ++ community-staging-x86_64/PKGBUILD | 47 ++ community-staging-x86_64/haskell-dataenc.install| 18 +++ community-staging-x86_64/update-build-deps-ghc-7.10.1.patch | 12 ++ 6 files changed, 154 insertions(+) Copied: haskell-dataenc/repos/community-staging-i686/PKGBUILD (from rev 152246, haskell-dataenc/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2015-12-10 15:27:01 UTC (rev 152249) @@ -0,0 +1,47 @@ +# $Id$ +# Maintainer: Vesa Kaihlavirta+# Contributor: Arch Haskell Team +# Package generated by cabal2arch 0.7.5 + +_hkgname=dataenc +pkgname=haskell-dataenc +pkgver=0.14.0.7 +pkgrel=7 +pkgdesc="Data encoding library" +url="http://hackage.haskell.org/package/dataenc; +license=('custom:BSD3') +arch=('i686' 'x86_64') +depends=('ghc=7.10.3' 'sh') +install=${pkgname}.install +options=('staticlibs') +source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz update-build-deps-ghc-7.10.1.patch) + +prepare(){ + patch -Np0 -i $srcdir/update-build-deps-ghc-7.10.1.patch +} + +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 +} +md5sums=('28491649dbeafb9512b4ea187cc6fddf' + '0792888a886449c0ac15183b21c8bc7a') Copied: haskell-dataenc/repos/community-staging-i686/haskell-dataenc.install (from rev 152246, haskell-dataenc/trunk/haskell-dataenc.install) === --- community-staging-i686/haskell-dataenc.install (rev 0) +++ community-staging-i686/haskell-dataenc.install 2015-12-10 15:27:01 UTC (rev 152249) @@ -0,0 +1,18 @@ +HS_DIR=usr/share/haskell/haskell-dataenc +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) +} Copied: haskell-dataenc/repos/community-staging-i686/update-build-deps-ghc-7.10.1.patch (from rev 152246, haskell-dataenc/trunk/update-build-deps-ghc-7.10.1.patch) === --- community-staging-i686/update-build-deps-ghc-7.10.1.patch (rev 0) +++
[arch-commits] Commit in haskell-dataenc/repos (8 files)
Date: Wednesday, October 7, 2015 @ 01:43:35 Author: foutrelis Revision: 143067 archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: haskell-dataenc/repos/community-staging-i686/ haskell-dataenc/repos/community-staging-i686/PKGBUILD (from rev 143066, haskell-dataenc/trunk/PKGBUILD) haskell-dataenc/repos/community-staging-i686/haskell-dataenc.install (from rev 143066, haskell-dataenc/trunk/haskell-dataenc.install) haskell-dataenc/repos/community-staging-i686/update-build-deps-ghc-7.10.1.patch (from rev 143066, haskell-dataenc/trunk/update-build-deps-ghc-7.10.1.patch) haskell-dataenc/repos/community-staging-x86_64/ haskell-dataenc/repos/community-staging-x86_64/PKGBUILD (from rev 143066, haskell-dataenc/trunk/PKGBUILD) haskell-dataenc/repos/community-staging-x86_64/haskell-dataenc.install (from rev 143066, haskell-dataenc/trunk/haskell-dataenc.install) haskell-dataenc/repos/community-staging-x86_64/update-build-deps-ghc-7.10.1.patch (from rev 143066, haskell-dataenc/trunk/update-build-deps-ghc-7.10.1.patch) -+ community-staging-i686/PKGBUILD | 47 ++ community-staging-i686/haskell-dataenc.install | 18 +++ community-staging-i686/update-build-deps-ghc-7.10.1.patch | 12 ++ community-staging-x86_64/PKGBUILD | 47 ++ community-staging-x86_64/haskell-dataenc.install| 18 +++ community-staging-x86_64/update-build-deps-ghc-7.10.1.patch | 12 ++ 6 files changed, 154 insertions(+) Copied: haskell-dataenc/repos/community-staging-i686/PKGBUILD (from rev 143066, haskell-dataenc/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2015-10-06 23:43:35 UTC (rev 143067) @@ -0,0 +1,47 @@ +# $Id$ +# Maintainer: Vesa Kaihlavirta+# Contributor: Arch Haskell Team +# Package generated by cabal2arch 0.7.5 + +_hkgname=dataenc +pkgname=haskell-dataenc +pkgver=0.14.0.7 +pkgrel=5 +pkgdesc="Data encoding library" +url="http://hackage.haskell.org/package/dataenc; +license=('custom:BSD3') +arch=('i686' 'x86_64') +depends=('ghc=7.10.1' 'sh') +install=${pkgname}.install +options=('staticlibs') +source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz update-build-deps-ghc-7.10.1.patch) + +prepare(){ + patch -Np0 -i $srcdir/update-build-deps-ghc-7.10.1.patch +} + +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 +} +md5sums=('28491649dbeafb9512b4ea187cc6fddf' + '0792888a886449c0ac15183b21c8bc7a') Copied: haskell-dataenc/repos/community-staging-i686/haskell-dataenc.install (from rev 143066, haskell-dataenc/trunk/haskell-dataenc.install) === --- community-staging-i686/haskell-dataenc.install (rev 0) +++ community-staging-i686/haskell-dataenc.install 2015-10-06 23:43:35 UTC (rev 143067) @@ -0,0 +1,18 @@ +HS_DIR=usr/share/haskell/haskell-dataenc +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) +} Copied: haskell-dataenc/repos/community-staging-i686/update-build-deps-ghc-7.10.1.patch (from rev 143066, haskell-dataenc/trunk/update-build-deps-ghc-7.10.1.patch) === --- community-staging-i686/update-build-deps-ghc-7.10.1.patch (rev 0) +++
[arch-commits] Commit in haskell-dataenc/repos (8 files)
Date: Thursday, September 10, 2015 @ 22:30:39 Author: foutrelis Revision: 139835 archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: haskell-dataenc/repos/community-staging-i686/ haskell-dataenc/repos/community-staging-i686/PKGBUILD (from rev 139834, haskell-dataenc/trunk/PKGBUILD) haskell-dataenc/repos/community-staging-i686/haskell-dataenc.install (from rev 139834, haskell-dataenc/trunk/haskell-dataenc.install) haskell-dataenc/repos/community-staging-i686/update-build-deps-ghc-7.10.1.patch (from rev 139834, haskell-dataenc/trunk/update-build-deps-ghc-7.10.1.patch) haskell-dataenc/repos/community-staging-x86_64/ haskell-dataenc/repos/community-staging-x86_64/PKGBUILD (from rev 139834, haskell-dataenc/trunk/PKGBUILD) haskell-dataenc/repos/community-staging-x86_64/haskell-dataenc.install (from rev 139834, haskell-dataenc/trunk/haskell-dataenc.install) haskell-dataenc/repos/community-staging-x86_64/update-build-deps-ghc-7.10.1.patch (from rev 139834, haskell-dataenc/trunk/update-build-deps-ghc-7.10.1.patch) -+ community-staging-i686/PKGBUILD | 47 ++ community-staging-i686/haskell-dataenc.install | 18 +++ community-staging-i686/update-build-deps-ghc-7.10.1.patch | 12 ++ community-staging-x86_64/PKGBUILD | 47 ++ community-staging-x86_64/haskell-dataenc.install| 18 +++ community-staging-x86_64/update-build-deps-ghc-7.10.1.patch | 12 ++ 6 files changed, 154 insertions(+) Copied: haskell-dataenc/repos/community-staging-i686/PKGBUILD (from rev 139834, haskell-dataenc/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2015-09-10 20:30:39 UTC (rev 139835) @@ -0,0 +1,47 @@ +# $Id$ +# Maintainer: Vesa Kaihlavirta+# Contributor: Arch Haskell Team +# Package generated by cabal2arch 0.7.5 + +_hkgname=dataenc +pkgname=haskell-dataenc +pkgver=0.14.0.7 +pkgrel=4 +pkgdesc="Data encoding library" +url="http://hackage.haskell.org/package/dataenc; +license=('custom:BSD3') +arch=('i686' 'x86_64') +depends=('ghc=7.10.1' 'sh') +install=${pkgname}.install +options=('staticlibs') +source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz update-build-deps-ghc-7.10.1.patch) + +prepare(){ + patch -Np0 -i $srcdir/update-build-deps-ghc-7.10.1.patch +} + +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 +} +md5sums=('28491649dbeafb9512b4ea187cc6fddf' + '0792888a886449c0ac15183b21c8bc7a') Copied: haskell-dataenc/repos/community-staging-i686/haskell-dataenc.install (from rev 139834, haskell-dataenc/trunk/haskell-dataenc.install) === --- community-staging-i686/haskell-dataenc.install (rev 0) +++ community-staging-i686/haskell-dataenc.install 2015-09-10 20:30:39 UTC (rev 139835) @@ -0,0 +1,18 @@ +HS_DIR=usr/share/haskell/haskell-dataenc +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) +} Copied: haskell-dataenc/repos/community-staging-i686/update-build-deps-ghc-7.10.1.patch (from rev 139834, haskell-dataenc/trunk/update-build-deps-ghc-7.10.1.patch) === --- community-staging-i686/update-build-deps-ghc-7.10.1.patch (rev 0) +++
[arch-commits] Commit in haskell-dataenc/repos (8 files)
Date: Tuesday, March 31, 2015 @ 19:20:13 Author: jelle Revision: 130419 archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: haskell-dataenc/repos/community-staging-i686/ haskell-dataenc/repos/community-staging-i686/PKGBUILD (from rev 130418, haskell-dataenc/trunk/PKGBUILD) haskell-dataenc/repos/community-staging-i686/haskell-dataenc.install (from rev 130418, haskell-dataenc/trunk/haskell-dataenc.install) haskell-dataenc/repos/community-staging-i686/update-build-deps-ghc-7.10.1.patch (from rev 130418, haskell-dataenc/trunk/update-build-deps-ghc-7.10.1.patch) haskell-dataenc/repos/community-staging-x86_64/ haskell-dataenc/repos/community-staging-x86_64/PKGBUILD (from rev 130418, haskell-dataenc/trunk/PKGBUILD) haskell-dataenc/repos/community-staging-x86_64/haskell-dataenc.install (from rev 130418, haskell-dataenc/trunk/haskell-dataenc.install) haskell-dataenc/repos/community-staging-x86_64/update-build-deps-ghc-7.10.1.patch (from rev 130418, haskell-dataenc/trunk/update-build-deps-ghc-7.10.1.patch) -+ community-staging-i686/PKGBUILD | 47 ++ community-staging-i686/haskell-dataenc.install | 18 +++ community-staging-i686/update-build-deps-ghc-7.10.1.patch | 12 ++ community-staging-x86_64/PKGBUILD | 47 ++ community-staging-x86_64/haskell-dataenc.install| 18 +++ community-staging-x86_64/update-build-deps-ghc-7.10.1.patch | 12 ++ 6 files changed, 154 insertions(+) Copied: haskell-dataenc/repos/community-staging-i686/PKGBUILD (from rev 130418, haskell-dataenc/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2015-03-31 17:20:13 UTC (rev 130419) @@ -0,0 +1,47 @@ +# $Id$ +# Maintainer: Vesa Kaihlavirta v...@archlinux.org +# Contributor: Arch Haskell Team arch-hask...@haskell.org +# Package generated by cabal2arch 0.7.5 + +_hkgname=dataenc +pkgname=haskell-dataenc +pkgver=0.14.0.7 +pkgrel=3 +pkgdesc=Data encoding library +url=http://hackage.haskell.org/package/dataenc; +license=('custom:BSD3') +arch=('i686' 'x86_64') +depends=('ghc=7.10.1' 'sh') +install=${pkgname}.install +options=('staticlibs') +source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz update-build-deps-ghc-7.10.1.patch) + +prepare(){ + patch -Np0 -i $srcdir/update-build-deps-ghc-7.10.1.patch +} + +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 +} +md5sums=('28491649dbeafb9512b4ea187cc6fddf' + '0792888a886449c0ac15183b21c8bc7a') Copied: haskell-dataenc/repos/community-staging-i686/haskell-dataenc.install (from rev 130418, haskell-dataenc/trunk/haskell-dataenc.install) === --- community-staging-i686/haskell-dataenc.install (rev 0) +++ community-staging-i686/haskell-dataenc.install 2015-03-31 17:20:13 UTC (rev 130419) @@ -0,0 +1,18 @@ +HS_DIR=usr/share/haskell/haskell-dataenc +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) +} Copied: haskell-dataenc/repos/community-staging-i686/update-build-deps-ghc-7.10.1.patch (from rev 130418, haskell-dataenc/trunk/update-build-deps-ghc-7.10.1.patch) === --- community-staging-i686/update-build-deps-ghc-7.10.1.patch (rev 0) +++
[arch-commits] Commit in haskell-dataenc/repos (8 files)
Date: Friday, December 26, 2014 @ 12:30:39 Author: jelle Revision: 124629 archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: haskell-dataenc/repos/community-staging-i686/ haskell-dataenc/repos/community-staging-i686/0001-update-build-deps-for-ghc-7.8.2.patch (from rev 124628, haskell-dataenc/trunk/0001-update-build-deps-for-ghc-7.8.2.patch) haskell-dataenc/repos/community-staging-i686/PKGBUILD (from rev 124628, haskell-dataenc/trunk/PKGBUILD) haskell-dataenc/repos/community-staging-i686/haskell-dataenc.install (from rev 124628, haskell-dataenc/trunk/haskell-dataenc.install) haskell-dataenc/repos/community-staging-x86_64/ haskell-dataenc/repos/community-staging-x86_64/0001-update-build-deps-for-ghc-7.8.2.patch (from rev 124628, haskell-dataenc/trunk/0001-update-build-deps-for-ghc-7.8.2.patch) haskell-dataenc/repos/community-staging-x86_64/PKGBUILD (from rev 124628, haskell-dataenc/trunk/PKGBUILD) haskell-dataenc/repos/community-staging-x86_64/haskell-dataenc.install (from rev 124628, haskell-dataenc/trunk/haskell-dataenc.install) -+ community-staging-i686/0001-update-build-deps-for-ghc-7.8.2.patch | 12 ++ community-staging-i686/PKGBUILD | 42 ++ community-staging-i686/haskell-dataenc.install | 18 community-staging-x86_64/0001-update-build-deps-for-ghc-7.8.2.patch | 12 ++ community-staging-x86_64/PKGBUILD | 42 ++ community-staging-x86_64/haskell-dataenc.install| 18 6 files changed, 144 insertions(+) Copied: haskell-dataenc/repos/community-staging-i686/0001-update-build-deps-for-ghc-7.8.2.patch (from rev 124628, haskell-dataenc/trunk/0001-update-build-deps-for-ghc-7.8.2.patch) === --- community-staging-i686/0001-update-build-deps-for-ghc-7.8.2.patch (rev 0) +++ community-staging-i686/0001-update-build-deps-for-ghc-7.8.2.patch 2014-12-26 11:30:39 UTC (rev 124629) @@ -0,0 +1,12 @@ +diff -aur dataenc-0.14.0.5/dataenc.cabal dataenc-0.14.0.5-new/dataenc.cabal +--- dataenc-0.14.0.5/dataenc.cabal 2012-12-30 11:30:27.0 +0100 dataenc-0.14.0.5-new/dataenc.cabal 2014-04-27 22:01:21.640940945 +0200 +@@ -21,7 +21,7 @@ + + library + hs-source-dirs: src +-build-depends: array = 0.1.0 0.5, base = 3.0.0 4.7, containers = 0.1.0 0.6 ++build-depends: array = 0.1.0 = 0.5.0.0, base = 3.0.0 = 4.7.0.1, containers = 0.1.0 0.6 + exposed-modules: + Codec.Binary.Base16 + Codec.Binary.Base32 Copied: haskell-dataenc/repos/community-staging-i686/PKGBUILD (from rev 124628, haskell-dataenc/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2014-12-26 11:30:39 UTC (rev 124629) @@ -0,0 +1,42 @@ +# $Id$ +# Maintainer: Vesa Kaihlavirta v...@archlinux.org +# Contributor: Arch Haskell Team arch-hask...@haskell.org +# Package generated by cabal2arch 0.7.5 + +_hkgname=dataenc +pkgname=haskell-dataenc +pkgver=0.14.0.7 +pkgrel=1 +pkgdesc=Data encoding library +url=http://hackage.haskell.org/package/dataenc; +license=('custom:BSD3') +arch=('i686' 'x86_64') +depends=('ghc=7.8.3' 'sh') +install=${pkgname}.install +options=('staticlibs') +source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +md5sums=('28491649dbeafb9512b4ea187cc6fddf') + +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 +} Copied: haskell-dataenc/repos/community-staging-i686/haskell-dataenc.install (from rev 124628, haskell-dataenc/trunk/haskell-dataenc.install) === ---
[arch-commits] Commit in haskell-dataenc/repos (8 files)
Date: Friday, July 11, 2014 @ 21:52:02 Author: jelle Revision: 115480 archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: haskell-dataenc/repos/community-staging-i686/ haskell-dataenc/repos/community-staging-i686/0001-update-build-deps-for-ghc-7.8.2.patch (from rev 115479, haskell-dataenc/trunk/0001-update-build-deps-for-ghc-7.8.2.patch) haskell-dataenc/repos/community-staging-i686/PKGBUILD (from rev 115479, haskell-dataenc/trunk/PKGBUILD) haskell-dataenc/repos/community-staging-i686/haskell-dataenc.install (from rev 115479, haskell-dataenc/trunk/haskell-dataenc.install) haskell-dataenc/repos/community-staging-x86_64/ haskell-dataenc/repos/community-staging-x86_64/0001-update-build-deps-for-ghc-7.8.2.patch (from rev 115479, haskell-dataenc/trunk/0001-update-build-deps-for-ghc-7.8.2.patch) haskell-dataenc/repos/community-staging-x86_64/PKGBUILD (from rev 115479, haskell-dataenc/trunk/PKGBUILD) haskell-dataenc/repos/community-staging-x86_64/haskell-dataenc.install (from rev 115479, haskell-dataenc/trunk/haskell-dataenc.install) -+ community-staging-i686/0001-update-build-deps-for-ghc-7.8.2.patch | 12 ++ community-staging-i686/PKGBUILD | 49 ++ community-staging-i686/haskell-dataenc.install | 18 +++ community-staging-x86_64/0001-update-build-deps-for-ghc-7.8.2.patch | 12 ++ community-staging-x86_64/PKGBUILD | 49 ++ community-staging-x86_64/haskell-dataenc.install| 18 +++ 6 files changed, 158 insertions(+) Copied: haskell-dataenc/repos/community-staging-i686/0001-update-build-deps-for-ghc-7.8.2.patch (from rev 115479, haskell-dataenc/trunk/0001-update-build-deps-for-ghc-7.8.2.patch) === --- community-staging-i686/0001-update-build-deps-for-ghc-7.8.2.patch (rev 0) +++ community-staging-i686/0001-update-build-deps-for-ghc-7.8.2.patch 2014-07-11 19:52:02 UTC (rev 115480) @@ -0,0 +1,12 @@ +diff -aur dataenc-0.14.0.5/dataenc.cabal dataenc-0.14.0.5-new/dataenc.cabal +--- dataenc-0.14.0.5/dataenc.cabal 2012-12-30 11:30:27.0 +0100 dataenc-0.14.0.5-new/dataenc.cabal 2014-04-27 22:01:21.640940945 +0200 +@@ -21,7 +21,7 @@ + + library + hs-source-dirs: src +-build-depends: array = 0.1.0 0.5, base = 3.0.0 4.7, containers = 0.1.0 0.6 ++build-depends: array = 0.1.0 = 0.5.0.0, base = 3.0.0 = 4.7.0.1, containers = 0.1.0 0.6 + exposed-modules: + Codec.Binary.Base16 + Codec.Binary.Base32 Copied: haskell-dataenc/repos/community-staging-i686/PKGBUILD (from rev 115479, haskell-dataenc/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2014-07-11 19:52:02 UTC (rev 115480) @@ -0,0 +1,49 @@ +# $Id$ +# Maintainer: Vesa Kaihlavirta v...@archlinux.org +# Contributor: Arch Haskell Team arch-hask...@haskell.org +# Package generated by cabal2arch 0.7.5 + +_hkgname=dataenc +pkgname=haskell-dataenc +pkgver=0.14.0.5 +pkgrel=4 +pkgdesc=Data encoding library +url=http://hackage.haskell.org/package/dataenc; +license=('custom:BSD3') +arch=('i686' 'x86_64') +depends=('ghc=7.8.3' 'sh') +install=${pkgname}.install +options=('staticlibs') +source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz +'0001-update-build-deps-for-ghc-7.8.2.patch') +md5sums=('4da812ca7a1640a5fdcc676009ab160c' + 'f951ffad1cc32bec019003a5364a963b') + +prepare() { +cd ${srcdir}/${_hkgname}-${pkgver} +patch -Np1 -i $srcdir/0001-update-build-deps-for-ghc-7.8.2.patch +} + +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 +} Copied:
[arch-commits] Commit in haskell-dataenc/repos (8 files)
Date: Sunday, April 27, 2014 @ 22:06:04 Author: jelle Revision: 110260 archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: haskell-dataenc/repos/community-staging-i686/ haskell-dataenc/repos/community-staging-i686/0001-update-build-deps-for-ghc-7.8.2.patch (from rev 110259, haskell-dataenc/trunk/0001-update-build-deps-for-ghc-7.8.2.patch) haskell-dataenc/repos/community-staging-i686/PKGBUILD (from rev 110259, haskell-dataenc/trunk/PKGBUILD) haskell-dataenc/repos/community-staging-i686/haskell-dataenc.install (from rev 110259, haskell-dataenc/trunk/haskell-dataenc.install) haskell-dataenc/repos/community-staging-x86_64/ haskell-dataenc/repos/community-staging-x86_64/0001-update-build-deps-for-ghc-7.8.2.patch (from rev 110259, haskell-dataenc/trunk/0001-update-build-deps-for-ghc-7.8.2.patch) haskell-dataenc/repos/community-staging-x86_64/PKGBUILD (from rev 110259, haskell-dataenc/trunk/PKGBUILD) haskell-dataenc/repos/community-staging-x86_64/haskell-dataenc.install (from rev 110259, haskell-dataenc/trunk/haskell-dataenc.install) -+ community-staging-i686/0001-update-build-deps-for-ghc-7.8.2.patch | 12 ++ community-staging-i686/PKGBUILD | 49 ++ community-staging-i686/haskell-dataenc.install | 18 +++ community-staging-x86_64/0001-update-build-deps-for-ghc-7.8.2.patch | 12 ++ community-staging-x86_64/PKGBUILD | 49 ++ community-staging-x86_64/haskell-dataenc.install| 18 +++ 6 files changed, 158 insertions(+) Copied: haskell-dataenc/repos/community-staging-i686/0001-update-build-deps-for-ghc-7.8.2.patch (from rev 110259, haskell-dataenc/trunk/0001-update-build-deps-for-ghc-7.8.2.patch) === --- community-staging-i686/0001-update-build-deps-for-ghc-7.8.2.patch (rev 0) +++ community-staging-i686/0001-update-build-deps-for-ghc-7.8.2.patch 2014-04-27 20:06:04 UTC (rev 110260) @@ -0,0 +1,12 @@ +diff -aur dataenc-0.14.0.5/dataenc.cabal dataenc-0.14.0.5-new/dataenc.cabal +--- dataenc-0.14.0.5/dataenc.cabal 2012-12-30 11:30:27.0 +0100 dataenc-0.14.0.5-new/dataenc.cabal 2014-04-27 22:01:21.640940945 +0200 +@@ -21,7 +21,7 @@ + + library + hs-source-dirs: src +-build-depends: array = 0.1.0 0.5, base = 3.0.0 4.7, containers = 0.1.0 0.6 ++build-depends: array = 0.1.0 = 0.5.0.0, base = 3.0.0 = 4.7.0.0, containers = 0.1.0 0.6 + exposed-modules: + Codec.Binary.Base16 + Codec.Binary.Base32 Copied: haskell-dataenc/repos/community-staging-i686/PKGBUILD (from rev 110259, haskell-dataenc/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2014-04-27 20:06:04 UTC (rev 110260) @@ -0,0 +1,49 @@ +# $Id$ +# Maintainer: Vesa Kaihlavirta v...@archlinux.org +# Contributor: Arch Haskell Team arch-hask...@haskell.org +# Package generated by cabal2arch 0.7.5 + +_hkgname=dataenc +pkgname=haskell-dataenc +pkgver=0.14.0.5 +pkgrel=3 +pkgdesc=Data encoding library +url=http://hackage.haskell.org/package/dataenc; +license=('custom:BSD3') +arch=('i686' 'x86_64') +depends=('ghc=7.8.2-2' sh) +install=${pkgname}.install +options=('staticlibs') +source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz +'0001-update-build-deps-for-ghc-7.8.2.patch') +md5sums=('4da812ca7a1640a5fdcc676009ab160c' + '9fead0d2676158c60290d85ca7899718') + +prepare() { +cd ${srcdir}/${_hkgname}-${pkgver} +patch -Np1 -i $srcdir/0001-update-build-deps-for-ghc-7.8.2.patch +} + +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 +} Copied:
[arch-commits] Commit in haskell-dataenc/repos (8 files)
Date: Thursday, April 25, 2013 @ 11:38:19 Author: jelle Revision: 88970 archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: haskell-dataenc/repos/community-staging-i686/ haskell-dataenc/repos/community-staging-i686/0001-update-build-deps-for-ghc-7.6.1.patch (from rev 88969, haskell-dataenc/trunk/0001-update-build-deps-for-ghc-7.6.1.patch) haskell-dataenc/repos/community-staging-i686/PKGBUILD (from rev 88969, haskell-dataenc/trunk/PKGBUILD) haskell-dataenc/repos/community-staging-i686/haskell-dataenc.install (from rev 88969, haskell-dataenc/trunk/haskell-dataenc.install) haskell-dataenc/repos/community-staging-x86_64/ haskell-dataenc/repos/community-staging-x86_64/0001-update-build-deps-for-ghc-7.6.1.patch (from rev 88969, haskell-dataenc/trunk/0001-update-build-deps-for-ghc-7.6.1.patch) haskell-dataenc/repos/community-staging-x86_64/PKGBUILD (from rev 88969, haskell-dataenc/trunk/PKGBUILD) haskell-dataenc/repos/community-staging-x86_64/haskell-dataenc.install (from rev 88969, haskell-dataenc/trunk/haskell-dataenc.install) -+ community-staging-i686/0001-update-build-deps-for-ghc-7.6.1.patch | 25 + community-staging-i686/PKGBUILD | 46 ++ community-staging-i686/haskell-dataenc.install | 18 +++ community-staging-x86_64/0001-update-build-deps-for-ghc-7.6.1.patch | 25 + community-staging-x86_64/PKGBUILD | 46 ++ community-staging-x86_64/haskell-dataenc.install| 18 +++ 6 files changed, 178 insertions(+) Copied: haskell-dataenc/repos/community-staging-i686/0001-update-build-deps-for-ghc-7.6.1.patch (from rev 88969, haskell-dataenc/trunk/0001-update-build-deps-for-ghc-7.6.1.patch) === --- community-staging-i686/0001-update-build-deps-for-ghc-7.6.1.patch (rev 0) +++ community-staging-i686/0001-update-build-deps-for-ghc-7.6.1.patch 2013-04-25 09:38:19 UTC (rev 88970) @@ -0,0 +1,25 @@ +From 961892779b5f5a2f46d6baa44c31d06c39e56470 Mon Sep 17 00:00:00 2001 +From: Thomas Dziedzic gos...@gmail.com +Date: Tue, 11 Sep 2012 05:06:59 -0700 +Subject: [PATCH] update build deps for ghc 7.6.1 + +--- + dataenc.cabal | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/dataenc.cabal b/dataenc.cabal +index 1ad42ca..3a4f5bb 100644 +--- a/dataenc.cabal b/dataenc.cabal +@@ -21,7 +21,7 @@ flag BuildTests + + library + hs-source-dirs: src +-build-depends: array = 0.1.0 0.5, base = 3.0.0 4.6, containers = 0.1.0 0.5 ++build-depends: array = 0.1.0 0.5, base = 3.0.0 4.7, containers = 0.1.0 0.6 + exposed-modules: + Codec.Binary.Base16 + Codec.Binary.Base32 +-- +1.7.12 + Copied: haskell-dataenc/repos/community-staging-i686/PKGBUILD (from rev 88969, haskell-dataenc/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2013-04-25 09:38:19 UTC (rev 88970) @@ -0,0 +1,46 @@ +# $Id$ +# Maintainer: Vesa Kaihlavirta v...@archlinux.org +# Contributor: Arch Haskell Team arch-hask...@haskell.org +# Package generated by cabal2arch 0.7.5 + +_hkgname=dataenc +pkgname=haskell-dataenc +pkgver=0.14.0.5 +pkgrel=2 +pkgdesc=Data encoding library +url=http://hackage.haskell.org/package/dataenc; +license=('custom:BSD3') +arch=('i686' 'x86_64') +depends=('ghc=7.6.3-1' sh) +source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz +'0001-update-build-deps-for-ghc-7.6.1.patch') +install=${pkgname}.install +md5sums=('4da812ca7a1640a5fdcc676009ab160c' + '662056adcb79efe8898298c271b49600') + +build() { +cd ${srcdir}/${_hkgname}-${pkgver} + +# update build deps for ghc 7.6.1 +#patch -Np1 -i ${srcdir}/0001-update-build-deps-for-ghc-7.6.1.patch + +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}
[arch-commits] Commit in haskell-dataenc/repos (8 files)
Date: Monday, February 4, 2013 @ 18:23:01 Author: spupykin Revision: 83724 archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: haskell-dataenc/repos/community-staging-i686/ haskell-dataenc/repos/community-staging-i686/0001-update-build-deps-for-ghc-7.6.1.patch (from rev 83723, haskell-dataenc/trunk/0001-update-build-deps-for-ghc-7.6.1.patch) haskell-dataenc/repos/community-staging-i686/PKGBUILD (from rev 83723, haskell-dataenc/trunk/PKGBUILD) haskell-dataenc/repos/community-staging-i686/haskell-dataenc.install (from rev 83723, haskell-dataenc/trunk/haskell-dataenc.install) haskell-dataenc/repos/community-staging-x86_64/ haskell-dataenc/repos/community-staging-x86_64/0001-update-build-deps-for-ghc-7.6.1.patch (from rev 83723, haskell-dataenc/trunk/0001-update-build-deps-for-ghc-7.6.1.patch) haskell-dataenc/repos/community-staging-x86_64/PKGBUILD (from rev 83723, haskell-dataenc/trunk/PKGBUILD) haskell-dataenc/repos/community-staging-x86_64/haskell-dataenc.install (from rev 83723, haskell-dataenc/trunk/haskell-dataenc.install) -+ community-staging-i686/0001-update-build-deps-for-ghc-7.6.1.patch | 25 + community-staging-i686/PKGBUILD | 46 ++ community-staging-i686/haskell-dataenc.install | 18 +++ community-staging-x86_64/0001-update-build-deps-for-ghc-7.6.1.patch | 25 + community-staging-x86_64/PKGBUILD | 46 ++ community-staging-x86_64/haskell-dataenc.install| 18 +++ 6 files changed, 178 insertions(+) Copied: haskell-dataenc/repos/community-staging-i686/0001-update-build-deps-for-ghc-7.6.1.patch (from rev 83723, haskell-dataenc/trunk/0001-update-build-deps-for-ghc-7.6.1.patch) === --- community-staging-i686/0001-update-build-deps-for-ghc-7.6.1.patch (rev 0) +++ community-staging-i686/0001-update-build-deps-for-ghc-7.6.1.patch 2013-02-04 17:23:01 UTC (rev 83724) @@ -0,0 +1,25 @@ +From 961892779b5f5a2f46d6baa44c31d06c39e56470 Mon Sep 17 00:00:00 2001 +From: Thomas Dziedzic gos...@gmail.com +Date: Tue, 11 Sep 2012 05:06:59 -0700 +Subject: [PATCH] update build deps for ghc 7.6.1 + +--- + dataenc.cabal | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/dataenc.cabal b/dataenc.cabal +index 1ad42ca..3a4f5bb 100644 +--- a/dataenc.cabal b/dataenc.cabal +@@ -21,7 +21,7 @@ flag BuildTests + + library + hs-source-dirs: src +-build-depends: array = 0.1.0 0.5, base = 3.0.0 4.6, containers = 0.1.0 0.5 ++build-depends: array = 0.1.0 0.5, base = 3.0.0 4.7, containers = 0.1.0 0.6 + exposed-modules: + Codec.Binary.Base16 + Codec.Binary.Base32 +-- +1.7.12 + Copied: haskell-dataenc/repos/community-staging-i686/PKGBUILD (from rev 83723, haskell-dataenc/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2013-02-04 17:23:01 UTC (rev 83724) @@ -0,0 +1,46 @@ +# $Id$ +# Maintainer: Vesa Kaihlavirta v...@archlinux.org +# Contributor: Arch Haskell Team arch-hask...@haskell.org +# Package generated by cabal2arch 0.7.5 + +_hkgname=dataenc +pkgname=haskell-dataenc +pkgver=0.14.0.5 +pkgrel=1 +pkgdesc=Data encoding library +url=http://hackage.haskell.org/package/dataenc; +license=('custom:BSD3') +arch=('i686' 'x86_64') +depends=('ghc=7.6.2-1' sh) +source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz +'0001-update-build-deps-for-ghc-7.6.1.patch') +install=${pkgname}.install +md5sums=('4da812ca7a1640a5fdcc676009ab160c' + '662056adcb79efe8898298c271b49600') + +build() { +cd ${srcdir}/${_hkgname}-${pkgver} + +# update build deps for ghc 7.6.1 +#patch -Np1 -i ${srcdir}/0001-update-build-deps-for-ghc-7.6.1.patch + +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