diff options
Diffstat (limited to 'community-testing/haskell-dataenc')
3 files changed, 0 insertions, 89 deletions
diff --git a/community-testing/haskell-dataenc/0001-update-build-deps-for-ghc-7.6.1.patch b/community-testing/haskell-dataenc/0001-update-build-deps-for-ghc-7.6.1.patch deleted file mode 100644 index 9f544bb27..000000000 --- a/community-testing/haskell-dataenc/0001-update-build-deps-for-ghc-7.6.1.patch +++ /dev/null @@ -1,25 +0,0 @@ -From 961892779b5f5a2f46d6baa44c31d06c39e56470 Mon Sep 17 00:00:00 2001 -From: Thomas Dziedzic <gostrc@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 - diff --git a/community-testing/haskell-dataenc/PKGBUILD b/community-testing/haskell-dataenc/PKGBUILD deleted file mode 100644 index 0b57ab46c..000000000 --- a/community-testing/haskell-dataenc/PKGBUILD +++ /dev/null @@ -1,46 +0,0 @@ -# $Id: PKGBUILD 77011 2012-10-03 15:23:56Z tdziedzic $ -# Maintainer: Vesa Kaihlavirta <vesa@archlinux.org> -# Contributor: Arch Haskell Team <arch-haskell@haskell.org> -# Package generated by cabal2arch 0.7.5 - -_hkgname=dataenc -pkgname=haskell-dataenc -pkgver=0.14.0.3 -pkgrel=3 -pkgdesc="Data encoding library" -url="http://hackage.haskell.org/package/dataenc" -license=('custom:BSD3') -arch=('i686' 'x86_64') -depends=('ghc=7.6.1-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=('643a8c022b9c840f801faf9a661fe637' - '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} - install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE - rm -f ${pkgdir}/usr/share/doc/${pkgname}/LICENSE -} diff --git a/community-testing/haskell-dataenc/haskell-dataenc.install b/community-testing/haskell-dataenc/haskell-dataenc.install deleted file mode 100644 index 9c1bbff01..000000000 --- a/community-testing/haskell-dataenc/haskell-dataenc.install +++ /dev/null @@ -1,18 +0,0 @@ -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) -} |