[arch-commits] Commit in haskell-lrucache/repos (6 files)

2016-04-29 Thread Felix Yan
Date: Friday, April 29, 2016 @ 12:05:14
  Author: fyan
Revision: 172673

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  haskell-lrucache/repos/community-staging-i686/
  haskell-lrucache/repos/community-staging-i686/PKGBUILD
(from rev 172672, haskell-lrucache/trunk/PKGBUILD)
  haskell-lrucache/repos/community-staging-i686/haskell-lrucache.install
(from rev 172672, haskell-lrucache/trunk/haskell-lrucache.install)
  haskell-lrucache/repos/community-staging-x86_64/
  haskell-lrucache/repos/community-staging-x86_64/PKGBUILD
(from rev 172672, haskell-lrucache/trunk/PKGBUILD)
  haskell-lrucache/repos/community-staging-x86_64/haskell-lrucache.install
(from rev 172672, haskell-lrucache/trunk/haskell-lrucache.install)

---+
 community-staging-i686/PKGBUILD   |   42 
 community-staging-i686/haskell-lrucache.install   |   18 
 community-staging-x86_64/PKGBUILD |   42 
 community-staging-x86_64/haskell-lrucache.install |   18 
 4 files changed, 120 insertions(+)

Copied: haskell-lrucache/repos/community-staging-i686/PKGBUILD (from rev 
172672, haskell-lrucache/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-04-29 10:05:14 UTC (rev 172673)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=lrucache
+pkgname=haskell-lrucache
+pkgver=1.2.0.0
+pkgrel=11
+pkgdesc="a simple, pure LRU cache"
+url="http://github.com/chowells79/lrucache;
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=("ghc=7.10.3" "haskell-contravariant")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+install="${pkgname}.install"
+sha256sums=('5f17a9e026e198152d13830a0eae0df21be437c238a3f157f7c188fe27a37616')
+
+build() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+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-lrucache/repos/community-staging-i686/haskell-lrucache.install 
(from rev 172672, haskell-lrucache/trunk/haskell-lrucache.install)
===
--- community-staging-i686/haskell-lrucache.install 
(rev 0)
+++ community-staging-i686/haskell-lrucache.install 2016-04-29 10:05:14 UTC 
(rev 172673)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-lrucache
+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-lrucache/repos/community-staging-x86_64/PKGBUILD (from rev 
172672, haskell-lrucache/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-04-29 10:05:14 UTC (rev 172673)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=lrucache
+pkgname=haskell-lrucache
+pkgver=1.2.0.0
+pkgrel=11
+pkgdesc="a simple, pure LRU cache"
+url="http://github.com/chowells79/lrucache;
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=("ghc=7.10.3" "haskell-contravariant")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+install="${pkgname}.install"

[arch-commits] Commit in haskell-lrucache/repos (6 files)

2016-04-14 Thread Felix Yan
Date: Thursday, April 14, 2016 @ 11:41:42
  Author: fyan
Revision: 170946

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  haskell-lrucache/repos/community-staging-i686/
  haskell-lrucache/repos/community-staging-i686/PKGBUILD
(from rev 170945, haskell-lrucache/trunk/PKGBUILD)
  haskell-lrucache/repos/community-staging-i686/haskell-lrucache.install
(from rev 170945, haskell-lrucache/trunk/haskell-lrucache.install)
  haskell-lrucache/repos/community-staging-x86_64/
  haskell-lrucache/repos/community-staging-x86_64/PKGBUILD
(from rev 170945, haskell-lrucache/trunk/PKGBUILD)
  haskell-lrucache/repos/community-staging-x86_64/haskell-lrucache.install
(from rev 170945, haskell-lrucache/trunk/haskell-lrucache.install)

---+
 community-staging-i686/PKGBUILD   |   42 
 community-staging-i686/haskell-lrucache.install   |   18 
 community-staging-x86_64/PKGBUILD |   42 
 community-staging-x86_64/haskell-lrucache.install |   18 
 4 files changed, 120 insertions(+)

Copied: haskell-lrucache/repos/community-staging-i686/PKGBUILD (from rev 
170945, haskell-lrucache/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-04-14 09:41:42 UTC (rev 170946)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=lrucache
+pkgname=haskell-lrucache
+pkgver=1.2.0.0
+pkgrel=10
+pkgdesc="a simple, pure LRU cache"
+url="http://github.com/chowells79/lrucache;
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=("ghc=7.10.3" "haskell-contravariant")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+install="${pkgname}.install"
+sha256sums=('5f17a9e026e198152d13830a0eae0df21be437c238a3f157f7c188fe27a37616')
+
+build() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+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-lrucache/repos/community-staging-i686/haskell-lrucache.install 
(from rev 170945, haskell-lrucache/trunk/haskell-lrucache.install)
===
--- community-staging-i686/haskell-lrucache.install 
(rev 0)
+++ community-staging-i686/haskell-lrucache.install 2016-04-14 09:41:42 UTC 
(rev 170946)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-lrucache
+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-lrucache/repos/community-staging-x86_64/PKGBUILD (from rev 
170945, haskell-lrucache/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-04-14 09:41:42 UTC (rev 170946)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=lrucache
+pkgname=haskell-lrucache
+pkgver=1.2.0.0
+pkgrel=10
+pkgdesc="a simple, pure LRU cache"
+url="http://github.com/chowells79/lrucache;
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=("ghc=7.10.3" "haskell-contravariant")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+install="${pkgname}.install"

[arch-commits] Commit in haskell-lrucache/repos (6 files)

2016-03-19 Thread Felix Yan
Date: Friday, March 18, 2016 @ 08:39:53
  Author: fyan
Revision: 167300

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  haskell-lrucache/repos/community-staging-i686/
  haskell-lrucache/repos/community-staging-i686/PKGBUILD
(from rev 167299, haskell-lrucache/trunk/PKGBUILD)
  haskell-lrucache/repos/community-staging-i686/haskell-lrucache.install
(from rev 167299, haskell-lrucache/trunk/haskell-lrucache.install)
  haskell-lrucache/repos/community-staging-x86_64/
  haskell-lrucache/repos/community-staging-x86_64/PKGBUILD
(from rev 167299, haskell-lrucache/trunk/PKGBUILD)
  haskell-lrucache/repos/community-staging-x86_64/haskell-lrucache.install
(from rev 167299, haskell-lrucache/trunk/haskell-lrucache.install)

---+
 community-staging-i686/PKGBUILD   |   42 
 community-staging-i686/haskell-lrucache.install   |   18 
 community-staging-x86_64/PKGBUILD |   42 
 community-staging-x86_64/haskell-lrucache.install |   18 
 4 files changed, 120 insertions(+)

Copied: haskell-lrucache/repos/community-staging-i686/PKGBUILD (from rev 
167299, haskell-lrucache/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-03-18 07:39:53 UTC (rev 167300)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=lrucache
+pkgname=haskell-lrucache
+pkgver=1.2.0.0
+pkgrel=9
+pkgdesc="a simple, pure LRU cache"
+url="http://github.com/chowells79/lrucache;
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=("ghc=7.10.3" "haskell-contravariant")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+install="${pkgname}.install"
+sha256sums=('5f17a9e026e198152d13830a0eae0df21be437c238a3f157f7c188fe27a37616')
+
+build() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+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-lrucache/repos/community-staging-i686/haskell-lrucache.install 
(from rev 167299, haskell-lrucache/trunk/haskell-lrucache.install)
===
--- community-staging-i686/haskell-lrucache.install 
(rev 0)
+++ community-staging-i686/haskell-lrucache.install 2016-03-18 07:39:53 UTC 
(rev 167300)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-lrucache
+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-lrucache/repos/community-staging-x86_64/PKGBUILD (from rev 
167299, haskell-lrucache/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-03-18 07:39:53 UTC (rev 167300)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=lrucache
+pkgname=haskell-lrucache
+pkgver=1.2.0.0
+pkgrel=9
+pkgdesc="a simple, pure LRU cache"
+url="http://github.com/chowells79/lrucache;
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=("ghc=7.10.3" "haskell-contravariant")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+install="${pkgname}.install"

[arch-commits] Commit in haskell-lrucache/repos (6 files)

2016-02-17 Thread Felix Yan
Date: Thursday, February 18, 2016 @ 07:33:26
  Author: fyan
Revision: 162199

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  haskell-lrucache/repos/community-staging-i686/
  haskell-lrucache/repos/community-staging-i686/PKGBUILD
(from rev 162198, haskell-lrucache/trunk/PKGBUILD)
  haskell-lrucache/repos/community-staging-i686/haskell-lrucache.install
(from rev 162198, haskell-lrucache/trunk/haskell-lrucache.install)
  haskell-lrucache/repos/community-staging-x86_64/
  haskell-lrucache/repos/community-staging-x86_64/PKGBUILD
(from rev 162198, haskell-lrucache/trunk/PKGBUILD)
  haskell-lrucache/repos/community-staging-x86_64/haskell-lrucache.install
(from rev 162198, haskell-lrucache/trunk/haskell-lrucache.install)

---+
 community-staging-i686/PKGBUILD   |   42 
 community-staging-i686/haskell-lrucache.install   |   18 
 community-staging-x86_64/PKGBUILD |   42 
 community-staging-x86_64/haskell-lrucache.install |   18 
 4 files changed, 120 insertions(+)

Copied: haskell-lrucache/repos/community-staging-i686/PKGBUILD (from rev 
162198, haskell-lrucache/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-02-18 06:33:26 UTC (rev 162199)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=lrucache
+pkgname=haskell-lrucache
+pkgver=1.2.0.0
+pkgrel=8
+pkgdesc="a simple, pure LRU cache"
+url="http://github.com/chowells79/lrucache;
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=("ghc=7.10.3" "haskell-contravariant")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+install="${pkgname}.install"
+sha256sums=('5f17a9e026e198152d13830a0eae0df21be437c238a3f157f7c188fe27a37616')
+
+build() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+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-lrucache/repos/community-staging-i686/haskell-lrucache.install 
(from rev 162198, haskell-lrucache/trunk/haskell-lrucache.install)
===
--- community-staging-i686/haskell-lrucache.install 
(rev 0)
+++ community-staging-i686/haskell-lrucache.install 2016-02-18 06:33:26 UTC 
(rev 162199)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-lrucache
+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-lrucache/repos/community-staging-x86_64/PKGBUILD (from rev 
162198, haskell-lrucache/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-02-18 06:33:26 UTC (rev 162199)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=lrucache
+pkgname=haskell-lrucache
+pkgver=1.2.0.0
+pkgrel=8
+pkgdesc="a simple, pure LRU cache"
+url="http://github.com/chowells79/lrucache;
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=("ghc=7.10.3" "haskell-contravariant")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+install="${pkgname}.install"

[arch-commits] Commit in haskell-lrucache/repos (6 files)

2016-01-27 Thread Felix Yan
Date: Wednesday, January 27, 2016 @ 12:29:22
  Author: fyan
Revision: 159132

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  haskell-lrucache/repos/community-staging-i686/
  haskell-lrucache/repos/community-staging-i686/PKGBUILD
(from rev 159131, haskell-lrucache/trunk/PKGBUILD)
  haskell-lrucache/repos/community-staging-i686/haskell-lrucache.install
(from rev 159131, haskell-lrucache/trunk/haskell-lrucache.install)
  haskell-lrucache/repos/community-staging-x86_64/
  haskell-lrucache/repos/community-staging-x86_64/PKGBUILD
(from rev 159131, haskell-lrucache/trunk/PKGBUILD)
  haskell-lrucache/repos/community-staging-x86_64/haskell-lrucache.install
(from rev 159131, haskell-lrucache/trunk/haskell-lrucache.install)

---+
 community-staging-i686/PKGBUILD   |   42 
 community-staging-i686/haskell-lrucache.install   |   18 
 community-staging-x86_64/PKGBUILD |   42 
 community-staging-x86_64/haskell-lrucache.install |   18 
 4 files changed, 120 insertions(+)

Copied: haskell-lrucache/repos/community-staging-i686/PKGBUILD (from rev 
159131, haskell-lrucache/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-01-27 11:29:22 UTC (rev 159132)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=lrucache
+pkgname=haskell-lrucache
+pkgver=1.2.0.0
+pkgrel=7
+pkgdesc="a simple, pure LRU cache"
+url="http://github.com/chowells79/lrucache;
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=("ghc=7.10.3" "haskell-contravariant")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+install="${pkgname}.install"
+sha256sums=('5f17a9e026e198152d13830a0eae0df21be437c238a3f157f7c188fe27a37616')
+
+build() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+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-lrucache/repos/community-staging-i686/haskell-lrucache.install 
(from rev 159131, haskell-lrucache/trunk/haskell-lrucache.install)
===
--- community-staging-i686/haskell-lrucache.install 
(rev 0)
+++ community-staging-i686/haskell-lrucache.install 2016-01-27 11:29:22 UTC 
(rev 159132)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-lrucache
+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-lrucache/repos/community-staging-x86_64/PKGBUILD (from rev 
159131, haskell-lrucache/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-01-27 11:29:22 UTC (rev 159132)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=lrucache
+pkgname=haskell-lrucache
+pkgver=1.2.0.0
+pkgrel=7
+pkgdesc="a simple, pure LRU cache"
+url="http://github.com/chowells79/lrucache;
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=("ghc=7.10.3" "haskell-contravariant")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+install="${pkgname}.install"

[arch-commits] Commit in haskell-lrucache/repos (6 files)

2016-01-20 Thread Felix Yan
Date: Wednesday, January 20, 2016 @ 14:12:02
  Author: fyan
Revision: 158065

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  haskell-lrucache/repos/community-staging-i686/
  haskell-lrucache/repos/community-staging-i686/PKGBUILD
(from rev 158064, haskell-lrucache/trunk/PKGBUILD)
  haskell-lrucache/repos/community-staging-i686/haskell-lrucache.install
(from rev 158064, haskell-lrucache/trunk/haskell-lrucache.install)
  haskell-lrucache/repos/community-staging-x86_64/
  haskell-lrucache/repos/community-staging-x86_64/PKGBUILD
(from rev 158064, haskell-lrucache/trunk/PKGBUILD)
  haskell-lrucache/repos/community-staging-x86_64/haskell-lrucache.install
(from rev 158064, haskell-lrucache/trunk/haskell-lrucache.install)

---+
 community-staging-i686/PKGBUILD   |   42 
 community-staging-i686/haskell-lrucache.install   |   18 
 community-staging-x86_64/PKGBUILD |   42 
 community-staging-x86_64/haskell-lrucache.install |   18 
 4 files changed, 120 insertions(+)

Copied: haskell-lrucache/repos/community-staging-i686/PKGBUILD (from rev 
158064, haskell-lrucache/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-01-20 13:12:02 UTC (rev 158065)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=lrucache
+pkgname=haskell-lrucache
+pkgver=1.2.0.0
+pkgrel=6
+pkgdesc="a simple, pure LRU cache"
+url="http://github.com/chowells79/lrucache;
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=("ghc=7.10.3" "haskell-contravariant")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+install="${pkgname}.install"
+sha256sums=('5f17a9e026e198152d13830a0eae0df21be437c238a3f157f7c188fe27a37616')
+
+build() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+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-lrucache/repos/community-staging-i686/haskell-lrucache.install 
(from rev 158064, haskell-lrucache/trunk/haskell-lrucache.install)
===
--- community-staging-i686/haskell-lrucache.install 
(rev 0)
+++ community-staging-i686/haskell-lrucache.install 2016-01-20 13:12:02 UTC 
(rev 158065)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-lrucache
+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-lrucache/repos/community-staging-x86_64/PKGBUILD (from rev 
158064, haskell-lrucache/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-01-20 13:12:02 UTC (rev 158065)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=lrucache
+pkgname=haskell-lrucache
+pkgver=1.2.0.0
+pkgrel=6
+pkgdesc="a simple, pure LRU cache"
+url="http://github.com/chowells79/lrucache;
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=("ghc=7.10.3" "haskell-contravariant")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+install="${pkgname}.install"

[arch-commits] Commit in haskell-lrucache/repos (6 files)

2016-01-18 Thread Felix Yan
Date: Monday, January 18, 2016 @ 09:54:01
  Author: fyan
Revision: 157430

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  haskell-lrucache/repos/community-staging-i686/
  haskell-lrucache/repos/community-staging-i686/PKGBUILD
(from rev 157429, haskell-lrucache/trunk/PKGBUILD)
  haskell-lrucache/repos/community-staging-i686/haskell-lrucache.install
(from rev 157429, haskell-lrucache/trunk/haskell-lrucache.install)
  haskell-lrucache/repos/community-staging-x86_64/
  haskell-lrucache/repos/community-staging-x86_64/PKGBUILD
(from rev 157429, haskell-lrucache/trunk/PKGBUILD)
  haskell-lrucache/repos/community-staging-x86_64/haskell-lrucache.install
(from rev 157429, haskell-lrucache/trunk/haskell-lrucache.install)

---+
 community-staging-i686/PKGBUILD   |   42 
 community-staging-i686/haskell-lrucache.install   |   18 
 community-staging-x86_64/PKGBUILD |   42 
 community-staging-x86_64/haskell-lrucache.install |   18 
 4 files changed, 120 insertions(+)

Copied: haskell-lrucache/repos/community-staging-i686/PKGBUILD (from rev 
157429, haskell-lrucache/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-01-18 08:54:01 UTC (rev 157430)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=lrucache
+pkgname=haskell-lrucache
+pkgver=1.2.0.0
+pkgrel=5
+pkgdesc="a simple, pure LRU cache"
+url="http://github.com/chowells79/lrucache;
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=("ghc=7.10.3" "haskell-contravariant")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+install="${pkgname}.install"
+sha256sums=('5f17a9e026e198152d13830a0eae0df21be437c238a3f157f7c188fe27a37616')
+
+build() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+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-lrucache/repos/community-staging-i686/haskell-lrucache.install 
(from rev 157429, haskell-lrucache/trunk/haskell-lrucache.install)
===
--- community-staging-i686/haskell-lrucache.install 
(rev 0)
+++ community-staging-i686/haskell-lrucache.install 2016-01-18 08:54:01 UTC 
(rev 157430)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-lrucache
+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-lrucache/repos/community-staging-x86_64/PKGBUILD (from rev 
157429, haskell-lrucache/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-01-18 08:54:01 UTC (rev 157430)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=lrucache
+pkgname=haskell-lrucache
+pkgver=1.2.0.0
+pkgrel=5
+pkgdesc="a simple, pure LRU cache"
+url="http://github.com/chowells79/lrucache;
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=("ghc=7.10.3" "haskell-contravariant")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+install="${pkgname}.install"

[arch-commits] Commit in haskell-lrucache/repos (6 files)

2016-01-17 Thread Felix Yan
Date: Sunday, January 17, 2016 @ 14:33:08
  Author: fyan
Revision: 157136

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  haskell-lrucache/repos/community-staging-i686/
  haskell-lrucache/repos/community-staging-i686/PKGBUILD
(from rev 157135, haskell-lrucache/trunk/PKGBUILD)
  haskell-lrucache/repos/community-staging-i686/haskell-lrucache.install
(from rev 157135, haskell-lrucache/trunk/haskell-lrucache.install)
  haskell-lrucache/repos/community-staging-x86_64/
  haskell-lrucache/repos/community-staging-x86_64/PKGBUILD
(from rev 157135, haskell-lrucache/trunk/PKGBUILD)
  haskell-lrucache/repos/community-staging-x86_64/haskell-lrucache.install
(from rev 157135, haskell-lrucache/trunk/haskell-lrucache.install)

---+
 community-staging-i686/PKGBUILD   |   42 
 community-staging-i686/haskell-lrucache.install   |   18 
 community-staging-x86_64/PKGBUILD |   42 
 community-staging-x86_64/haskell-lrucache.install |   18 
 4 files changed, 120 insertions(+)

Copied: haskell-lrucache/repos/community-staging-i686/PKGBUILD (from rev 
157135, haskell-lrucache/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-01-17 13:33:08 UTC (rev 157136)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=lrucache
+pkgname=haskell-lrucache
+pkgver=1.2.0.0
+pkgrel=4
+pkgdesc="a simple, pure LRU cache"
+url="http://github.com/chowells79/lrucache;
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=("ghc=7.10.3" "haskell-contravariant")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+install="${pkgname}.install"
+sha256sums=('5f17a9e026e198152d13830a0eae0df21be437c238a3f157f7c188fe27a37616')
+
+build() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+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-lrucache/repos/community-staging-i686/haskell-lrucache.install 
(from rev 157135, haskell-lrucache/trunk/haskell-lrucache.install)
===
--- community-staging-i686/haskell-lrucache.install 
(rev 0)
+++ community-staging-i686/haskell-lrucache.install 2016-01-17 13:33:08 UTC 
(rev 157136)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-lrucache
+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-lrucache/repos/community-staging-x86_64/PKGBUILD (from rev 
157135, haskell-lrucache/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-01-17 13:33:08 UTC (rev 157136)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=lrucache
+pkgname=haskell-lrucache
+pkgver=1.2.0.0
+pkgrel=4
+pkgdesc="a simple, pure LRU cache"
+url="http://github.com/chowells79/lrucache;
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=("ghc=7.10.3" "haskell-contravariant")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+install="${pkgname}.install"

[arch-commits] Commit in haskell-lrucache/repos (6 files)

2016-01-15 Thread Felix Yan
Date: Friday, January 15, 2016 @ 09:03:36
  Author: fyan
Revision: 156561

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  haskell-lrucache/repos/community-staging-i686/
  haskell-lrucache/repos/community-staging-i686/PKGBUILD
(from rev 156560, haskell-lrucache/trunk/PKGBUILD)
  haskell-lrucache/repos/community-staging-i686/haskell-lrucache.install
(from rev 156560, haskell-lrucache/trunk/haskell-lrucache.install)
  haskell-lrucache/repos/community-staging-x86_64/
  haskell-lrucache/repos/community-staging-x86_64/PKGBUILD
(from rev 156560, haskell-lrucache/trunk/PKGBUILD)
  haskell-lrucache/repos/community-staging-x86_64/haskell-lrucache.install
(from rev 156560, haskell-lrucache/trunk/haskell-lrucache.install)

---+
 community-staging-i686/PKGBUILD   |   42 
 community-staging-i686/haskell-lrucache.install   |   18 
 community-staging-x86_64/PKGBUILD |   42 
 community-staging-x86_64/haskell-lrucache.install |   18 
 4 files changed, 120 insertions(+)

Copied: haskell-lrucache/repos/community-staging-i686/PKGBUILD (from rev 
156560, haskell-lrucache/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-01-15 08:03:36 UTC (rev 156561)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=lrucache
+pkgname=haskell-lrucache
+pkgver=1.2.0.0
+pkgrel=3
+pkgdesc="a simple, pure LRU cache"
+url="http://github.com/chowells79/lrucache;
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=("ghc=7.10.3" "haskell-contravariant")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+install="${pkgname}.install"
+sha256sums=('5f17a9e026e198152d13830a0eae0df21be437c238a3f157f7c188fe27a37616')
+
+build() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+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-lrucache/repos/community-staging-i686/haskell-lrucache.install 
(from rev 156560, haskell-lrucache/trunk/haskell-lrucache.install)
===
--- community-staging-i686/haskell-lrucache.install 
(rev 0)
+++ community-staging-i686/haskell-lrucache.install 2016-01-15 08:03:36 UTC 
(rev 156561)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-lrucache
+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-lrucache/repos/community-staging-x86_64/PKGBUILD (from rev 
156560, haskell-lrucache/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-01-15 08:03:36 UTC (rev 156561)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=lrucache
+pkgname=haskell-lrucache
+pkgver=1.2.0.0
+pkgrel=3
+pkgdesc="a simple, pure LRU cache"
+url="http://github.com/chowells79/lrucache;
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=("ghc=7.10.3" "haskell-contravariant")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+install="${pkgname}.install"

[arch-commits] Commit in haskell-lrucache/repos (6 files)

2016-01-04 Thread Felix Yan
Date: Monday, January 4, 2016 @ 10:03:24
  Author: fyan
Revision: 155304

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  haskell-lrucache/repos/community-staging-i686/
  haskell-lrucache/repos/community-staging-i686/PKGBUILD
(from rev 155303, haskell-lrucache/trunk/PKGBUILD)
  haskell-lrucache/repos/community-staging-i686/haskell-lrucache.install
(from rev 155303, haskell-lrucache/trunk/haskell-lrucache.install)
  haskell-lrucache/repos/community-staging-x86_64/
  haskell-lrucache/repos/community-staging-x86_64/PKGBUILD
(from rev 155303, haskell-lrucache/trunk/PKGBUILD)
  haskell-lrucache/repos/community-staging-x86_64/haskell-lrucache.install
(from rev 155303, haskell-lrucache/trunk/haskell-lrucache.install)

---+
 community-staging-i686/PKGBUILD   |   42 
 community-staging-i686/haskell-lrucache.install   |   18 
 community-staging-x86_64/PKGBUILD |   42 
 community-staging-x86_64/haskell-lrucache.install |   18 
 4 files changed, 120 insertions(+)

Copied: haskell-lrucache/repos/community-staging-i686/PKGBUILD (from rev 
155303, haskell-lrucache/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-01-04 09:03:24 UTC (rev 155304)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=lrucache
+pkgname=haskell-lrucache
+pkgver=1.2.0.0
+pkgrel=2
+pkgdesc="a simple, pure LRU cache"
+url="http://github.com/chowells79/lrucache;
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=("ghc=7.10.3" "haskell-contravariant")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+install="${pkgname}.install"
+sha256sums=('5f17a9e026e198152d13830a0eae0df21be437c238a3f157f7c188fe27a37616')
+
+build() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+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-lrucache/repos/community-staging-i686/haskell-lrucache.install 
(from rev 155303, haskell-lrucache/trunk/haskell-lrucache.install)
===
--- community-staging-i686/haskell-lrucache.install 
(rev 0)
+++ community-staging-i686/haskell-lrucache.install 2016-01-04 09:03:24 UTC 
(rev 155304)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-lrucache
+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-lrucache/repos/community-staging-x86_64/PKGBUILD (from rev 
155303, haskell-lrucache/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-01-04 09:03:24 UTC (rev 155304)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=lrucache
+pkgname=haskell-lrucache
+pkgver=1.2.0.0
+pkgrel=2
+pkgdesc="a simple, pure LRU cache"
+url="http://github.com/chowells79/lrucache;
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=("ghc=7.10.3" "haskell-contravariant")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+install="${pkgname}.install"

[arch-commits] Commit in haskell-lrucache/repos (6 files)

2015-12-27 Thread Felix Yan
Date: Monday, December 28, 2015 @ 08:28:36
  Author: fyan
Revision: 154643

archrelease: copy trunk to community-i686, community-x86_64

Added:
  haskell-lrucache/repos/community-i686/
  haskell-lrucache/repos/community-i686/PKGBUILD
(from rev 154642, haskell-lrucache/trunk/PKGBUILD)
  haskell-lrucache/repos/community-i686/haskell-lrucache.install
(from rev 154642, haskell-lrucache/trunk/haskell-lrucache.install)
  haskell-lrucache/repos/community-x86_64/
  haskell-lrucache/repos/community-x86_64/PKGBUILD
(from rev 154642, haskell-lrucache/trunk/PKGBUILD)
  haskell-lrucache/repos/community-x86_64/haskell-lrucache.install
(from rev 154642, haskell-lrucache/trunk/haskell-lrucache.install)

---+
 community-i686/PKGBUILD   |   42 
 community-i686/haskell-lrucache.install   |   18 
 community-x86_64/PKGBUILD |   42 
 community-x86_64/haskell-lrucache.install |   18 
 4 files changed, 120 insertions(+)

Copied: haskell-lrucache/repos/community-i686/PKGBUILD (from rev 154642, 
haskell-lrucache/trunk/PKGBUILD)
===
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2015-12-28 07:28:36 UTC (rev 154643)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=lrucache
+pkgname=haskell-lrucache
+pkgver=1.2.0.0
+pkgrel=1
+pkgdesc="a simple, pure LRU cache"
+url="http://github.com/chowells79/lrucache;
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=("ghc=7.10.3" "haskell-contravariant")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+install="${pkgname}.install"
+sha256sums=('5f17a9e026e198152d13830a0eae0df21be437c238a3f157f7c188fe27a37616')
+
+build() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+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-lrucache/repos/community-i686/haskell-lrucache.install (from 
rev 154642, haskell-lrucache/trunk/haskell-lrucache.install)
===
--- community-i686/haskell-lrucache.install (rev 0)
+++ community-i686/haskell-lrucache.install 2015-12-28 07:28:36 UTC (rev 
154643)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-lrucache
+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-lrucache/repos/community-x86_64/PKGBUILD (from rev 154642, 
haskell-lrucache/trunk/PKGBUILD)
===
--- community-x86_64/PKGBUILD   (rev 0)
+++ community-x86_64/PKGBUILD   2015-12-28 07:28:36 UTC (rev 154643)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=lrucache
+pkgname=haskell-lrucache
+pkgver=1.2.0.0
+pkgrel=1
+pkgdesc="a simple, pure LRU cache"
+url="http://github.com/chowells79/lrucache;
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=("ghc=7.10.3" "haskell-contravariant")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+install="${pkgname}.install"
+sha256sums=('5f17a9e026e198152d13830a0eae0df21be437c238a3f157f7c188fe27a37616')
+
+build() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+runhaskell Setup configure -O