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

2017-08-02 Thread Felix Yan
Date: Wednesday, August 2, 2017 @ 20:48:18
  Author: felixonmars
Revision: 247592

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

Added:
  haskell-lens/repos/community-staging-i686/
  haskell-lens/repos/community-staging-i686/PKGBUILD
(from rev 247591, haskell-lens/trunk/PKGBUILD)
  haskell-lens/repos/community-staging-x86_64/
  haskell-lens/repos/community-staging-x86_64/PKGBUILD
(from rev 247591, haskell-lens/trunk/PKGBUILD)
Deleted:
  haskell-lens/repos/community-staging-i686/PKGBUILD
  haskell-lens/repos/community-staging-x86_64/PKGBUILD

---+
 /PKGBUILD |  104 
 community-staging-i686/PKGBUILD   |   52 --
 community-staging-x86_64/PKGBUILD |   52 --
 3 files changed, 104 insertions(+), 104 deletions(-)

Deleted: community-staging-i686/PKGBUILD
===
--- community-staging-i686/PKGBUILD 2017-08-02 18:31:00 UTC (rev 247528)
+++ community-staging-i686/PKGBUILD 2017-08-02 20:48:18 UTC (rev 247592)
@@ -1,52 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-_hkgname=lens
-pkgname=haskell-lens
-pkgver=4.15.3
-pkgrel=8
-pkgdesc="Lenses, Folds and Traversals"
-url="http://github.com/ekmett/lens/;
-license=("custom:BSD3")
-arch=('i686' 'x86_64')
-depends=('ghc' "haskell-base-orphans" "haskell-bifunctors" "haskell-comonad"
- "haskell-contravariant" "haskell-distributive" "haskell-exceptions" 
"haskell-free"
- "haskell-hashable" "haskell-kan-extensions" "haskell-mtl" 
"haskell-parallel"
- "haskell-profunctors" "haskell-reflection" "haskell-semigroupoids" 
"haskell-semigroups"
- "haskell-tagged" "haskell-text" "haskell-th-abstraction" 
"haskell-transformers-compat"
- "haskell-unordered-containers" "haskell-vector" "haskell-void")
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha512sums=('0ccc13ee500712e1e36fe7284fe179f461f00c179756968aca27d570629322e1a17e13b6d006ee27e03c4aad4d6006b9e0397567af24333ebc3b7f8726a953ca')
-
-build() {
-cd "${srcdir}/${_hkgname}-${pkgver}"
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic \
---prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
--f-j -ftrustworthy -f-safe -ftest-templates -ftest-properties 
-ftest-hunit \
--ftest-doctests -ftest-hlint -f-dump-splices -f-old-inline-pragmas 
-finlining \
--f-benchmark-uniplate
-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.*update[^ ]* |&'--force' |" register.sh
-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/register/${pkgname}.sh"
-install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.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"
-
-# Remove static libs
-find "$pkgdir"/usr/lib -name "*.a" -delete
-}

