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

2016-05-12 Thread Felix Yan
Date: Friday, May 13, 2016 @ 06:19:29
  Author: fyan
Revision: 175103

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

Added:
  haskell-project-template/repos/community-staging-i686/
  haskell-project-template/repos/community-staging-i686/PKGBUILD
(from rev 175102, haskell-project-template/trunk/PKGBUILD)
  
haskell-project-template/repos/community-staging-i686/haskell-project-template.install
(from rev 175102, 
haskell-project-template/trunk/haskell-project-template.install)
  haskell-project-template/repos/community-staging-x86_64/
  haskell-project-template/repos/community-staging-x86_64/PKGBUILD
(from rev 175102, haskell-project-template/trunk/PKGBUILD)
  
haskell-project-template/repos/community-staging-x86_64/haskell-project-template.install
(from rev 175102, 
haskell-project-template/trunk/haskell-project-template.install)

---+
 community-staging-i686/PKGBUILD   |   44 
 community-staging-i686/haskell-project-template.install   |   18 
 community-staging-x86_64/PKGBUILD |   44 
 community-staging-x86_64/haskell-project-template.install |   18 
 4 files changed, 124 insertions(+)

Copied: haskell-project-template/repos/community-staging-i686/PKGBUILD (from 
rev 175102, haskell-project-template/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-05-13 04:19:29 UTC (rev 175103)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=project-template
+pkgname=haskell-project-template
+pkgver=0.2.0
+pkgrel=24
+pkgdesc="Specify Haskell project templates and generate files"
+url="https://github.com/fpco/haskell-ide;
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=("ghc=7.10.3" "haskell-base64-bytestring" "haskell-conduit"
+ "haskell-conduit-extra" "haskell-mtl" "haskell-resourcet"
+ "haskell-text")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+install="${pkgname}.install"
+sha256sums=('aeabd7d1785b31abaffc78f02d9dda67d57d01822755f09614bfc65e99506310')
+
+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-project-template/repos/community-staging-i686/haskell-project-template.install
 (from rev 175102, 
haskell-project-template/trunk/haskell-project-template.install)
===
--- community-staging-i686/haskell-project-template.install 
(rev 0)
+++ community-staging-i686/haskell-project-template.install 2016-05-13 
04:19:29 UTC (rev 175103)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-project-template
+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-project-template/repos/community-staging-x86_64/PKGBUILD (from 
rev 175102, haskell-project-template/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-05-13 04:19:29 UTC (rev 175103)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=project-template
+pkgname=haskell-project-template

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

2016-05-07 Thread Felix Yan
Date: Saturday, May 7, 2016 @ 13:08:51
  Author: fyan
Revision: 174066

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

Added:
  haskell-project-template/repos/community-staging-i686/
  haskell-project-template/repos/community-staging-i686/PKGBUILD
(from rev 174065, haskell-project-template/trunk/PKGBUILD)
  
haskell-project-template/repos/community-staging-i686/haskell-project-template.install
(from rev 174065, 
haskell-project-template/trunk/haskell-project-template.install)
  haskell-project-template/repos/community-staging-x86_64/
  haskell-project-template/repos/community-staging-x86_64/PKGBUILD
(from rev 174065, haskell-project-template/trunk/PKGBUILD)
  
haskell-project-template/repos/community-staging-x86_64/haskell-project-template.install
(from rev 174065, 
haskell-project-template/trunk/haskell-project-template.install)

---+
 community-staging-i686/PKGBUILD   |   44 
 community-staging-i686/haskell-project-template.install   |   18 
 community-staging-x86_64/PKGBUILD |   44 
 community-staging-x86_64/haskell-project-template.install |   18 
 4 files changed, 124 insertions(+)

Copied: haskell-project-template/repos/community-staging-i686/PKGBUILD (from 
rev 174065, haskell-project-template/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-05-07 11:08:51 UTC (rev 174066)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=project-template
+pkgname=haskell-project-template
+pkgver=0.2.0
+pkgrel=23
+pkgdesc="Specify Haskell project templates and generate files"
+url="https://github.com/fpco/haskell-ide;
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=("ghc=7.10.3" "haskell-base64-bytestring" "haskell-conduit"
+ "haskell-conduit-extra" "haskell-mtl" "haskell-resourcet"
+ "haskell-text")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+install="${pkgname}.install"
+sha256sums=('aeabd7d1785b31abaffc78f02d9dda67d57d01822755f09614bfc65e99506310')
+
+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-project-template/repos/community-staging-i686/haskell-project-template.install
 (from rev 174065, 
haskell-project-template/trunk/haskell-project-template.install)
===
--- community-staging-i686/haskell-project-template.install 
(rev 0)
+++ community-staging-i686/haskell-project-template.install 2016-05-07 
11:08:51 UTC (rev 174066)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-project-template
+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-project-template/repos/community-staging-x86_64/PKGBUILD (from 
rev 174065, haskell-project-template/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-05-07 11:08:51 UTC (rev 174066)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=project-template
+pkgname=haskell-project-template

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

2016-04-29 Thread Felix Yan
Date: Friday, April 29, 2016 @ 12:23:30
  Author: fyan
Revision: 172685

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

Added:
  haskell-project-template/repos/community-staging-i686/
  haskell-project-template/repos/community-staging-i686/PKGBUILD
(from rev 172684, haskell-project-template/trunk/PKGBUILD)
  
haskell-project-template/repos/community-staging-i686/haskell-project-template.install
(from rev 172684, 
haskell-project-template/trunk/haskell-project-template.install)
  haskell-project-template/repos/community-staging-x86_64/
  haskell-project-template/repos/community-staging-x86_64/PKGBUILD
(from rev 172684, haskell-project-template/trunk/PKGBUILD)
  
haskell-project-template/repos/community-staging-x86_64/haskell-project-template.install
(from rev 172684, 
haskell-project-template/trunk/haskell-project-template.install)

---+
 community-staging-i686/PKGBUILD   |   44 
 community-staging-i686/haskell-project-template.install   |   18 
 community-staging-x86_64/PKGBUILD |   44 
 community-staging-x86_64/haskell-project-template.install |   18 
 4 files changed, 124 insertions(+)

Copied: haskell-project-template/repos/community-staging-i686/PKGBUILD (from 
rev 172684, haskell-project-template/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-04-29 10:23:30 UTC (rev 172685)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=project-template
+pkgname=haskell-project-template
+pkgver=0.2.0
+pkgrel=22
+pkgdesc="Specify Haskell project templates and generate files"
+url="https://github.com/fpco/haskell-ide;
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=("ghc=7.10.3" "haskell-base64-bytestring" "haskell-conduit"
+ "haskell-conduit-extra" "haskell-mtl" "haskell-resourcet"
+ "haskell-text")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+install="${pkgname}.install"
+sha256sums=('aeabd7d1785b31abaffc78f02d9dda67d57d01822755f09614bfc65e99506310')
+
+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-project-template/repos/community-staging-i686/haskell-project-template.install
 (from rev 172684, 
haskell-project-template/trunk/haskell-project-template.install)
===
--- community-staging-i686/haskell-project-template.install 
(rev 0)
+++ community-staging-i686/haskell-project-template.install 2016-04-29 
10:23:30 UTC (rev 172685)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-project-template
+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-project-template/repos/community-staging-x86_64/PKGBUILD (from 
rev 172684, haskell-project-template/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-04-29 10:23:30 UTC (rev 172685)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=project-template
+pkgname=haskell-project-template

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

2016-04-10 Thread Felix Yan
Date: Sunday, April 10, 2016 @ 12:46:07
  Author: fyan
Revision: 170062

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

Added:
  haskell-project-template/repos/community-staging-i686/
  haskell-project-template/repos/community-staging-i686/PKGBUILD
(from rev 170061, haskell-project-template/trunk/PKGBUILD)
  
haskell-project-template/repos/community-staging-i686/haskell-project-template.install
(from rev 170061, 
haskell-project-template/trunk/haskell-project-template.install)
  haskell-project-template/repos/community-staging-x86_64/
  haskell-project-template/repos/community-staging-x86_64/PKGBUILD
(from rev 170061, haskell-project-template/trunk/PKGBUILD)
  
haskell-project-template/repos/community-staging-x86_64/haskell-project-template.install
(from rev 170061, 
haskell-project-template/trunk/haskell-project-template.install)

---+
 community-staging-i686/PKGBUILD   |   44 
 community-staging-i686/haskell-project-template.install   |   18 
 community-staging-x86_64/PKGBUILD |   44 
 community-staging-x86_64/haskell-project-template.install |   18 
 4 files changed, 124 insertions(+)

Copied: haskell-project-template/repos/community-staging-i686/PKGBUILD (from 
rev 170061, haskell-project-template/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-04-10 10:46:07 UTC (rev 170062)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=project-template
+pkgname=haskell-project-template
+pkgver=0.2.0
+pkgrel=21
+pkgdesc="Specify Haskell project templates and generate files"
+url="https://github.com/fpco/haskell-ide;
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=("ghc=7.10.3" "haskell-base64-bytestring" "haskell-conduit"
+ "haskell-conduit-extra" "haskell-mtl" "haskell-resourcet"
+ "haskell-text")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+install="${pkgname}.install"
+sha256sums=('aeabd7d1785b31abaffc78f02d9dda67d57d01822755f09614bfc65e99506310')
+
+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-project-template/repos/community-staging-i686/haskell-project-template.install
 (from rev 170061, 
haskell-project-template/trunk/haskell-project-template.install)
===
--- community-staging-i686/haskell-project-template.install 
(rev 0)
+++ community-staging-i686/haskell-project-template.install 2016-04-10 
10:46:07 UTC (rev 170062)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-project-template
+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-project-template/repos/community-staging-x86_64/PKGBUILD (from 
rev 170061, haskell-project-template/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-04-10 10:46:07 UTC (rev 170062)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=project-template
+pkgname=haskell-project-template

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

2016-04-03 Thread Felix Yan
Date: Sunday, April 3, 2016 @ 10:09:44
  Author: fyan
Revision: 169373

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

Added:
  haskell-project-template/repos/community-staging-i686/
  haskell-project-template/repos/community-staging-i686/PKGBUILD
(from rev 169372, haskell-project-template/trunk/PKGBUILD)
  
haskell-project-template/repos/community-staging-i686/haskell-project-template.install
(from rev 169372, 
haskell-project-template/trunk/haskell-project-template.install)
  haskell-project-template/repos/community-staging-x86_64/
  haskell-project-template/repos/community-staging-x86_64/PKGBUILD
(from rev 169372, haskell-project-template/trunk/PKGBUILD)
  
haskell-project-template/repos/community-staging-x86_64/haskell-project-template.install
(from rev 169372, 
haskell-project-template/trunk/haskell-project-template.install)

---+
 community-staging-i686/PKGBUILD   |   44 
 community-staging-i686/haskell-project-template.install   |   18 
 community-staging-x86_64/PKGBUILD |   44 
 community-staging-x86_64/haskell-project-template.install |   18 
 4 files changed, 124 insertions(+)

Copied: haskell-project-template/repos/community-staging-i686/PKGBUILD (from 
rev 169372, haskell-project-template/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-04-03 08:09:44 UTC (rev 169373)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=project-template
+pkgname=haskell-project-template
+pkgver=0.2.0
+pkgrel=20
+pkgdesc="Specify Haskell project templates and generate files"
+url="https://github.com/fpco/haskell-ide;
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=("ghc=7.10.3" "haskell-base64-bytestring" "haskell-conduit"
+ "haskell-conduit-extra" "haskell-mtl" "haskell-resourcet"
+ "haskell-text")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+install="${pkgname}.install"
+sha256sums=('aeabd7d1785b31abaffc78f02d9dda67d57d01822755f09614bfc65e99506310')
+
+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-project-template/repos/community-staging-i686/haskell-project-template.install
 (from rev 169372, 
haskell-project-template/trunk/haskell-project-template.install)
===
--- community-staging-i686/haskell-project-template.install 
(rev 0)
+++ community-staging-i686/haskell-project-template.install 2016-04-03 
08:09:44 UTC (rev 169373)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-project-template
+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-project-template/repos/community-staging-x86_64/PKGBUILD (from 
rev 169372, haskell-project-template/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-04-03 08:09:44 UTC (rev 169373)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=project-template
+pkgname=haskell-project-template

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

2016-03-30 Thread Felix Yan
Date: Wednesday, March 30, 2016 @ 18:56:57
  Author: fyan
Revision: 168910

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

Added:
  haskell-project-template/repos/community-staging-i686/
  haskell-project-template/repos/community-staging-i686/PKGBUILD
(from rev 168909, haskell-project-template/trunk/PKGBUILD)
  
haskell-project-template/repos/community-staging-i686/haskell-project-template.install
(from rev 168909, 
haskell-project-template/trunk/haskell-project-template.install)
  haskell-project-template/repos/community-staging-x86_64/
  haskell-project-template/repos/community-staging-x86_64/PKGBUILD
(from rev 168909, haskell-project-template/trunk/PKGBUILD)
  
haskell-project-template/repos/community-staging-x86_64/haskell-project-template.install
(from rev 168909, 
haskell-project-template/trunk/haskell-project-template.install)

---+
 community-staging-i686/PKGBUILD   |   44 
 community-staging-i686/haskell-project-template.install   |   18 
 community-staging-x86_64/PKGBUILD |   44 
 community-staging-x86_64/haskell-project-template.install |   18 
 4 files changed, 124 insertions(+)

Copied: haskell-project-template/repos/community-staging-i686/PKGBUILD (from 
rev 168909, haskell-project-template/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-03-30 16:56:57 UTC (rev 168910)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=project-template
+pkgname=haskell-project-template
+pkgver=0.2.0
+pkgrel=18
+pkgdesc="Specify Haskell project templates and generate files"
+url="https://github.com/fpco/haskell-ide;
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=("ghc=7.10.3" "haskell-base64-bytestring" "haskell-conduit"
+ "haskell-conduit-extra" "haskell-mtl" "haskell-resourcet"
+ "haskell-text")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+install="${pkgname}.install"
+sha256sums=('aeabd7d1785b31abaffc78f02d9dda67d57d01822755f09614bfc65e99506310')
+
+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-project-template/repos/community-staging-i686/haskell-project-template.install
 (from rev 168909, 
haskell-project-template/trunk/haskell-project-template.install)
===
--- community-staging-i686/haskell-project-template.install 
(rev 0)
+++ community-staging-i686/haskell-project-template.install 2016-03-30 
16:56:57 UTC (rev 168910)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-project-template
+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-project-template/repos/community-staging-x86_64/PKGBUILD (from 
rev 168909, haskell-project-template/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-03-30 16:56:57 UTC (rev 168910)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=project-template
+pkgname=haskell-project-template

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

2016-03-18 Thread Felix Yan
Date: Friday, March 18, 2016 @ 09:13:58
  Author: fyan
Revision: 167336

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

Added:
  haskell-project-template/repos/community-staging-i686/
  haskell-project-template/repos/community-staging-i686/PKGBUILD
(from rev 167335, haskell-project-template/trunk/PKGBUILD)
  
haskell-project-template/repos/community-staging-i686/haskell-project-template.install
(from rev 167335, 
haskell-project-template/trunk/haskell-project-template.install)
  haskell-project-template/repos/community-staging-x86_64/
  haskell-project-template/repos/community-staging-x86_64/PKGBUILD
(from rev 167335, haskell-project-template/trunk/PKGBUILD)
  
haskell-project-template/repos/community-staging-x86_64/haskell-project-template.install
(from rev 167335, 
haskell-project-template/trunk/haskell-project-template.install)

---+
 community-staging-i686/PKGBUILD   |   44 
 community-staging-i686/haskell-project-template.install   |   18 
 community-staging-x86_64/PKGBUILD |   44 
 community-staging-x86_64/haskell-project-template.install |   18 
 4 files changed, 124 insertions(+)

Copied: haskell-project-template/repos/community-staging-i686/PKGBUILD (from 
rev 167335, haskell-project-template/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-03-18 08:13:58 UTC (rev 167336)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=project-template
+pkgname=haskell-project-template
+pkgver=0.2.0
+pkgrel=17
+pkgdesc="Specify Haskell project templates and generate files"
+url="https://github.com/fpco/haskell-ide;
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=("ghc=7.10.3" "haskell-base64-bytestring" "haskell-conduit"
+ "haskell-conduit-extra" "haskell-mtl" "haskell-resourcet"
+ "haskell-text")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+install="${pkgname}.install"
+sha256sums=('aeabd7d1785b31abaffc78f02d9dda67d57d01822755f09614bfc65e99506310')
+
+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-project-template/repos/community-staging-i686/haskell-project-template.install
 (from rev 167335, 
haskell-project-template/trunk/haskell-project-template.install)
===
--- community-staging-i686/haskell-project-template.install 
(rev 0)
+++ community-staging-i686/haskell-project-template.install 2016-03-18 
08:13:58 UTC (rev 167336)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-project-template
+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-project-template/repos/community-staging-x86_64/PKGBUILD (from 
rev 167335, haskell-project-template/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-03-18 08:13:58 UTC (rev 167336)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=project-template
+pkgname=haskell-project-template

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

2016-03-11 Thread Felix Yan
Date: Saturday, March 12, 2016 @ 08:15:03
  Author: fyan
Revision: 166193

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

Added:
  haskell-project-template/repos/community-staging-i686/
  haskell-project-template/repos/community-staging-i686/PKGBUILD
(from rev 166192, haskell-project-template/trunk/PKGBUILD)
  
haskell-project-template/repos/community-staging-i686/haskell-project-template.install
(from rev 166192, 
haskell-project-template/trunk/haskell-project-template.install)
  haskell-project-template/repos/community-staging-x86_64/
  haskell-project-template/repos/community-staging-x86_64/PKGBUILD
(from rev 166192, haskell-project-template/trunk/PKGBUILD)
  
haskell-project-template/repos/community-staging-x86_64/haskell-project-template.install
(from rev 166192, 
haskell-project-template/trunk/haskell-project-template.install)

---+
 community-staging-i686/PKGBUILD   |   44 
 community-staging-i686/haskell-project-template.install   |   18 
 community-staging-x86_64/PKGBUILD |   44 
 community-staging-x86_64/haskell-project-template.install |   18 
 4 files changed, 124 insertions(+)

Copied: haskell-project-template/repos/community-staging-i686/PKGBUILD (from 
rev 166192, haskell-project-template/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-03-12 07:15:03 UTC (rev 166193)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=project-template
+pkgname=haskell-project-template
+pkgver=0.2.0
+pkgrel=16
+pkgdesc="Specify Haskell project templates and generate files"
+url="https://github.com/fpco/haskell-ide;
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=("ghc=7.10.3" "haskell-base64-bytestring" "haskell-conduit"
+ "haskell-conduit-extra" "haskell-mtl" "haskell-resourcet"
+ "haskell-text")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+install="${pkgname}.install"
+sha256sums=('aeabd7d1785b31abaffc78f02d9dda67d57d01822755f09614bfc65e99506310')
+
+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-project-template/repos/community-staging-i686/haskell-project-template.install
 (from rev 166192, 
haskell-project-template/trunk/haskell-project-template.install)
===
--- community-staging-i686/haskell-project-template.install 
(rev 0)
+++ community-staging-i686/haskell-project-template.install 2016-03-12 
07:15:03 UTC (rev 166193)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-project-template
+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-project-template/repos/community-staging-x86_64/PKGBUILD (from 
rev 166192, haskell-project-template/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-03-12 07:15:03 UTC (rev 166193)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=project-template
+pkgname=haskell-project-template

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

2016-03-09 Thread Felix Yan
Date: Wednesday, March 9, 2016 @ 14:42:25
  Author: fyan
Revision: 165747

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

Added:
  haskell-project-template/repos/community-staging-i686/
  haskell-project-template/repos/community-staging-i686/PKGBUILD
(from rev 165746, haskell-project-template/trunk/PKGBUILD)
  
haskell-project-template/repos/community-staging-i686/haskell-project-template.install
(from rev 165746, 
haskell-project-template/trunk/haskell-project-template.install)
  haskell-project-template/repos/community-staging-x86_64/
  haskell-project-template/repos/community-staging-x86_64/PKGBUILD
(from rev 165746, haskell-project-template/trunk/PKGBUILD)
  
haskell-project-template/repos/community-staging-x86_64/haskell-project-template.install
(from rev 165746, 
haskell-project-template/trunk/haskell-project-template.install)

---+
 community-staging-i686/PKGBUILD   |   44 
 community-staging-i686/haskell-project-template.install   |   18 
 community-staging-x86_64/PKGBUILD |   44 
 community-staging-x86_64/haskell-project-template.install |   18 
 4 files changed, 124 insertions(+)

Copied: haskell-project-template/repos/community-staging-i686/PKGBUILD (from 
rev 165746, haskell-project-template/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-03-09 13:42:25 UTC (rev 165747)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=project-template
+pkgname=haskell-project-template
+pkgver=0.2.0
+pkgrel=15
+pkgdesc="Specify Haskell project templates and generate files"
+url="https://github.com/fpco/haskell-ide;
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=("ghc=7.10.3" "haskell-base64-bytestring" "haskell-conduit"
+ "haskell-conduit-extra" "haskell-mtl" "haskell-resourcet"
+ "haskell-text")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+install="${pkgname}.install"
+sha256sums=('aeabd7d1785b31abaffc78f02d9dda67d57d01822755f09614bfc65e99506310')
+
+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-project-template/repos/community-staging-i686/haskell-project-template.install
 (from rev 165746, 
haskell-project-template/trunk/haskell-project-template.install)
===
--- community-staging-i686/haskell-project-template.install 
(rev 0)
+++ community-staging-i686/haskell-project-template.install 2016-03-09 
13:42:25 UTC (rev 165747)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-project-template
+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-project-template/repos/community-staging-x86_64/PKGBUILD (from 
rev 165746, haskell-project-template/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-03-09 13:42:25 UTC (rev 165747)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=project-template
+pkgname=haskell-project-template

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

2016-02-19 Thread Felix Yan
Date: Friday, February 19, 2016 @ 10:22:23
  Author: fyan
Revision: 162452

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

Added:
  haskell-project-template/repos/community-staging-i686/
  haskell-project-template/repos/community-staging-i686/PKGBUILD
(from rev 162451, haskell-project-template/trunk/PKGBUILD)
  
haskell-project-template/repos/community-staging-i686/haskell-project-template.install
(from rev 162451, 
haskell-project-template/trunk/haskell-project-template.install)
  haskell-project-template/repos/community-staging-x86_64/
  haskell-project-template/repos/community-staging-x86_64/PKGBUILD
(from rev 162451, haskell-project-template/trunk/PKGBUILD)
  
haskell-project-template/repos/community-staging-x86_64/haskell-project-template.install
(from rev 162451, 
haskell-project-template/trunk/haskell-project-template.install)

---+
 community-staging-i686/PKGBUILD   |   44 
 community-staging-i686/haskell-project-template.install   |   18 
 community-staging-x86_64/PKGBUILD |   44 
 community-staging-x86_64/haskell-project-template.install |   18 
 4 files changed, 124 insertions(+)

Copied: haskell-project-template/repos/community-staging-i686/PKGBUILD (from 
rev 162451, haskell-project-template/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-02-19 09:22:23 UTC (rev 162452)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=project-template
+pkgname=haskell-project-template
+pkgver=0.2.0
+pkgrel=13
+pkgdesc="Specify Haskell project templates and generate files"
+url="https://github.com/fpco/haskell-ide;
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=("ghc=7.10.3" "haskell-base64-bytestring" "haskell-conduit"
+ "haskell-conduit-extra" "haskell-mtl" "haskell-resourcet"
+ "haskell-text")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+install="${pkgname}.install"
+sha256sums=('aeabd7d1785b31abaffc78f02d9dda67d57d01822755f09614bfc65e99506310')
+
+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-project-template/repos/community-staging-i686/haskell-project-template.install
 (from rev 162451, 
haskell-project-template/trunk/haskell-project-template.install)
===
--- community-staging-i686/haskell-project-template.install 
(rev 0)
+++ community-staging-i686/haskell-project-template.install 2016-02-19 
09:22:23 UTC (rev 162452)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-project-template
+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-project-template/repos/community-staging-x86_64/PKGBUILD (from 
rev 162451, haskell-project-template/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-02-19 09:22:23 UTC (rev 162452)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=project-template
+pkgname=haskell-project-template

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

2016-02-17 Thread Felix Yan
Date: Thursday, February 18, 2016 @ 07:27:51
  Author: fyan
Revision: 162197

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

Added:
  haskell-project-template/repos/community-staging-i686/
  haskell-project-template/repos/community-staging-i686/PKGBUILD
(from rev 162196, haskell-project-template/trunk/PKGBUILD)
  
haskell-project-template/repos/community-staging-i686/haskell-project-template.install
(from rev 162196, 
haskell-project-template/trunk/haskell-project-template.install)
  haskell-project-template/repos/community-staging-x86_64/
  haskell-project-template/repos/community-staging-x86_64/PKGBUILD
(from rev 162196, haskell-project-template/trunk/PKGBUILD)
  
haskell-project-template/repos/community-staging-x86_64/haskell-project-template.install
(from rev 162196, 
haskell-project-template/trunk/haskell-project-template.install)

---+
 community-staging-i686/PKGBUILD   |   44 
 community-staging-i686/haskell-project-template.install   |   18 
 community-staging-x86_64/PKGBUILD |   44 
 community-staging-x86_64/haskell-project-template.install |   18 
 4 files changed, 124 insertions(+)

Copied: haskell-project-template/repos/community-staging-i686/PKGBUILD (from 
rev 162196, haskell-project-template/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-02-18 06:27:51 UTC (rev 162197)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=project-template
+pkgname=haskell-project-template
+pkgver=0.2.0
+pkgrel=12
+pkgdesc="Specify Haskell project templates and generate files"
+url="https://github.com/fpco/haskell-ide;
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=("ghc=7.10.3" "haskell-base64-bytestring" "haskell-conduit"
+ "haskell-conduit-extra" "haskell-mtl" "haskell-resourcet"
+ "haskell-text")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+install="${pkgname}.install"
+sha256sums=('aeabd7d1785b31abaffc78f02d9dda67d57d01822755f09614bfc65e99506310')
+
+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-project-template/repos/community-staging-i686/haskell-project-template.install
 (from rev 162196, 
haskell-project-template/trunk/haskell-project-template.install)
===
--- community-staging-i686/haskell-project-template.install 
(rev 0)
+++ community-staging-i686/haskell-project-template.install 2016-02-18 
06:27:51 UTC (rev 162197)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-project-template
+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-project-template/repos/community-staging-x86_64/PKGBUILD (from 
rev 162196, haskell-project-template/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-02-18 06:27:51 UTC (rev 162197)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=project-template
+pkgname=haskell-project-template

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

2016-02-15 Thread Felix Yan
Date: Monday, February 15, 2016 @ 13:52:29
  Author: fyan
Revision: 161641

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

Added:
  haskell-project-template/repos/community-staging-i686/
  haskell-project-template/repos/community-staging-i686/PKGBUILD
(from rev 161640, haskell-project-template/trunk/PKGBUILD)
  
haskell-project-template/repos/community-staging-i686/haskell-project-template.install
(from rev 161640, 
haskell-project-template/trunk/haskell-project-template.install)
  haskell-project-template/repos/community-staging-x86_64/
  haskell-project-template/repos/community-staging-x86_64/PKGBUILD
(from rev 161640, haskell-project-template/trunk/PKGBUILD)
  
haskell-project-template/repos/community-staging-x86_64/haskell-project-template.install
(from rev 161640, 
haskell-project-template/trunk/haskell-project-template.install)

---+
 community-staging-i686/PKGBUILD   |   44 
 community-staging-i686/haskell-project-template.install   |   18 
 community-staging-x86_64/PKGBUILD |   44 
 community-staging-x86_64/haskell-project-template.install |   18 
 4 files changed, 124 insertions(+)

Copied: haskell-project-template/repos/community-staging-i686/PKGBUILD (from 
rev 161640, haskell-project-template/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-02-15 12:52:29 UTC (rev 161641)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=project-template
+pkgname=haskell-project-template
+pkgver=0.2.0
+pkgrel=11
+pkgdesc="Specify Haskell project templates and generate files"
+url="https://github.com/fpco/haskell-ide;
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=("ghc=7.10.3" "haskell-base64-bytestring" "haskell-conduit"
+ "haskell-conduit-extra" "haskell-mtl" "haskell-resourcet"
+ "haskell-text")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+install="${pkgname}.install"
+sha256sums=('aeabd7d1785b31abaffc78f02d9dda67d57d01822755f09614bfc65e99506310')
+
+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-project-template/repos/community-staging-i686/haskell-project-template.install
 (from rev 161640, 
haskell-project-template/trunk/haskell-project-template.install)
===
--- community-staging-i686/haskell-project-template.install 
(rev 0)
+++ community-staging-i686/haskell-project-template.install 2016-02-15 
12:52:29 UTC (rev 161641)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-project-template
+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-project-template/repos/community-staging-x86_64/PKGBUILD (from 
rev 161640, haskell-project-template/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-02-15 12:52:29 UTC (rev 161641)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=project-template
+pkgname=haskell-project-template

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

2016-02-11 Thread Felix Yan
Date: Thursday, February 11, 2016 @ 14:30:12
  Author: fyan
Revision: 161211

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

Added:
  haskell-project-template/repos/community-staging-i686/
  haskell-project-template/repos/community-staging-i686/PKGBUILD
(from rev 161210, haskell-project-template/trunk/PKGBUILD)
  
haskell-project-template/repos/community-staging-i686/haskell-project-template.install
(from rev 161210, 
haskell-project-template/trunk/haskell-project-template.install)
  haskell-project-template/repos/community-staging-x86_64/
  haskell-project-template/repos/community-staging-x86_64/PKGBUILD
(from rev 161210, haskell-project-template/trunk/PKGBUILD)
  
haskell-project-template/repos/community-staging-x86_64/haskell-project-template.install
(from rev 161210, 
haskell-project-template/trunk/haskell-project-template.install)

---+
 community-staging-i686/PKGBUILD   |   44 
 community-staging-i686/haskell-project-template.install   |   18 
 community-staging-x86_64/PKGBUILD |   44 
 community-staging-x86_64/haskell-project-template.install |   18 
 4 files changed, 124 insertions(+)

Copied: haskell-project-template/repos/community-staging-i686/PKGBUILD (from 
rev 161210, haskell-project-template/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-02-11 13:30:12 UTC (rev 161211)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=project-template
+pkgname=haskell-project-template
+pkgver=0.2.0
+pkgrel=10
+pkgdesc="Specify Haskell project templates and generate files"
+url="https://github.com/fpco/haskell-ide;
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=("ghc=7.10.3" "haskell-base64-bytestring" "haskell-conduit"
+ "haskell-conduit-extra" "haskell-mtl" "haskell-resourcet"
+ "haskell-text")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+install="${pkgname}.install"
+sha256sums=('aeabd7d1785b31abaffc78f02d9dda67d57d01822755f09614bfc65e99506310')
+
+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-project-template/repos/community-staging-i686/haskell-project-template.install
 (from rev 161210, 
haskell-project-template/trunk/haskell-project-template.install)
===
--- community-staging-i686/haskell-project-template.install 
(rev 0)
+++ community-staging-i686/haskell-project-template.install 2016-02-11 
13:30:12 UTC (rev 161211)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-project-template
+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-project-template/repos/community-staging-x86_64/PKGBUILD (from 
rev 161210, haskell-project-template/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-02-11 13:30:12 UTC (rev 161211)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=project-template
+pkgname=haskell-project-template

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

2016-02-03 Thread Felix Yan
Date: Thursday, February 4, 2016 @ 08:09:20
  Author: fyan
Revision: 160215

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

Added:
  haskell-project-template/repos/community-staging-i686/
  haskell-project-template/repos/community-staging-i686/PKGBUILD
(from rev 160214, haskell-project-template/trunk/PKGBUILD)
  
haskell-project-template/repos/community-staging-i686/haskell-project-template.install
(from rev 160214, 
haskell-project-template/trunk/haskell-project-template.install)
  haskell-project-template/repos/community-staging-x86_64/
  haskell-project-template/repos/community-staging-x86_64/PKGBUILD
(from rev 160214, haskell-project-template/trunk/PKGBUILD)
  
haskell-project-template/repos/community-staging-x86_64/haskell-project-template.install
(from rev 160214, 
haskell-project-template/trunk/haskell-project-template.install)

---+
 community-staging-i686/PKGBUILD   |   44 
 community-staging-i686/haskell-project-template.install   |   18 
 community-staging-x86_64/PKGBUILD |   44 
 community-staging-x86_64/haskell-project-template.install |   18 
 4 files changed, 124 insertions(+)

Copied: haskell-project-template/repos/community-staging-i686/PKGBUILD (from 
rev 160214, haskell-project-template/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-02-04 07:09:20 UTC (rev 160215)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=project-template
+pkgname=haskell-project-template
+pkgver=0.2.0
+pkgrel=9
+pkgdesc="Specify Haskell project templates and generate files"
+url="https://github.com/fpco/haskell-ide;
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=("ghc=7.10.3" "haskell-base64-bytestring" "haskell-conduit"
+ "haskell-conduit-extra" "haskell-mtl" "haskell-resourcet"
+ "haskell-text")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+install="${pkgname}.install"
+sha256sums=('aeabd7d1785b31abaffc78f02d9dda67d57d01822755f09614bfc65e99506310')
+
+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-project-template/repos/community-staging-i686/haskell-project-template.install
 (from rev 160214, 
haskell-project-template/trunk/haskell-project-template.install)
===
--- community-staging-i686/haskell-project-template.install 
(rev 0)
+++ community-staging-i686/haskell-project-template.install 2016-02-04 
07:09:20 UTC (rev 160215)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-project-template
+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-project-template/repos/community-staging-x86_64/PKGBUILD (from 
rev 160214, haskell-project-template/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-02-04 07:09:20 UTC (rev 160215)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=project-template
+pkgname=haskell-project-template

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

2016-01-30 Thread Felix Yan
Date: Saturday, January 30, 2016 @ 12:26:09
  Author: fyan
Revision: 159512

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

Added:
  haskell-project-template/repos/community-staging-i686/
  haskell-project-template/repos/community-staging-i686/PKGBUILD
(from rev 159511, haskell-project-template/trunk/PKGBUILD)
  
haskell-project-template/repos/community-staging-i686/haskell-project-template.install
(from rev 159511, 
haskell-project-template/trunk/haskell-project-template.install)
  haskell-project-template/repos/community-staging-x86_64/
  haskell-project-template/repos/community-staging-x86_64/PKGBUILD
(from rev 159511, haskell-project-template/trunk/PKGBUILD)
  
haskell-project-template/repos/community-staging-x86_64/haskell-project-template.install
(from rev 159511, 
haskell-project-template/trunk/haskell-project-template.install)

---+
 community-staging-i686/PKGBUILD   |   44 
 community-staging-i686/haskell-project-template.install   |   18 
 community-staging-x86_64/PKGBUILD |   44 
 community-staging-x86_64/haskell-project-template.install |   18 
 4 files changed, 124 insertions(+)

Copied: haskell-project-template/repos/community-staging-i686/PKGBUILD (from 
rev 159511, haskell-project-template/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-01-30 11:26:09 UTC (rev 159512)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=project-template
+pkgname=haskell-project-template
+pkgver=0.2.0
+pkgrel=8
+pkgdesc="Specify Haskell project templates and generate files"
+url="https://github.com/fpco/haskell-ide;
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=("ghc=7.10.3" "haskell-base64-bytestring" "haskell-conduit"
+ "haskell-conduit-extra" "haskell-mtl" "haskell-resourcet"
+ "haskell-text")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+install="${pkgname}.install"
+sha256sums=('aeabd7d1785b31abaffc78f02d9dda67d57d01822755f09614bfc65e99506310')
+
+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-project-template/repos/community-staging-i686/haskell-project-template.install
 (from rev 159511, 
haskell-project-template/trunk/haskell-project-template.install)
===
--- community-staging-i686/haskell-project-template.install 
(rev 0)
+++ community-staging-i686/haskell-project-template.install 2016-01-30 
11:26:09 UTC (rev 159512)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-project-template
+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-project-template/repos/community-staging-x86_64/PKGBUILD (from 
rev 159511, haskell-project-template/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-01-30 11:26:09 UTC (rev 159512)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=project-template
+pkgname=haskell-project-template

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

2016-01-27 Thread Felix Yan
Date: Wednesday, January 27, 2016 @ 10:42:07
  Author: fyan
Revision: 159098

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

Added:
  haskell-project-template/repos/community-staging-i686/
  haskell-project-template/repos/community-staging-i686/PKGBUILD
(from rev 159097, haskell-project-template/trunk/PKGBUILD)
  
haskell-project-template/repos/community-staging-i686/haskell-project-template.install
(from rev 159097, 
haskell-project-template/trunk/haskell-project-template.install)
  haskell-project-template/repos/community-staging-x86_64/
  haskell-project-template/repos/community-staging-x86_64/PKGBUILD
(from rev 159097, haskell-project-template/trunk/PKGBUILD)
  
haskell-project-template/repos/community-staging-x86_64/haskell-project-template.install
(from rev 159097, 
haskell-project-template/trunk/haskell-project-template.install)

---+
 community-staging-i686/PKGBUILD   |   44 
 community-staging-i686/haskell-project-template.install   |   18 
 community-staging-x86_64/PKGBUILD |   44 
 community-staging-x86_64/haskell-project-template.install |   18 
 4 files changed, 124 insertions(+)

Copied: haskell-project-template/repos/community-staging-i686/PKGBUILD (from 
rev 159097, haskell-project-template/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-01-27 09:42:07 UTC (rev 159098)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=project-template
+pkgname=haskell-project-template
+pkgver=0.2.0
+pkgrel=7
+pkgdesc="Specify Haskell project templates and generate files"
+url="https://github.com/fpco/haskell-ide;
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=("ghc=7.10.3" "haskell-base64-bytestring" "haskell-conduit"
+ "haskell-conduit-extra" "haskell-mtl" "haskell-resourcet"
+ "haskell-text")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+install="${pkgname}.install"
+sha256sums=('aeabd7d1785b31abaffc78f02d9dda67d57d01822755f09614bfc65e99506310')
+
+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-project-template/repos/community-staging-i686/haskell-project-template.install
 (from rev 159097, 
haskell-project-template/trunk/haskell-project-template.install)
===
--- community-staging-i686/haskell-project-template.install 
(rev 0)
+++ community-staging-i686/haskell-project-template.install 2016-01-27 
09:42:07 UTC (rev 159098)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-project-template
+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-project-template/repos/community-staging-x86_64/PKGBUILD (from 
rev 159097, haskell-project-template/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-01-27 09:42:07 UTC (rev 159098)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=project-template
+pkgname=haskell-project-template

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

2016-01-20 Thread Felix Yan
Date: Wednesday, January 20, 2016 @ 10:37:36
  Author: fyan
Revision: 158001

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

Added:
  haskell-project-template/repos/community-staging-i686/
  haskell-project-template/repos/community-staging-i686/PKGBUILD
(from rev 158000, haskell-project-template/trunk/PKGBUILD)
  
haskell-project-template/repos/community-staging-i686/haskell-project-template.install
(from rev 158000, 
haskell-project-template/trunk/haskell-project-template.install)
  haskell-project-template/repos/community-staging-x86_64/
  haskell-project-template/repos/community-staging-x86_64/PKGBUILD
(from rev 158000, haskell-project-template/trunk/PKGBUILD)
  
haskell-project-template/repos/community-staging-x86_64/haskell-project-template.install
(from rev 158000, 
haskell-project-template/trunk/haskell-project-template.install)

---+
 community-staging-i686/PKGBUILD   |   44 
 community-staging-i686/haskell-project-template.install   |   18 
 community-staging-x86_64/PKGBUILD |   44 
 community-staging-x86_64/haskell-project-template.install |   18 
 4 files changed, 124 insertions(+)

Copied: haskell-project-template/repos/community-staging-i686/PKGBUILD (from 
rev 158000, haskell-project-template/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-01-20 09:37:36 UTC (rev 158001)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=project-template
+pkgname=haskell-project-template
+pkgver=0.2.0
+pkgrel=6
+pkgdesc="Specify Haskell project templates and generate files"
+url="https://github.com/fpco/haskell-ide;
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=("ghc=7.10.3" "haskell-base64-bytestring" "haskell-conduit"
+ "haskell-conduit-extra" "haskell-mtl" "haskell-resourcet"
+ "haskell-text")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+install="${pkgname}.install"
+sha256sums=('aeabd7d1785b31abaffc78f02d9dda67d57d01822755f09614bfc65e99506310')
+
+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-project-template/repos/community-staging-i686/haskell-project-template.install
 (from rev 158000, 
haskell-project-template/trunk/haskell-project-template.install)
===
--- community-staging-i686/haskell-project-template.install 
(rev 0)
+++ community-staging-i686/haskell-project-template.install 2016-01-20 
09:37:36 UTC (rev 158001)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-project-template
+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-project-template/repos/community-staging-x86_64/PKGBUILD (from 
rev 158000, haskell-project-template/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-01-20 09:37:36 UTC (rev 158001)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=project-template
+pkgname=haskell-project-template

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

2016-01-18 Thread Felix Yan
Date: Monday, January 18, 2016 @ 10:15:08
  Author: fyan
Revision: 157442

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

Added:
  haskell-project-template/repos/community-staging-i686/
  haskell-project-template/repos/community-staging-i686/PKGBUILD
(from rev 157441, haskell-project-template/trunk/PKGBUILD)
  
haskell-project-template/repos/community-staging-i686/haskell-project-template.install
(from rev 157441, 
haskell-project-template/trunk/haskell-project-template.install)
  haskell-project-template/repos/community-staging-x86_64/
  haskell-project-template/repos/community-staging-x86_64/PKGBUILD
(from rev 157441, haskell-project-template/trunk/PKGBUILD)
  
haskell-project-template/repos/community-staging-x86_64/haskell-project-template.install
(from rev 157441, 
haskell-project-template/trunk/haskell-project-template.install)

---+
 community-staging-i686/PKGBUILD   |   44 
 community-staging-i686/haskell-project-template.install   |   18 
 community-staging-x86_64/PKGBUILD |   44 
 community-staging-x86_64/haskell-project-template.install |   18 
 4 files changed, 124 insertions(+)

Copied: haskell-project-template/repos/community-staging-i686/PKGBUILD (from 
rev 157441, haskell-project-template/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-01-18 09:15:08 UTC (rev 157442)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=project-template
+pkgname=haskell-project-template
+pkgver=0.2.0
+pkgrel=5
+pkgdesc="Specify Haskell project templates and generate files"
+url="https://github.com/fpco/haskell-ide;
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=("ghc=7.10.3" "haskell-base64-bytestring" "haskell-conduit"
+ "haskell-conduit-extra" "haskell-mtl" "haskell-resourcet"
+ "haskell-text")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+install="${pkgname}.install"
+sha256sums=('aeabd7d1785b31abaffc78f02d9dda67d57d01822755f09614bfc65e99506310')
+
+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-project-template/repos/community-staging-i686/haskell-project-template.install
 (from rev 157441, 
haskell-project-template/trunk/haskell-project-template.install)
===
--- community-staging-i686/haskell-project-template.install 
(rev 0)
+++ community-staging-i686/haskell-project-template.install 2016-01-18 
09:15:08 UTC (rev 157442)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-project-template
+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-project-template/repos/community-staging-x86_64/PKGBUILD (from 
rev 157441, haskell-project-template/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-01-18 09:15:08 UTC (rev 157442)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=project-template
+pkgname=haskell-project-template

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

2016-01-17 Thread Felix Yan
Date: Sunday, January 17, 2016 @ 14:49:40
  Author: fyan
Revision: 157144

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

Added:
  haskell-project-template/repos/community-staging-i686/
  haskell-project-template/repos/community-staging-i686/PKGBUILD
(from rev 157143, haskell-project-template/trunk/PKGBUILD)
  
haskell-project-template/repos/community-staging-i686/haskell-project-template.install
(from rev 157143, 
haskell-project-template/trunk/haskell-project-template.install)
  haskell-project-template/repos/community-staging-x86_64/
  haskell-project-template/repos/community-staging-x86_64/PKGBUILD
(from rev 157143, haskell-project-template/trunk/PKGBUILD)
  
haskell-project-template/repos/community-staging-x86_64/haskell-project-template.install
(from rev 157143, 
haskell-project-template/trunk/haskell-project-template.install)

---+
 community-staging-i686/PKGBUILD   |   44 
 community-staging-i686/haskell-project-template.install   |   18 
 community-staging-x86_64/PKGBUILD |   44 
 community-staging-x86_64/haskell-project-template.install |   18 
 4 files changed, 124 insertions(+)

Copied: haskell-project-template/repos/community-staging-i686/PKGBUILD (from 
rev 157143, haskell-project-template/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-01-17 13:49:40 UTC (rev 157144)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=project-template
+pkgname=haskell-project-template
+pkgver=0.2.0
+pkgrel=4
+pkgdesc="Specify Haskell project templates and generate files"
+url="https://github.com/fpco/haskell-ide;
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=("ghc=7.10.3" "haskell-base64-bytestring" "haskell-conduit"
+ "haskell-conduit-extra" "haskell-mtl" "haskell-resourcet"
+ "haskell-text")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+install="${pkgname}.install"
+sha256sums=('aeabd7d1785b31abaffc78f02d9dda67d57d01822755f09614bfc65e99506310')
+
+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-project-template/repos/community-staging-i686/haskell-project-template.install
 (from rev 157143, 
haskell-project-template/trunk/haskell-project-template.install)
===
--- community-staging-i686/haskell-project-template.install 
(rev 0)
+++ community-staging-i686/haskell-project-template.install 2016-01-17 
13:49:40 UTC (rev 157144)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-project-template
+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-project-template/repos/community-staging-x86_64/PKGBUILD (from 
rev 157143, haskell-project-template/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-01-17 13:49:40 UTC (rev 157144)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=project-template
+pkgname=haskell-project-template

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

2016-01-15 Thread Felix Yan
Date: Saturday, January 16, 2016 @ 04:17:37
  Author: fyan
Revision: 156817

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

Added:
  haskell-project-template/repos/community-staging-i686/
  haskell-project-template/repos/community-staging-i686/PKGBUILD
(from rev 156816, haskell-project-template/trunk/PKGBUILD)
  
haskell-project-template/repos/community-staging-i686/haskell-project-template.install
(from rev 156816, 
haskell-project-template/trunk/haskell-project-template.install)
  haskell-project-template/repos/community-staging-x86_64/
  haskell-project-template/repos/community-staging-x86_64/PKGBUILD
(from rev 156816, haskell-project-template/trunk/PKGBUILD)
  
haskell-project-template/repos/community-staging-x86_64/haskell-project-template.install
(from rev 156816, 
haskell-project-template/trunk/haskell-project-template.install)

---+
 community-staging-i686/PKGBUILD   |   44 
 community-staging-i686/haskell-project-template.install   |   18 
 community-staging-x86_64/PKGBUILD |   44 
 community-staging-x86_64/haskell-project-template.install |   18 
 4 files changed, 124 insertions(+)

Copied: haskell-project-template/repos/community-staging-i686/PKGBUILD (from 
rev 156816, haskell-project-template/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-01-16 03:17:37 UTC (rev 156817)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=project-template
+pkgname=haskell-project-template
+pkgver=0.2.0
+pkgrel=3
+pkgdesc="Specify Haskell project templates and generate files"
+url="https://github.com/fpco/haskell-ide;
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=("ghc=7.10.3" "haskell-base64-bytestring" "haskell-conduit"
+ "haskell-conduit-extra" "haskell-mtl" "haskell-resourcet"
+ "haskell-text")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+install="${pkgname}.install"
+sha256sums=('aeabd7d1785b31abaffc78f02d9dda67d57d01822755f09614bfc65e99506310')
+
+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-project-template/repos/community-staging-i686/haskell-project-template.install
 (from rev 156816, 
haskell-project-template/trunk/haskell-project-template.install)
===
--- community-staging-i686/haskell-project-template.install 
(rev 0)
+++ community-staging-i686/haskell-project-template.install 2016-01-16 
03:17:37 UTC (rev 156817)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-project-template
+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-project-template/repos/community-staging-x86_64/PKGBUILD (from 
rev 156816, haskell-project-template/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-01-16 03:17:37 UTC (rev 156817)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=project-template
+pkgname=haskell-project-template

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

2016-01-15 Thread Felix Yan
Date: Friday, January 15, 2016 @ 09:09:44
  Author: fyan
Revision: 156569

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

Added:
  haskell-project-template/repos/community-staging-i686/
  haskell-project-template/repos/community-staging-i686/PKGBUILD
(from rev 156568, haskell-project-template/trunk/PKGBUILD)
  
haskell-project-template/repos/community-staging-i686/haskell-project-template.install
(from rev 156568, 
haskell-project-template/trunk/haskell-project-template.install)
  haskell-project-template/repos/community-staging-x86_64/
  haskell-project-template/repos/community-staging-x86_64/PKGBUILD
(from rev 156568, haskell-project-template/trunk/PKGBUILD)
  
haskell-project-template/repos/community-staging-x86_64/haskell-project-template.install
(from rev 156568, 
haskell-project-template/trunk/haskell-project-template.install)

---+
 community-staging-i686/PKGBUILD   |   44 
 community-staging-i686/haskell-project-template.install   |   18 
 community-staging-x86_64/PKGBUILD |   44 
 community-staging-x86_64/haskell-project-template.install |   18 
 4 files changed, 124 insertions(+)

Copied: haskell-project-template/repos/community-staging-i686/PKGBUILD (from 
rev 156568, haskell-project-template/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-01-15 08:09:44 UTC (rev 156569)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=project-template
+pkgname=haskell-project-template
+pkgver=0.2.0
+pkgrel=2
+pkgdesc="Specify Haskell project templates and generate files"
+url="https://github.com/fpco/haskell-ide;
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=("ghc=7.10.3" "haskell-base64-bytestring" "haskell-conduit"
+ "haskell-conduit-extra" "haskell-mtl" "haskell-resourcet"
+ "haskell-text")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+install="${pkgname}.install"
+sha256sums=('aeabd7d1785b31abaffc78f02d9dda67d57d01822755f09614bfc65e99506310')
+
+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-project-template/repos/community-staging-i686/haskell-project-template.install
 (from rev 156568, 
haskell-project-template/trunk/haskell-project-template.install)
===
--- community-staging-i686/haskell-project-template.install 
(rev 0)
+++ community-staging-i686/haskell-project-template.install 2016-01-15 
08:09:44 UTC (rev 156569)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-project-template
+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-project-template/repos/community-staging-x86_64/PKGBUILD (from 
rev 156568, haskell-project-template/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-01-15 08:09:44 UTC (rev 156569)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=project-template
+pkgname=haskell-project-template

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

2016-01-12 Thread Felix Yan
Date: Wednesday, January 13, 2016 @ 03:32:56
  Author: fyan
Revision: 156201

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

Added:
  haskell-project-template/repos/community-i686/
  haskell-project-template/repos/community-i686/PKGBUILD
(from rev 156200, haskell-project-template/trunk/PKGBUILD)
  haskell-project-template/repos/community-i686/haskell-project-template.install
(from rev 156200, 
haskell-project-template/trunk/haskell-project-template.install)
  haskell-project-template/repos/community-x86_64/
  haskell-project-template/repos/community-x86_64/PKGBUILD
(from rev 156200, haskell-project-template/trunk/PKGBUILD)
  
haskell-project-template/repos/community-x86_64/haskell-project-template.install
(from rev 156200, 
haskell-project-template/trunk/haskell-project-template.install)

---+
 community-i686/PKGBUILD   |   44 
 community-i686/haskell-project-template.install   |   18 
 community-x86_64/PKGBUILD |   44 
 community-x86_64/haskell-project-template.install |   18 
 4 files changed, 124 insertions(+)

Copied: haskell-project-template/repos/community-i686/PKGBUILD (from rev 
156200, haskell-project-template/trunk/PKGBUILD)
===
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2016-01-13 02:32:56 UTC (rev 156201)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=project-template
+pkgname=haskell-project-template
+pkgver=0.2.0
+pkgrel=1
+pkgdesc="Specify Haskell project templates and generate files"
+url="https://github.com/fpco/haskell-ide;
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=("ghc=7.10.3" "haskell-base64-bytestring" "haskell-conduit"
+ "haskell-conduit-extra" "haskell-mtl" "haskell-resourcet"
+ "haskell-text")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+install="${pkgname}.install"
+sha256sums=('aeabd7d1785b31abaffc78f02d9dda67d57d01822755f09614bfc65e99506310')
+
+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-project-template/repos/community-i686/haskell-project-template.install 
(from rev 156200, 
haskell-project-template/trunk/haskell-project-template.install)
===
--- community-i686/haskell-project-template.install 
(rev 0)
+++ community-i686/haskell-project-template.install 2016-01-13 02:32:56 UTC 
(rev 156201)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-project-template
+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-project-template/repos/community-x86_64/PKGBUILD (from rev 
156200, haskell-project-template/trunk/PKGBUILD)
===
--- community-x86_64/PKGBUILD   (rev 0)
+++ community-x86_64/PKGBUILD   2016-01-13 02:32:56 UTC (rev 156201)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=project-template
+pkgname=haskell-project-template
+pkgver=0.2.0
+pkgrel=1
+pkgdesc="Specify Haskell project templates and generate files"
+url="https://github.com/fpco/haskell-ide;