[arch-commits] Commit in haskell-dataenc/repos (8 files)
Jelle van der Waa
jelle at archlinux.org
Tue Mar 31 17:20:13 UTC 2015
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 <vesa at archlinux.org>
+# Contributor: Arch Haskell Team <arch-haskell at 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)
+++ community-staging-i686/update-build-deps-ghc-7.10.1.patch 2015-03-31 17:20:13 UTC (rev 130419)
@@ -0,0 +1,12 @@
+diff -aur dataenc-0.14.0.7/dataenc.cabal dataenc-0.14.0.7.new/dataenc.cabal
+--- dataenc-0.14.0.7/dataenc.cabal 2014-04-22 20:38:41.000000000 +0200
++++ dataenc-0.14.0.7.new/dataenc.cabal 2015-03-31 19:19:16.308257528 +0200
+@@ -21,7 +21,7 @@
+
+ library
+ hs-source-dirs: src
+- build-depends: array, base >= 3.0.0 && < 4.8, containers
++ build-depends: array, base >= 3.0.0 && < 4.9, containers
+ exposed-modules:
+ Codec.Binary.Base16
+ Codec.Binary.Base32
Copied: haskell-dataenc/repos/community-staging-x86_64/PKGBUILD (from rev 130418, haskell-dataenc/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2015-03-31 17:20:13 UTC (rev 130419)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer: Vesa Kaihlavirta <vesa at archlinux.org>
+# Contributor: Arch Haskell Team <arch-haskell at 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-x86_64/haskell-dataenc.install (from rev 130418, haskell-dataenc/trunk/haskell-dataenc.install)
===================================================================
--- community-staging-x86_64/haskell-dataenc.install (rev 0)
+++ community-staging-x86_64/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-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-x86_64/update-build-deps-ghc-7.10.1.patch (rev 0)
+++ community-staging-x86_64/update-build-deps-ghc-7.10.1.patch 2015-03-31 17:20:13 UTC (rev 130419)
@@ -0,0 +1,12 @@
+diff -aur dataenc-0.14.0.7/dataenc.cabal dataenc-0.14.0.7.new/dataenc.cabal
+--- dataenc-0.14.0.7/dataenc.cabal 2014-04-22 20:38:41.000000000 +0200
++++ dataenc-0.14.0.7.new/dataenc.cabal 2015-03-31 19:19:16.308257528 +0200
+@@ -21,7 +21,7 @@
+
+ library
+ hs-source-dirs: src
+- build-depends: array, base >= 3.0.0 && < 4.8, containers
++ build-depends: array, base >= 3.0.0 && < 4.9, containers
+ exposed-modules:
+ Codec.Binary.Base16
+ Codec.Binary.Base32
More information about the arch-commits
mailing list