Copied: haskell-lens/repos/community-staging-i686/PKGBUILD (from rev 247591, 
haskell-lens/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2017-08-02 20:48:18 UTC (rev 247592)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=lens
+pkgname=haskell-lens
+pkgver=4.15.3
+pkgrel=9
+pkgdesc="Lenses, Folds and Traversals"
+url="http://github.com/ekmett/lens/;
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=('ghc' "haskell-base-orphans" "haskell-bifunctors" "haskell-comonad"
+ "haskell-contravariant" "haskell-distributive" "haskell-exceptions" 
"haskell-free"
+ "haskell-hashable" "haskell-kan-extensions" "haskell-mtl" 
"haskell-parallel"
+ "haskell-profunctors" "haskell-reflection" "haskell-semigroupoids" 
"haskell-semigroups"
+ "haskell-tagged" "haskell-text" "haskell-th-abstraction" 
"haskell-transformers-compat"
+ "haskell-unordered-containers" "haskell-vector" "haskell-void")

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

2016-04-30 Thread Felix Yan
Date: Saturday, April 30, 2016 @ 08:59:10
  Author: fyan
Revision: 173048

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

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

---+
 community-staging-i686/PKGBUILD   |   49 
 community-staging-i686/haskell-lens.install   |   18 
 community-staging-x86_64/PKGBUILD |   49 
 community-staging-x86_64/haskell-lens.install |   18 
 4 files changed, 134 insertions(+)

Copied: haskell-lens/repos/community-staging-i686/PKGBUILD (from rev 173047, 
haskell-lens/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-04-30 06:59:10 UTC (rev 173048)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=lens
+pkgname=haskell-lens
+pkgver=4.14
+pkgrel=1
+pkgdesc="Lenses, Folds and Traversals"
+url="http://github.com/ekmett/lens/;
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=("ghc=7.10.3" "haskell-base-orphans" "haskell-bifunctors" 
"haskell-comonad"
+ "haskell-contravariant" "haskell-distributive" "haskell-exceptions"
+ "haskell-free" "haskell-hashable" "haskell-kan-extensions" 
"haskell-mtl"
+ "haskell-parallel" "haskell-profunctors" "haskell-reflection"
+ "haskell-semigroupoids" "haskell-semigroups" "haskell-tagged" 
"haskell-text"
+ "haskell-transformers-compat" "haskell-unordered-containers" 
"haskell-vector"
+ "haskell-void")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+install="${pkgname}.install"
+sha256sums=('70a3cd18ef352950b88d6cac449988b9320704b56dceda80e7de9f2907ee5f4b')
+
+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 \
+-f-j -ftrustworthy -f-safe -ftest-templates -ftest-properties 
-ftest-hunit -ftest-doctests -ftest-hlint -f-dump-splices -f-old-inline-pragmas 
-finlining -f-benchmark-uniplate
+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-lens/repos/community-staging-i686/haskell-lens.install (from 
rev 173047, haskell-lens/trunk/haskell-lens.install)
===
--- community-staging-i686/haskell-lens.install (rev 0)
+++ community-staging-i686/haskell-lens.install 2016-04-30 06:59:10 UTC (rev 
173048)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-lens
+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-lens/repos/community-staging-x86_64/PKGBUILD (from rev 173047, 
haskell-lens/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-04-30 06:59:10 UTC (rev 173048)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Felix Yan 

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

2016-04-29 Thread Felix Yan
Date: Friday, April 29, 2016 @ 08:30:31
  Author: fyan
Revision: 172643

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

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

---+
 community-staging-i686/PKGBUILD   |   49 
 community-staging-i686/haskell-lens.install   |   18 
 community-staging-x86_64/PKGBUILD |   49 
 community-staging-x86_64/haskell-lens.install |   18 
 4 files changed, 134 insertions(+)

Copied: haskell-lens/repos/community-staging-i686/PKGBUILD (from rev 172642, 
haskell-lens/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-04-29 06:30:31 UTC (rev 172643)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=lens
+pkgname=haskell-lens
+pkgver=4.13.2.1
+pkgrel=7
+pkgdesc="Lenses, Folds and Traversals"
+url="http://github.com/ekmett/lens/;
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=("ghc=7.10.3" "haskell-base-orphans" "haskell-bifunctors" 
"haskell-comonad"
+ "haskell-contravariant" "haskell-distributive" "haskell-exceptions"
+ "haskell-free" "haskell-hashable" "haskell-kan-extensions" 
"haskell-mtl"
+ "haskell-parallel" "haskell-profunctors" "haskell-reflection"
+ "haskell-semigroupoids" "haskell-semigroups" "haskell-tagged" 
"haskell-text"
+ "haskell-transformers-compat" "haskell-unordered-containers" 
"haskell-vector"
+ "haskell-void")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+install="${pkgname}.install"
+sha256sums=('d48509a066f864c3c6a8944117e788bab80587d40b1799600c99da389ee249b6')
+
+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 \
+-f-j -ftrustworthy -f-safe -ftest-templates -ftest-properties 
-ftest-hunit -ftest-doctests -ftest-hlint -f-dump-splices -f-old-inline-pragmas 
-finlining -f-benchmark-uniplate
+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-lens/repos/community-staging-i686/haskell-lens.install (from 
rev 172642, haskell-lens/trunk/haskell-lens.install)
===
--- community-staging-i686/haskell-lens.install (rev 0)
+++ community-staging-i686/haskell-lens.install 2016-04-29 06:30:31 UTC (rev 
172643)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-lens
+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-lens/repos/community-staging-x86_64/PKGBUILD (from rev 172642, 
haskell-lens/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-04-29 06:30:31 UTC (rev 172643)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Felix Yan 

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

2016-04-14 Thread Felix Yan
Date: Thursday, April 14, 2016 @ 09:57:54
  Author: fyan
Revision: 170919

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

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

---+
 community-staging-i686/PKGBUILD   |   49 
 community-staging-i686/haskell-lens.install   |   18 
 community-staging-x86_64/PKGBUILD |   49 
 community-staging-x86_64/haskell-lens.install |   18 
 4 files changed, 134 insertions(+)

Copied: haskell-lens/repos/community-staging-i686/PKGBUILD (from rev 170918, 
haskell-lens/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-04-14 07:57:54 UTC (rev 170919)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=lens
+pkgname=haskell-lens
+pkgver=4.13.2.1
+pkgrel=6
+pkgdesc="Lenses, Folds and Traversals"
+url="http://github.com/ekmett/lens/;
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=("ghc=7.10.3" "haskell-base-orphans" "haskell-bifunctors" 
"haskell-comonad"
+ "haskell-contravariant" "haskell-distributive" "haskell-exceptions"
+ "haskell-free" "haskell-hashable" "haskell-kan-extensions" 
"haskell-mtl"
+ "haskell-parallel" "haskell-profunctors" "haskell-reflection"
+ "haskell-semigroupoids" "haskell-semigroups" "haskell-tagged" 
"haskell-text"
+ "haskell-transformers-compat" "haskell-unordered-containers" 
"haskell-vector"
+ "haskell-void")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+install="${pkgname}.install"
+sha256sums=('d48509a066f864c3c6a8944117e788bab80587d40b1799600c99da389ee249b6')
+
+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 \
+-f-j -ftrustworthy -f-safe -ftest-templates -ftest-properties 
-ftest-hunit -ftest-doctests -ftest-hlint -f-dump-splices -f-old-inline-pragmas 
-finlining -f-benchmark-uniplate
+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-lens/repos/community-staging-i686/haskell-lens.install (from 
rev 170918, haskell-lens/trunk/haskell-lens.install)
===
--- community-staging-i686/haskell-lens.install (rev 0)
+++ community-staging-i686/haskell-lens.install 2016-04-14 07:57:54 UTC (rev 
170919)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-lens
+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-lens/repos/community-staging-x86_64/PKGBUILD (from rev 170918, 
haskell-lens/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-04-14 07:57:54 UTC (rev 170919)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Felix 

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

2016-04-12 Thread Felix Yan
Date: Tuesday, April 12, 2016 @ 11:03:50
  Author: fyan
Revision: 170645

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

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

---+
 community-staging-i686/PKGBUILD   |   49 
 community-staging-i686/haskell-lens.install   |   18 
 community-staging-x86_64/PKGBUILD |   49 
 community-staging-x86_64/haskell-lens.install |   18 
 4 files changed, 134 insertions(+)

Copied: haskell-lens/repos/community-staging-i686/PKGBUILD (from rev 170644, 
haskell-lens/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-04-12 09:03:50 UTC (rev 170645)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=lens
+pkgname=haskell-lens
+pkgver=4.13.2.1
+pkgrel=5
+pkgdesc="Lenses, Folds and Traversals"
+url="http://github.com/ekmett/lens/;
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=("ghc=7.10.3" "haskell-base-orphans" "haskell-bifunctors" 
"haskell-comonad"
+ "haskell-contravariant" "haskell-distributive" "haskell-exceptions"
+ "haskell-free" "haskell-hashable" "haskell-kan-extensions" 
"haskell-mtl"
+ "haskell-parallel" "haskell-profunctors" "haskell-reflection"
+ "haskell-semigroupoids" "haskell-semigroups" "haskell-tagged" 
"haskell-text"
+ "haskell-transformers-compat" "haskell-unordered-containers" 
"haskell-vector"
+ "haskell-void")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+install="${pkgname}.install"
+sha256sums=('d48509a066f864c3c6a8944117e788bab80587d40b1799600c99da389ee249b6')
+
+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 \
+-f-j -ftrustworthy -f-safe -ftest-templates -ftest-properties 
-ftest-hunit -ftest-doctests -ftest-hlint -f-dump-splices -f-old-inline-pragmas 
-finlining -f-benchmark-uniplate
+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-lens/repos/community-staging-i686/haskell-lens.install (from 
rev 170644, haskell-lens/trunk/haskell-lens.install)
===
--- community-staging-i686/haskell-lens.install (rev 0)
+++ community-staging-i686/haskell-lens.install 2016-04-12 09:03:50 UTC (rev 
170645)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-lens
+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-lens/repos/community-staging-x86_64/PKGBUILD (from rev 170644, 
haskell-lens/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-04-12 09:03:50 UTC (rev 170645)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Felix 

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

2016-04-10 Thread Felix Yan
Date: Sunday, April 10, 2016 @ 10:58:07
  Author: fyan
Revision: 170028

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

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

---+
 community-staging-i686/PKGBUILD   |   49 
 community-staging-i686/haskell-lens.install   |   18 
 community-staging-x86_64/PKGBUILD |   49 
 community-staging-x86_64/haskell-lens.install |   18 
 4 files changed, 134 insertions(+)

Copied: haskell-lens/repos/community-staging-i686/PKGBUILD (from rev 170027, 
haskell-lens/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-04-10 08:58:07 UTC (rev 170028)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=lens
+pkgname=haskell-lens
+pkgver=4.13.2.1
+pkgrel=4
+pkgdesc="Lenses, Folds and Traversals"
+url="http://github.com/ekmett/lens/;
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=("ghc=7.10.3" "haskell-base-orphans" "haskell-bifunctors" 
"haskell-comonad"
+ "haskell-contravariant" "haskell-distributive" "haskell-exceptions"
+ "haskell-free" "haskell-hashable" "haskell-kan-extensions" 
"haskell-mtl"
+ "haskell-parallel" "haskell-profunctors" "haskell-reflection"
+ "haskell-semigroupoids" "haskell-semigroups" "haskell-tagged" 
"haskell-text"
+ "haskell-transformers-compat" "haskell-unordered-containers" 
"haskell-vector"
+ "haskell-void")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+install="${pkgname}.install"
+sha256sums=('d48509a066f864c3c6a8944117e788bab80587d40b1799600c99da389ee249b6')
+
+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 \
+-f-j -ftrustworthy -f-safe -ftest-templates -ftest-properties 
-ftest-hunit -ftest-doctests -ftest-hlint -f-dump-splices -f-old-inline-pragmas 
-finlining -f-benchmark-uniplate
+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-lens/repos/community-staging-i686/haskell-lens.install (from 
rev 170027, haskell-lens/trunk/haskell-lens.install)
===
--- community-staging-i686/haskell-lens.install (rev 0)
+++ community-staging-i686/haskell-lens.install 2016-04-10 08:58:07 UTC (rev 
170028)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-lens
+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-lens/repos/community-staging-x86_64/PKGBUILD (from rev 170027, 
haskell-lens/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-04-10 08:58:07 UTC (rev 170028)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Felix Yan 

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

2016-03-20 Thread Felix Yan
Date: Friday, March 18, 2016 @ 07:37:39
  Author: fyan
Revision: 167239

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

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

---+
 community-staging-i686/PKGBUILD   |   49 
 community-staging-i686/haskell-lens.install   |   18 
 community-staging-x86_64/PKGBUILD |   49 
 community-staging-x86_64/haskell-lens.install |   18 
 4 files changed, 134 insertions(+)

Copied: haskell-lens/repos/community-staging-i686/PKGBUILD (from rev 167238, 
haskell-lens/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-03-18 06:37:39 UTC (rev 167239)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=lens
+pkgname=haskell-lens
+pkgver=4.13.2.1
+pkgrel=3
+pkgdesc="Lenses, Folds and Traversals"
+url="http://github.com/ekmett/lens/;
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=("ghc=7.10.3" "haskell-base-orphans" "haskell-bifunctors" 
"haskell-comonad"
+ "haskell-contravariant" "haskell-distributive" "haskell-exceptions"
+ "haskell-free" "haskell-hashable" "haskell-kan-extensions" 
"haskell-mtl"
+ "haskell-parallel" "haskell-profunctors" "haskell-reflection"
+ "haskell-semigroupoids" "haskell-semigroups" "haskell-tagged" 
"haskell-text"
+ "haskell-transformers-compat" "haskell-unordered-containers" 
"haskell-vector"
+ "haskell-void")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+install="${pkgname}.install"
+sha256sums=('d48509a066f864c3c6a8944117e788bab80587d40b1799600c99da389ee249b6')
+
+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 \
+-f-j -ftrustworthy -f-safe -ftest-templates -ftest-properties 
-ftest-hunit -ftest-doctests -ftest-hlint -f-dump-splices -f-old-inline-pragmas 
-finlining -f-benchmark-uniplate
+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-lens/repos/community-staging-i686/haskell-lens.install (from 
rev 167238, haskell-lens/trunk/haskell-lens.install)
===
--- community-staging-i686/haskell-lens.install (rev 0)
+++ community-staging-i686/haskell-lens.install 2016-03-18 06:37:39 UTC (rev 
167239)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-lens
+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-lens/repos/community-staging-x86_64/PKGBUILD (from rev 167238, 
haskell-lens/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-03-18 06:37:39 UTC (rev 167239)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Felix Yan 

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

2016-03-02 Thread Felix Yan
Date: Wednesday, March 2, 2016 @ 10:49:41
  Author: fyan
Revision: 164097

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

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

---+
 community-staging-i686/PKGBUILD   |   49 
 community-staging-i686/haskell-lens.install   |   18 
 community-staging-x86_64/PKGBUILD |   49 
 community-staging-x86_64/haskell-lens.install |   18 
 4 files changed, 134 insertions(+)

Copied: haskell-lens/repos/community-staging-i686/PKGBUILD (from rev 164096, 
haskell-lens/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-03-02 09:49:41 UTC (rev 164097)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=lens
+pkgname=haskell-lens
+pkgver=4.13.2.1
+pkgrel=2
+pkgdesc="Lenses, Folds and Traversals"
+url="http://github.com/ekmett/lens/;
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=("ghc=7.10.3" "haskell-base-orphans" "haskell-bifunctors" 
"haskell-comonad"
+ "haskell-contravariant" "haskell-distributive" "haskell-exceptions"
+ "haskell-free" "haskell-hashable" "haskell-kan-extensions" 
"haskell-mtl"
+ "haskell-parallel" "haskell-profunctors" "haskell-reflection"
+ "haskell-semigroupoids" "haskell-semigroups" "haskell-tagged" 
"haskell-text"
+ "haskell-transformers-compat" "haskell-unordered-containers" 
"haskell-vector"
+ "haskell-void")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+install="${pkgname}.install"
+sha256sums=('d48509a066f864c3c6a8944117e788bab80587d40b1799600c99da389ee249b6')
+
+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 \
+-f-j -ftrustworthy -f-safe -ftest-templates -ftest-properties 
-ftest-hunit -ftest-doctests -ftest-hlint -f-dump-splices -f-old-inline-pragmas 
-finlining -f-benchmark-uniplate
+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-lens/repos/community-staging-i686/haskell-lens.install (from 
rev 164096, haskell-lens/trunk/haskell-lens.install)
===
--- community-staging-i686/haskell-lens.install (rev 0)
+++ community-staging-i686/haskell-lens.install 2016-03-02 09:49:41 UTC (rev 
164097)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-lens
+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-lens/repos/community-staging-x86_64/PKGBUILD (from rev 164096, 
haskell-lens/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-03-02 09:49:41 UTC (rev 164097)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Felix 

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

2016-02-29 Thread Felix Yan
Date: Monday, February 29, 2016 @ 14:22:32
  Author: fyan
Revision: 163784

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

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

---+
 community-staging-i686/PKGBUILD   |   49 
 community-staging-i686/haskell-lens.install   |   18 
 community-staging-x86_64/PKGBUILD |   49 
 community-staging-x86_64/haskell-lens.install |   18 
 4 files changed, 134 insertions(+)

Copied: haskell-lens/repos/community-staging-i686/PKGBUILD (from rev 163783, 
haskell-lens/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-02-29 13:22:32 UTC (rev 163784)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=lens
+pkgname=haskell-lens
+pkgver=4.13.2.1
+pkgrel=1
+pkgdesc="Lenses, Folds and Traversals"
+url="http://github.com/ekmett/lens/;
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=("ghc=7.10.3" "haskell-base-orphans" "haskell-bifunctors" 
"haskell-comonad"
+ "haskell-contravariant" "haskell-distributive" "haskell-exceptions"
+ "haskell-free" "haskell-hashable" "haskell-kan-extensions" 
"haskell-mtl"
+ "haskell-parallel" "haskell-profunctors" "haskell-reflection"
+ "haskell-semigroupoids" "haskell-semigroups" "haskell-tagged" 
"haskell-text"
+ "haskell-transformers-compat" "haskell-unordered-containers" 
"haskell-vector"
+ "haskell-void")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+install="${pkgname}.install"
+sha256sums=('d48509a066f864c3c6a8944117e788bab80587d40b1799600c99da389ee249b6')
+
+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 \
+-f-j -ftrustworthy -f-safe -ftest-templates -ftest-properties 
-ftest-hunit -ftest-doctests -ftest-hlint -f-dump-splices -f-old-inline-pragmas 
-finlining -f-benchmark-uniplate
+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-lens/repos/community-staging-i686/haskell-lens.install (from 
rev 163783, haskell-lens/trunk/haskell-lens.install)
===
--- community-staging-i686/haskell-lens.install (rev 0)
+++ community-staging-i686/haskell-lens.install 2016-02-29 13:22:32 UTC (rev 
163784)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-lens
+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-lens/repos/community-staging-x86_64/PKGBUILD (from rev 163783, 
haskell-lens/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-02-29 13:22:32 UTC (rev 163784)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Felix 

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

2016-02-17 Thread Felix Yan
Date: Wednesday, February 17, 2016 @ 15:45:20
  Author: fyan
Revision: 162079

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

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

---+
 community-staging-i686/PKGBUILD   |   49 
 community-staging-i686/haskell-lens.install   |   18 
 community-staging-x86_64/PKGBUILD |   49 
 community-staging-x86_64/haskell-lens.install |   18 
 4 files changed, 134 insertions(+)

Copied: haskell-lens/repos/community-staging-i686/PKGBUILD (from rev 162078, 
haskell-lens/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-02-17 14:45:20 UTC (rev 162079)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=lens
+pkgname=haskell-lens
+pkgver=4.13.2
+pkgrel=3
+pkgdesc="Lenses, Folds and Traversals"
+url="http://github.com/ekmett/lens/;
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=("ghc=7.10.3" "haskell-base-orphans" "haskell-bifunctors" 
"haskell-comonad"
+ "haskell-contravariant" "haskell-distributive" "haskell-exceptions"
+ "haskell-free" "haskell-hashable" "haskell-kan-extensions" 
"haskell-mtl"
+ "haskell-parallel" "haskell-profunctors" "haskell-reflection"
+ "haskell-semigroupoids" "haskell-semigroups" "haskell-tagged" 
"haskell-text"
+ "haskell-transformers-compat" "haskell-unordered-containers" 
"haskell-vector"
+ "haskell-void")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+install="${pkgname}.install"
+sha256sums=('814b7b35949cc8a3ad1a35fc39b88fc3b78bbfb339097f3f3438627048155b78')
+
+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 \
+-f-j -ftrustworthy -f-safe -ftest-templates -ftest-properties 
-ftest-hunit -ftest-doctests -ftest-hlint -f-dump-splices -f-old-inline-pragmas 
-finlining -f-benchmark-uniplate
+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-lens/repos/community-staging-i686/haskell-lens.install (from 
rev 162078, haskell-lens/trunk/haskell-lens.install)
===
--- community-staging-i686/haskell-lens.install (rev 0)
+++ community-staging-i686/haskell-lens.install 2016-02-17 14:45:20 UTC (rev 
162079)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-lens
+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-lens/repos/community-staging-x86_64/PKGBUILD (from rev 162078, 
haskell-lens/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-02-17 14:45:20 UTC (rev 162079)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Felix 

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

2016-02-11 Thread Felix Yan
Date: Thursday, February 11, 2016 @ 12:10:49
  Author: fyan
Revision: 161189

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

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

---+
 community-staging-i686/PKGBUILD   |   49 
 community-staging-i686/haskell-lens.install   |   18 
 community-staging-x86_64/PKGBUILD |   49 
 community-staging-x86_64/haskell-lens.install |   18 
 4 files changed, 134 insertions(+)

Copied: haskell-lens/repos/community-staging-i686/PKGBUILD (from rev 161188, 
haskell-lens/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-02-11 11:10:49 UTC (rev 161189)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=lens
+pkgname=haskell-lens
+pkgver=4.13.2
+pkgrel=1
+pkgdesc="Lenses, Folds and Traversals"
+url="http://github.com/ekmett/lens/;
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=("ghc=7.10.3" "haskell-base-orphans" "haskell-bifunctors" 
"haskell-comonad"
+ "haskell-contravariant" "haskell-distributive" "haskell-exceptions"
+ "haskell-free" "haskell-hashable" "haskell-kan-extensions" 
"haskell-mtl"
+ "haskell-parallel" "haskell-profunctors" "haskell-reflection"
+ "haskell-semigroupoids" "haskell-semigroups" "haskell-tagged" 
"haskell-text"
+ "haskell-transformers-compat" "haskell-unordered-containers" 
"haskell-vector"
+ "haskell-void")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+install="${pkgname}.install"
+sha256sums=('814b7b35949cc8a3ad1a35fc39b88fc3b78bbfb339097f3f3438627048155b78')
+
+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 \
+-f-j -ftrustworthy -f-safe -ftest-templates -ftest-properties 
-ftest-hunit -ftest-doctests -ftest-hlint -f-dump-splices -f-old-inline-pragmas 
-finlining -f-benchmark-uniplate
+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-lens/repos/community-staging-i686/haskell-lens.install (from 
rev 161188, haskell-lens/trunk/haskell-lens.install)
===
--- community-staging-i686/haskell-lens.install (rev 0)
+++ community-staging-i686/haskell-lens.install 2016-02-11 11:10:49 UTC (rev 
161189)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-lens
+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-lens/repos/community-staging-x86_64/PKGBUILD (from rev 161188, 
haskell-lens/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-02-11 11:10:49 UTC (rev 161189)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Felix 

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

2016-02-11 Thread Felix Yan
Date: Friday, February 12, 2016 @ 05:16:21
  Author: fyan
Revision: 161360

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

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

---+
 community-staging-i686/PKGBUILD   |   49 
 community-staging-i686/haskell-lens.install   |   18 
 community-staging-x86_64/PKGBUILD |   49 
 community-staging-x86_64/haskell-lens.install |   18 
 4 files changed, 134 insertions(+)

Copied: haskell-lens/repos/community-staging-i686/PKGBUILD (from rev 161359, 
haskell-lens/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-02-12 04:16:21 UTC (rev 161360)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=lens
+pkgname=haskell-lens
+pkgver=4.13.2
+pkgrel=2
+pkgdesc="Lenses, Folds and Traversals"
+url="http://github.com/ekmett/lens/;
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=("ghc=7.10.3" "haskell-base-orphans" "haskell-bifunctors" 
"haskell-comonad"
+ "haskell-contravariant" "haskell-distributive" "haskell-exceptions"
+ "haskell-free" "haskell-hashable" "haskell-kan-extensions" 
"haskell-mtl"
+ "haskell-parallel" "haskell-profunctors" "haskell-reflection"
+ "haskell-semigroupoids" "haskell-semigroups" "haskell-tagged" 
"haskell-text"
+ "haskell-transformers-compat" "haskell-unordered-containers" 
"haskell-vector"
+ "haskell-void")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+install="${pkgname}.install"
+sha256sums=('814b7b35949cc8a3ad1a35fc39b88fc3b78bbfb339097f3f3438627048155b78')
+
+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 \
+-f-j -ftrustworthy -f-safe -ftest-templates -ftest-properties 
-ftest-hunit -ftest-doctests -ftest-hlint -f-dump-splices -f-old-inline-pragmas 
-finlining -f-benchmark-uniplate
+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-lens/repos/community-staging-i686/haskell-lens.install (from 
rev 161359, haskell-lens/trunk/haskell-lens.install)
===
--- community-staging-i686/haskell-lens.install (rev 0)
+++ community-staging-i686/haskell-lens.install 2016-02-12 04:16:21 UTC (rev 
161360)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-lens
+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-lens/repos/community-staging-x86_64/PKGBUILD (from rev 161359, 
haskell-lens/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-02-12 04:16:21 UTC (rev 161360)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Felix 

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

2016-02-01 Thread Felix Yan
Date: Tuesday, February 2, 2016 @ 07:26:27
  Author: fyan
Revision: 159878

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

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

---+
 community-staging-i686/PKGBUILD   |   49 
 community-staging-i686/haskell-lens.install   |   18 
 community-staging-x86_64/PKGBUILD |   49 
 community-staging-x86_64/haskell-lens.install |   18 
 4 files changed, 134 insertions(+)

Copied: haskell-lens/repos/community-staging-i686/PKGBUILD (from rev 159877, 
haskell-lens/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-02-02 06:26:27 UTC (rev 159878)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=lens
+pkgname=haskell-lens
+pkgver=4.13.1
+pkgrel=5
+pkgdesc="Lenses, Folds and Traversals"
+url="http://github.com/ekmett/lens/;
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=("ghc=7.10.3" "haskell-base-orphans" "haskell-bifunctors" 
"haskell-comonad"
+ "haskell-contravariant" "haskell-distributive" "haskell-exceptions"
+ "haskell-free" "haskell-hashable" "haskell-kan-extensions" 
"haskell-mtl"
+ "haskell-parallel" "haskell-profunctors" "haskell-reflection"
+ "haskell-semigroupoids" "haskell-semigroups" "haskell-tagged" 
"haskell-text"
+ "haskell-transformers-compat" "haskell-unordered-containers" 
"haskell-vector"
+ "haskell-void")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+install="${pkgname}.install"
+sha256sums=('987137d11f189e08ceeb0e2e5c047c1456ad42974067d2d8e11309ef6b7b')
+
+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 \
+-f-j -ftrustworthy -f-safe -ftest-templates -ftest-properties 
-ftest-hunit -ftest-doctests -ftest-hlint -f-dump-splices -f-old-inline-pragmas 
-finlining -f-benchmark-uniplate
+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-lens/repos/community-staging-i686/haskell-lens.install (from 
rev 159877, haskell-lens/trunk/haskell-lens.install)
===
--- community-staging-i686/haskell-lens.install (rev 0)
+++ community-staging-i686/haskell-lens.install 2016-02-02 06:26:27 UTC (rev 
159878)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-lens
+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-lens/repos/community-staging-x86_64/PKGBUILD (from rev 159877, 
haskell-lens/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-02-02 06:26:27 UTC (rev 159878)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Felix 

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

2016-01-19 Thread Felix Yan
Date: Wednesday, January 20, 2016 @ 08:29:52
  Author: fyan
Revision: 157952

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

Added:
  haskell-lens/repos/community-staging-i686/PKGBUILD
(from rev 157951, haskell-lens/trunk/PKGBUILD)
  haskell-lens/repos/community-staging-i686/haskell-lens.install
(from rev 157951, haskell-lens/trunk/haskell-lens.install)
  haskell-lens/repos/community-staging-x86_64/PKGBUILD
(from rev 157951, haskell-lens/trunk/PKGBUILD)
  haskell-lens/repos/community-staging-x86_64/haskell-lens.install
(from rev 157951, haskell-lens/trunk/haskell-lens.install)
Deleted:
  haskell-lens/repos/community-staging-x86_64/PKGBUILD
  haskell-lens/repos/community-staging-x86_64/haskell-lens.install

---+
 /PKGBUILD |   49 
 /haskell-lens.install |   18 
 community-staging-i686/PKGBUILD   |   49 
 community-staging-i686/haskell-lens.install   |   18 
 community-staging-x86_64/PKGBUILD |   49 
 community-staging-x86_64/haskell-lens.install |   18 
 6 files changed, 134 insertions(+), 67 deletions(-)

Copied: haskell-lens/repos/community-staging-i686/PKGBUILD (from rev 157951, 
haskell-lens/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-01-20 07:29:52 UTC (rev 157952)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=lens
+pkgname=haskell-lens
+pkgver=4.13.1
+pkgrel=3
+pkgdesc="Lenses, Folds and Traversals"
+url="http://github.com/ekmett/lens/;
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=("ghc=7.10.3" "haskell-base-orphans" "haskell-bifunctors" 
"haskell-comonad"
+ "haskell-contravariant" "haskell-distributive" "haskell-exceptions"
+ "haskell-free" "haskell-hashable" "haskell-kan-extensions" 
"haskell-mtl"
+ "haskell-parallel" "haskell-profunctors" "haskell-reflection"
+ "haskell-semigroupoids" "haskell-semigroups" "haskell-tagged" 
"haskell-text"
+ "haskell-transformers-compat" "haskell-unordered-containers" 
"haskell-vector"
+ "haskell-void")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+install="${pkgname}.install"
+sha256sums=('987137d11f189e08ceeb0e2e5c047c1456ad42974067d2d8e11309ef6b7b')
+
+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 \
+-f-j -ftrustworthy -f-safe -ftest-templates -ftest-properties 
-ftest-hunit -ftest-doctests -ftest-hlint -f-dump-splices -f-old-inline-pragmas 
-finlining -f-benchmark-uniplate
+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-lens/repos/community-staging-i686/haskell-lens.install (from 
rev 157951, haskell-lens/trunk/haskell-lens.install)
===
--- community-staging-i686/haskell-lens.install (rev 0)
+++ community-staging-i686/haskell-lens.install 2016-01-20 07:29:52 UTC (rev 
157952)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-lens
+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)
+}

Deleted: community-staging-x86_64/PKGBUILD
===
--- community-staging-x86_64/PKGBUILD   2016-01-20 07:29:16 UTC 

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

2016-01-17 Thread Felix Yan
Date: Monday, January 18, 2016 @ 08:09:34
  Author: fyan
Revision: 157400

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

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

---+
 community-staging-i686/PKGBUILD   |   49 
 community-staging-i686/haskell-lens.install   |   18 
 community-staging-x86_64/PKGBUILD |   49 
 community-staging-x86_64/haskell-lens.install |   18 
 4 files changed, 134 insertions(+)

Copied: haskell-lens/repos/community-staging-i686/PKGBUILD (from rev 157399, 
haskell-lens/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-01-18 07:09:34 UTC (rev 157400)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=lens
+pkgname=haskell-lens
+pkgver=4.13.1
+pkgrel=2
+pkgdesc="Lenses, Folds and Traversals"
+url="http://github.com/ekmett/lens/;
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=("ghc=7.10.3" "haskell-base-orphans" "haskell-bifunctors" 
"haskell-comonad"
+ "haskell-contravariant" "haskell-distributive" "haskell-exceptions"
+ "haskell-free" "haskell-hashable" "haskell-kan-extensions" 
"haskell-mtl"
+ "haskell-parallel" "haskell-profunctors" "haskell-reflection"
+ "haskell-semigroupoids" "haskell-semigroups" "haskell-tagged" 
"haskell-text"
+ "haskell-transformers-compat" "haskell-unordered-containers" 
"haskell-vector"
+ "haskell-void")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+install="${pkgname}.install"
+sha256sums=('987137d11f189e08ceeb0e2e5c047c1456ad42974067d2d8e11309ef6b7b')
+
+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 \
+-f-j -ftrustworthy -f-safe -ftest-templates -ftest-properties 
-ftest-hunit -ftest-doctests -ftest-hlint -f-dump-splices -f-old-inline-pragmas 
-finlining -f-benchmark-uniplate
+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-lens/repos/community-staging-i686/haskell-lens.install (from 
rev 157399, haskell-lens/trunk/haskell-lens.install)
===
--- community-staging-i686/haskell-lens.install (rev 0)
+++ community-staging-i686/haskell-lens.install 2016-01-18 07:09:34 UTC (rev 
157400)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-lens
+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-lens/repos/community-staging-x86_64/PKGBUILD (from rev 157399, 
haskell-lens/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-01-18 07:09:34 UTC (rev 157400)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Felix Yan 

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

2016-01-17 Thread Felix Yan
Date: Sunday, January 17, 2016 @ 14:45:42
  Author: fyan
Revision: 157142

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

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

---+
 community-staging-i686/PKGBUILD   |   49 
 community-staging-i686/haskell-lens.install   |   18 
 community-staging-x86_64/PKGBUILD |   49 
 community-staging-x86_64/haskell-lens.install |   18 
 4 files changed, 134 insertions(+)

Copied: haskell-lens/repos/community-staging-i686/PKGBUILD (from rev 157141, 
haskell-lens/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-01-17 13:45:42 UTC (rev 157142)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=lens
+pkgname=haskell-lens
+pkgver=4.13.1
+pkgrel=1
+pkgdesc="Lenses, Folds and Traversals"
+url="http://github.com/ekmett/lens/;
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=("ghc=7.10.3" "haskell-base-orphans" "haskell-bifunctors" 
"haskell-comonad"
+ "haskell-contravariant" "haskell-distributive" "haskell-exceptions"
+ "haskell-free" "haskell-hashable" "haskell-kan-extensions" 
"haskell-mtl"
+ "haskell-parallel" "haskell-profunctors" "haskell-reflection"
+ "haskell-semigroupoids" "haskell-semigroups" "haskell-tagged" 
"haskell-text"
+ "haskell-transformers-compat" "haskell-unordered-containers" 
"haskell-vector"
+ "haskell-void")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+install="${pkgname}.install"
+sha256sums=('987137d11f189e08ceeb0e2e5c047c1456ad42974067d2d8e11309ef6b7b')
+
+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 \
+-f-j -ftrustworthy -f-safe -ftest-templates -ftest-properties 
-ftest-hunit -ftest-doctests -ftest-hlint -f-dump-splices -f-old-inline-pragmas 
-finlining -f-benchmark-uniplate
+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-lens/repos/community-staging-i686/haskell-lens.install (from 
rev 157141, haskell-lens/trunk/haskell-lens.install)
===
--- community-staging-i686/haskell-lens.install (rev 0)
+++ community-staging-i686/haskell-lens.install 2016-01-17 13:45:42 UTC (rev 
157142)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-lens
+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-lens/repos/community-staging-x86_64/PKGBUILD (from rev 157141, 
haskell-lens/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-01-17 13:45:42 UTC (rev 157142)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Felix Yan 

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

2016-01-15 Thread Felix Yan
Date: Friday, January 15, 2016 @ 11:16:28
  Author: fyan
Revision: 156688

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

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

---+
 community-i686/PKGBUILD   |   49 
 community-i686/haskell-lens.install   |   18 +++
 community-x86_64/PKGBUILD |   49 
 community-x86_64/haskell-lens.install |   18 +++
 4 files changed, 134 insertions(+)

Copied: haskell-lens/repos/community-i686/PKGBUILD (from rev 156687, 
haskell-lens/trunk/PKGBUILD)
===
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2016-01-15 10:16:28 UTC (rev 156688)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=lens
+pkgname=haskell-lens
+pkgver=4.13
+pkgrel=1
+pkgdesc="Lenses, Folds and Traversals"
+url="http://github.com/ekmett/lens/;
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=("ghc=7.10.3" "haskell-base-orphans" "haskell-bifunctors" 
"haskell-comonad"
+ "haskell-contravariant" "haskell-distributive" "haskell-exceptions"
+ "haskell-free" "haskell-hashable" "haskell-kan-extensions" 
"haskell-mtl"
+ "haskell-parallel" "haskell-profunctors" "haskell-reflection"
+ "haskell-semigroupoids" "haskell-semigroups" "haskell-tagged" 
"haskell-text"
+ "haskell-transformers-compat" "haskell-unordered-containers" 
"haskell-vector"
+ "haskell-void")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+install="${pkgname}.install"
+sha256sums=('3556e7bf69d13fca0e73c5e429c8d25a876931c24ae5aa1f4755acac67078f3c')
+
+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 \
+-f-j -ftrustworthy -f-safe -ftest-templates -ftest-properties 
-ftest-hunit -ftest-doctests -ftest-hlint -f-dump-splices -f-old-inline-pragmas 
-finlining -f-benchmark-uniplate
+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-lens/repos/community-i686/haskell-lens.install (from rev 
156687, haskell-lens/trunk/haskell-lens.install)
===
--- community-i686/haskell-lens.install (rev 0)
+++ community-i686/haskell-lens.install 2016-01-15 10:16:28 UTC (rev 156688)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-lens
+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-lens/repos/community-x86_64/PKGBUILD (from rev 156687, 
haskell-lens/trunk/PKGBUILD)
===
--- community-x86_64/PKGBUILD   (rev 0)
+++ community-x86_64/PKGBUILD   2016-01-15 10:16:28 UTC (rev 156688)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=lens
+pkgname=haskell-lens
+pkgver=4.13
+pkgrel=1

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

2016-01-15 Thread Felix Yan
Date: Saturday, January 16, 2016 @ 04:08:31
  Author: fyan
Revision: 156809

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

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

---+
 community-staging-i686/PKGBUILD   |   49 
 community-staging-i686/haskell-lens.install   |   18 
 community-staging-x86_64/PKGBUILD |   49 
 community-staging-x86_64/haskell-lens.install |   18 
 4 files changed, 134 insertions(+)

Copied: haskell-lens/repos/community-staging-i686/PKGBUILD (from rev 156808, 
haskell-lens/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-01-16 03:08:31 UTC (rev 156809)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=lens
+pkgname=haskell-lens
+pkgver=4.13
+pkgrel=2
+pkgdesc="Lenses, Folds and Traversals"
+url="http://github.com/ekmett/lens/;
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=("ghc=7.10.3" "haskell-base-orphans" "haskell-bifunctors" 
"haskell-comonad"
+ "haskell-contravariant" "haskell-distributive" "haskell-exceptions"
+ "haskell-free" "haskell-hashable" "haskell-kan-extensions" 
"haskell-mtl"
+ "haskell-parallel" "haskell-profunctors" "haskell-reflection"
+ "haskell-semigroupoids" "haskell-semigroups" "haskell-tagged" 
"haskell-text"
+ "haskell-transformers-compat" "haskell-unordered-containers" 
"haskell-vector"
+ "haskell-void")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+install="${pkgname}.install"
+sha256sums=('3556e7bf69d13fca0e73c5e429c8d25a876931c24ae5aa1f4755acac67078f3c')
+
+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 \
+-f-j -ftrustworthy -f-safe -ftest-templates -ftest-properties 
-ftest-hunit -ftest-doctests -ftest-hlint -f-dump-splices -f-old-inline-pragmas 
-finlining -f-benchmark-uniplate
+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-lens/repos/community-staging-i686/haskell-lens.install (from 
rev 156808, haskell-lens/trunk/haskell-lens.install)
===
--- community-staging-i686/haskell-lens.install (rev 0)
+++ community-staging-i686/haskell-lens.install 2016-01-16 03:08:31 UTC (rev 
156809)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-lens
+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-lens/repos/community-staging-x86_64/PKGBUILD (from rev 156808, 
haskell-lens/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-01-16 03:08:31 UTC (rev 156809)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Felix Yan