[arch-commits] Commit in haskell-cpphs/repos (4 files)

2017-09-23 Thread Felix Yan
Date: Saturday, September 23, 2017 @ 17:08:13
  Author: felixonmars
Revision: 260205

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

Added:
  haskell-cpphs/repos/community-i686/PKGBUILD
(from rev 260204, haskell-cpphs/trunk/PKGBUILD)
  haskell-cpphs/repos/community-x86_64/PKGBUILD
(from rev 260204, haskell-cpphs/trunk/PKGBUILD)
Deleted:
  haskell-cpphs/repos/community-i686/PKGBUILD
  haskell-cpphs/repos/community-x86_64/PKGBUILD

---+
 /PKGBUILD |   74 
 community-i686/PKGBUILD   |   40 ---
 community-x86_64/PKGBUILD |   40 ---
 3 files changed, 74 insertions(+), 80 deletions(-)

Deleted: community-i686/PKGBUILD
===
--- community-i686/PKGBUILD 2017-09-23 17:07:34 UTC (rev 260204)
+++ community-i686/PKGBUILD 2017-09-23 17:08:13 UTC (rev 260205)
@@ -1,40 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-_hkgname=cpphs
-pkgname=haskell-cpphs
-pkgver=1.20.8
-pkgrel=2
-pkgdesc="A liberalised re-implementation of cpp, the C pre-processor."
-url="http://projects.haskell.org/cpphs/;
-license=("LGPL")
-arch=('i686' 'x86_64')
-depends=('ghc-libs' "haskell-old-locale" "haskell-old-time" 
"haskell-polyparse")
-makedepends=('ghc')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha512sums=('ec9323f9e1cb6de450d8af6b6b98005bf46427c2926694e1cba942fd54a03d9d36a7e8f2541eb095949110ddaf6317597699b7c4472942a509d496cb9b4da747')
-
-build() {
-cd "${srcdir}/${_hkgname}-${pkgver}"
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic \
---prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
-runhaskell Setup build
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
-sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-package() {
-cd "${srcdir}/${_hkgname}-${pkgver}"
-
-install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
-install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
-runhaskell Setup copy --destdir="${pkgdir}"
-
-# Remove static libs
-find "$pkgdir"/usr/lib -name "*.a" -delete
-}

Copied: haskell-cpphs/repos/community-i686/PKGBUILD (from rev 260204, 
haskell-cpphs/trunk/PKGBUILD)
===
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2017-09-23 17:08:13 UTC (rev 260205)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=cpphs
+pkgname=haskell-cpphs
+pkgver=1.20.8
+pkgrel=3
+pkgdesc="A liberalised re-implementation of cpp, the C pre-processor."
+url="http://projects.haskell.org/cpphs/;
+license=("LGPL")
+arch=('i686' 'x86_64')
+depends=('ghc-libs' "haskell-old-locale" "haskell-old-time" 
"haskell-polyparse")
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('ec9323f9e1cb6de450d8af6b6b98005bf46427c2926694e1cba942fd54a03d9d36a7e8f2541eb095949110ddaf6317597699b7c4472942a509d496cb9b4da747')
+
+build() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+}

Deleted: community-x86_64/PKGBUILD
===
--- community-x86_64/PKGBUILD   2017-09-23 17:07:34 UTC (rev 260204)
+++ community-x86_64/PKGBUILD   2017-09-23 17:08:13 UTC (rev 260205)
@@ -1,40 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-_hkgname=cpphs
-pkgname=haskell-cpphs
-pkgver=1.20.8
-pkgrel=2
-pkgdesc="A liberalised re-implementation of cpp, the C 

[arch-commits] Commit in haskell-cpphs/repos (4 files)

2017-08-15 Thread Felix Yan
Date: Tuesday, August 15, 2017 @ 14:44:26
  Author: felixonmars
Revision: 250971

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

Added:
  haskell-cpphs/repos/community-staging-i686/
  haskell-cpphs/repos/community-staging-i686/PKGBUILD
(from rev 250970, haskell-cpphs/trunk/PKGBUILD)
  haskell-cpphs/repos/community-staging-x86_64/
  haskell-cpphs/repos/community-staging-x86_64/PKGBUILD
(from rev 250970, haskell-cpphs/trunk/PKGBUILD)

---+
 community-staging-i686/PKGBUILD   |   40 
 community-staging-x86_64/PKGBUILD |   40 
 2 files changed, 80 insertions(+)

Copied: haskell-cpphs/repos/community-staging-i686/PKGBUILD (from rev 250970, 
haskell-cpphs/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2017-08-15 14:44:26 UTC (rev 250971)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=cpphs
+pkgname=haskell-cpphs
+pkgver=1.20.8
+pkgrel=2
+pkgdesc="A liberalised re-implementation of cpp, the C pre-processor."
+url="http://projects.haskell.org/cpphs/;
+license=("LGPL")
+arch=('i686' 'x86_64')
+depends=('ghc-libs' "haskell-old-locale" "haskell-old-time" 
"haskell-polyparse")
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('ec9323f9e1cb6de450d8af6b6b98005bf46427c2926694e1cba942fd54a03d9d36a7e8f2541eb095949110ddaf6317597699b7c4472942a509d496cb9b4da747')
+
+build() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+
+# Remove static libs
+find "$pkgdir"/usr/lib -name "*.a" -delete
+}

Copied: haskell-cpphs/repos/community-staging-x86_64/PKGBUILD (from rev 250970, 
haskell-cpphs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2017-08-15 14:44:26 UTC (rev 250971)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=cpphs
+pkgname=haskell-cpphs
+pkgver=1.20.8
+pkgrel=2
+pkgdesc="A liberalised re-implementation of cpp, the C pre-processor."
+url="http://projects.haskell.org/cpphs/;
+license=("LGPL")
+arch=('i686' 'x86_64')
+depends=('ghc-libs' "haskell-old-locale" "haskell-old-time" 
"haskell-polyparse")
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('ec9323f9e1cb6de450d8af6b6b98005bf46427c2926694e1cba942fd54a03d9d36a7e8f2541eb095949110ddaf6317597699b7c4472942a509d496cb9b4da747')
+
+build() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+
+# Remove static libs
+find "$pkgdir"/usr/lib -name "*.a" -delete
+}


[arch-commits] Commit in haskell-cpphs/repos (4 files)

2017-06-21 Thread Felix Yan
Date: Thursday, June 22, 2017 @ 05:35:46
  Author: felixonmars
Revision: 239422

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

Added:
  haskell-cpphs/repos/community-staging-i686/
  haskell-cpphs/repos/community-staging-i686/PKGBUILD
(from rev 239421, haskell-cpphs/trunk/PKGBUILD)
  haskell-cpphs/repos/community-staging-x86_64/
  haskell-cpphs/repos/community-staging-x86_64/PKGBUILD
(from rev 239421, haskell-cpphs/trunk/PKGBUILD)

---+
 community-staging-i686/PKGBUILD   |   42 
 community-staging-x86_64/PKGBUILD |   42 
 2 files changed, 84 insertions(+)

Copied: haskell-cpphs/repos/community-staging-i686/PKGBUILD (from rev 239421, 
haskell-cpphs/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2017-06-22 05:35:46 UTC (rev 239422)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=cpphs
+pkgname=haskell-cpphs
+pkgver=1.20.8
+pkgrel=1
+pkgdesc="A liberalised re-implementation of cpp, the C pre-processor."
+url="http://projects.haskell.org/cpphs/;
+license=("LGPL")
+arch=('i686' 'x86_64')
+depends=('ghc' "haskell-old-locale" "haskell-old-time" "haskell-polyparse")
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('ec9323f9e1cb6de450d8af6b6b98005bf46427c2926694e1cba942fd54a03d9d36a7e8f2541eb095949110ddaf6317597699b7c4472942a509d496cb9b4da747')
+
+build() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgname}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname}"
+runhaskell Setup copy --destdir="${pkgdir}"
+
+# Remove static libs
+find "$pkgdir"/usr/lib -name "*.a" -delete
+}

Copied: haskell-cpphs/repos/community-staging-x86_64/PKGBUILD (from rev 239421, 
haskell-cpphs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2017-06-22 05:35:46 UTC (rev 239422)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=cpphs
+pkgname=haskell-cpphs
+pkgver=1.20.8
+pkgrel=1
+pkgdesc="A liberalised re-implementation of cpp, the C pre-processor."
+url="http://projects.haskell.org/cpphs/;
+license=("LGPL")
+arch=('i686' 'x86_64')
+depends=('ghc' "haskell-old-locale" "haskell-old-time" "haskell-polyparse")
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('ec9323f9e1cb6de450d8af6b6b98005bf46427c2926694e1cba942fd54a03d9d36a7e8f2541eb095949110ddaf6317597699b7c4472942a509d496cb9b4da747')
+
+build() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgname}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname}"
+runhaskell Setup copy --destdir="${pkgdir}"
+
+# Remove static libs
+find "$pkgdir"/usr/lib -name "*.a" 

[arch-commits] Commit in haskell-cpphs/repos (4 files)

2017-06-21 Thread Felix Yan
Date: Wednesday, June 21, 2017 @ 18:40:32
  Author: felixonmars
Revision: 239344

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

Added:
  haskell-cpphs/repos/community-staging-i686/
  haskell-cpphs/repos/community-staging-i686/PKGBUILD
(from rev 239343, haskell-cpphs/trunk/PKGBUILD)
  haskell-cpphs/repos/community-staging-x86_64/
  haskell-cpphs/repos/community-staging-x86_64/PKGBUILD
(from rev 239343, haskell-cpphs/trunk/PKGBUILD)

---+
 community-staging-i686/PKGBUILD   |   42 
 community-staging-x86_64/PKGBUILD |   42 
 2 files changed, 84 insertions(+)

Copied: haskell-cpphs/repos/community-staging-i686/PKGBUILD (from rev 239343, 
haskell-cpphs/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2017-06-21 18:40:32 UTC (rev 239344)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=cpphs
+pkgname=haskell-cpphs
+pkgver=1.20.7
+pkgrel=1
+pkgdesc="A liberalised re-implementation of cpp, the C pre-processor."
+url="http://projects.haskell.org/cpphs/;
+license=("LGPL")
+arch=('i686' 'x86_64')
+depends=('ghc' "haskell-old-locale" "haskell-old-time" "haskell-polyparse")
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('1157aa78ad1d568ceaaa212883cf584e49841cffe4f543b4b627943809a445c4761150e0f40de17959d5f821b513a5fcbb1a57db509f24cfc8a8ccc87ce2ba7d')
+
+build() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgname}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname}"
+runhaskell Setup copy --destdir="${pkgdir}"
+
+# Remove static libs
+find "$pkgdir"/usr/lib -name "*.a" -delete
+}

Copied: haskell-cpphs/repos/community-staging-x86_64/PKGBUILD (from rev 239343, 
haskell-cpphs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2017-06-21 18:40:32 UTC (rev 239344)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=cpphs
+pkgname=haskell-cpphs
+pkgver=1.20.7
+pkgrel=1
+pkgdesc="A liberalised re-implementation of cpp, the C pre-processor."
+url="http://projects.haskell.org/cpphs/;
+license=("LGPL")
+arch=('i686' 'x86_64')
+depends=('ghc' "haskell-old-locale" "haskell-old-time" "haskell-polyparse")
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('1157aa78ad1d568ceaaa212883cf584e49841cffe4f543b4b627943809a445c4761150e0f40de17959d5f821b513a5fcbb1a57db509f24cfc8a8ccc87ce2ba7d')
+
+build() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgname}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname}"
+runhaskell Setup copy --destdir="${pkgdir}"
+
+# Remove static libs
+find "$pkgdir"/usr/lib -name "*.a" 

[arch-commits] Commit in haskell-cpphs/repos (4 files)

2017-06-15 Thread Felix Yan
Date: Thursday, June 15, 2017 @ 17:17:18
  Author: felixonmars
Revision: 237292

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

Added:
  haskell-cpphs/repos/community-staging-i686/
  haskell-cpphs/repos/community-staging-i686/PKGBUILD
(from rev 237291, haskell-cpphs/trunk/PKGBUILD)
  haskell-cpphs/repos/community-staging-x86_64/
  haskell-cpphs/repos/community-staging-x86_64/PKGBUILD
(from rev 237291, haskell-cpphs/trunk/PKGBUILD)

---+
 community-staging-i686/PKGBUILD   |   42 
 community-staging-x86_64/PKGBUILD |   42 
 2 files changed, 84 insertions(+)

Copied: haskell-cpphs/repos/community-staging-i686/PKGBUILD (from rev 237291, 
haskell-cpphs/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2017-06-15 17:17:18 UTC (rev 237292)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=cpphs
+pkgname=haskell-cpphs
+pkgver=1.20.5
+pkgrel=3
+pkgdesc="A liberalised re-implementation of cpp, the C pre-processor."
+url="http://projects.haskell.org/cpphs/;
+license=("LGPL")
+arch=('i686' 'x86_64')
+depends=("ghc" "haskell-old-locale" "haskell-old-time" "haskell-polyparse")
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('e7fc62d1e5dea0ea7308d266f1a15502ba2aa185a9b42ead3140e775b2f8b3de3b5cec45c02c74d082fca4a8a4137f3f16cd1813def485acab4163559471d5a7')
+
+build() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic \
+--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.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgname}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname}"
+runhaskell Setup copy --destdir="${pkgdir}"
+
+# Remove static libs
+find "$pkgdir"/usr/lib -name "*.a" -delete
+}

Copied: haskell-cpphs/repos/community-staging-x86_64/PKGBUILD (from rev 237291, 
haskell-cpphs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2017-06-15 17:17:18 UTC (rev 237292)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=cpphs
+pkgname=haskell-cpphs
+pkgver=1.20.5
+pkgrel=3
+pkgdesc="A liberalised re-implementation of cpp, the C pre-processor."
+url="http://projects.haskell.org/cpphs/;
+license=("LGPL")
+arch=('i686' 'x86_64')
+depends=("ghc" "haskell-old-locale" "haskell-old-time" "haskell-polyparse")
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('e7fc62d1e5dea0ea7308d266f1a15502ba2aa185a9b42ead3140e775b2f8b3de3b5cec45c02c74d082fca4a8a4137f3f16cd1813def485acab4163559471d5a7')
+
+build() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic \
+--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.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgname}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname}"
+runhaskell Setup copy --destdir="${pkgdir}"
+
+# Remove static libs
+find "$pkgdir"/usr/lib -name "*.a" -delete
+}


[arch-commits] Commit in haskell-cpphs/repos (4 files)

2017-05-22 Thread Felix Yan
Date: Monday, May 22, 2017 @ 14:53:55
  Author: felixonmars
Revision: 229135

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

Added:
  haskell-cpphs/repos/community-staging-i686/
  haskell-cpphs/repos/community-staging-i686/PKGBUILD
(from rev 229134, haskell-cpphs/trunk/PKGBUILD)
  haskell-cpphs/repos/community-staging-x86_64/
  haskell-cpphs/repos/community-staging-x86_64/PKGBUILD
(from rev 229134, haskell-cpphs/trunk/PKGBUILD)

---+
 community-staging-i686/PKGBUILD   |   39 
 community-staging-x86_64/PKGBUILD |   39 
 2 files changed, 78 insertions(+)

Copied: haskell-cpphs/repos/community-staging-i686/PKGBUILD (from rev 229134, 
haskell-cpphs/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2017-05-22 14:53:55 UTC (rev 229135)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=cpphs
+pkgname=haskell-cpphs
+pkgver=1.20.5
+pkgrel=2
+pkgdesc="A liberalised re-implementation of cpp, the C pre-processor."
+url="http://projects.haskell.org/cpphs/;
+license=("LGPL")
+arch=('i686' 'x86_64')
+depends=("ghc=8.0.1" "haskell-old-locale" "haskell-old-time" 
"haskell-polyparse")
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('e7fc62d1e5dea0ea7308d266f1a15502ba2aa185a9b42ead3140e775b2f8b3de3b5cec45c02c74d082fca4a8a4137f3f16cd1813def485acab4163559471d5a7')
+
+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.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgname}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname}"
+runhaskell Setup copy --destdir="${pkgdir}"
+}

Copied: haskell-cpphs/repos/community-staging-x86_64/PKGBUILD (from rev 229134, 
haskell-cpphs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2017-05-22 14:53:55 UTC (rev 229135)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=cpphs
+pkgname=haskell-cpphs
+pkgver=1.20.5
+pkgrel=2
+pkgdesc="A liberalised re-implementation of cpp, the C pre-processor."
+url="http://projects.haskell.org/cpphs/;
+license=("LGPL")
+arch=('i686' 'x86_64')
+depends=("ghc=8.0.1" "haskell-old-locale" "haskell-old-time" 
"haskell-polyparse")
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('e7fc62d1e5dea0ea7308d266f1a15502ba2aa185a9b42ead3140e775b2f8b3de3b5cec45c02c74d082fca4a8a4137f3f16cd1813def485acab4163559471d5a7')
+
+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.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgname}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname}"
+runhaskell Setup copy --destdir="${pkgdir}"
+}


[arch-commits] Commit in haskell-cpphs/repos (4 files)

2017-04-14 Thread Felix Yan
Date: Saturday, April 15, 2017 @ 04:05:53
  Author: felixonmars
Revision: 223104

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

Added:
  haskell-cpphs/repos/community-staging-i686/
  haskell-cpphs/repos/community-staging-i686/PKGBUILD
(from rev 223103, haskell-cpphs/trunk/PKGBUILD)
  haskell-cpphs/repos/community-staging-x86_64/
  haskell-cpphs/repos/community-staging-x86_64/PKGBUILD
(from rev 223103, haskell-cpphs/trunk/PKGBUILD)

---+
 community-staging-i686/PKGBUILD   |   39 
 community-staging-x86_64/PKGBUILD |   39 
 2 files changed, 78 insertions(+)

Copied: haskell-cpphs/repos/community-staging-i686/PKGBUILD (from rev 223103, 
haskell-cpphs/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2017-04-15 04:05:53 UTC (rev 223104)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=cpphs
+pkgname=haskell-cpphs
+pkgver=1.20.5
+pkgrel=1
+pkgdesc="A liberalised re-implementation of cpp, the C pre-processor."
+url="http://projects.haskell.org/cpphs/;
+license=("LGPL")
+arch=('i686' 'x86_64')
+depends=("ghc=8.0.1" "haskell-old-locale" "haskell-old-time" 
"haskell-polyparse")
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('e7fc62d1e5dea0ea7308d266f1a15502ba2aa185a9b42ead3140e775b2f8b3de3b5cec45c02c74d082fca4a8a4137f3f16cd1813def485acab4163559471d5a7')
+
+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.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgname}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname}"
+runhaskell Setup copy --destdir="${pkgdir}"
+}

Copied: haskell-cpphs/repos/community-staging-x86_64/PKGBUILD (from rev 223103, 
haskell-cpphs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2017-04-15 04:05:53 UTC (rev 223104)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=cpphs
+pkgname=haskell-cpphs
+pkgver=1.20.5
+pkgrel=1
+pkgdesc="A liberalised re-implementation of cpp, the C pre-processor."
+url="http://projects.haskell.org/cpphs/;
+license=("LGPL")
+arch=('i686' 'x86_64')
+depends=("ghc=8.0.1" "haskell-old-locale" "haskell-old-time" 
"haskell-polyparse")
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('e7fc62d1e5dea0ea7308d266f1a15502ba2aa185a9b42ead3140e775b2f8b3de3b5cec45c02c74d082fca4a8a4137f3f16cd1813def485acab4163559471d5a7')
+
+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.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgname}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname}"
+runhaskell Setup copy --destdir="${pkgdir}"
+}


[arch-commits] Commit in haskell-cpphs/repos (4 files)

2017-03-03 Thread Felix Yan
Date: Saturday, March 4, 2017 @ 05:52:50
  Author: felixonmars
Revision: 214805

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

Added:
  haskell-cpphs/repos/community-staging-i686/
  haskell-cpphs/repos/community-staging-i686/PKGBUILD
(from rev 214804, haskell-cpphs/trunk/PKGBUILD)
  haskell-cpphs/repos/community-staging-x86_64/
  haskell-cpphs/repos/community-staging-x86_64/PKGBUILD
(from rev 214804, haskell-cpphs/trunk/PKGBUILD)

---+
 community-staging-i686/PKGBUILD   |   39 
 community-staging-x86_64/PKGBUILD |   39 
 2 files changed, 78 insertions(+)

Copied: haskell-cpphs/repos/community-staging-i686/PKGBUILD (from rev 214804, 
haskell-cpphs/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2017-03-04 05:52:50 UTC (rev 214805)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=cpphs
+pkgname=haskell-cpphs
+pkgver=1.20.4
+pkgrel=1
+pkgdesc="A liberalised re-implementation of cpp, the C pre-processor."
+url="http://projects.haskell.org/cpphs/;
+license=("LGPL")
+arch=('i686' 'x86_64')
+depends=("ghc=8.0.1" "haskell-old-locale" "haskell-old-time" 
"haskell-polyparse")
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha256sums=('d159437cea89854c3f413f7157f40ea2d82272fce83efe6ce17e2065883da47e')
+
+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.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgname}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname}"
+runhaskell Setup copy --destdir="${pkgdir}"
+}

Copied: haskell-cpphs/repos/community-staging-x86_64/PKGBUILD (from rev 214804, 
haskell-cpphs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2017-03-04 05:52:50 UTC (rev 214805)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=cpphs
+pkgname=haskell-cpphs
+pkgver=1.20.4
+pkgrel=1
+pkgdesc="A liberalised re-implementation of cpp, the C pre-processor."
+url="http://projects.haskell.org/cpphs/;
+license=("LGPL")
+arch=('i686' 'x86_64')
+depends=("ghc=8.0.1" "haskell-old-locale" "haskell-old-time" 
"haskell-polyparse")
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha256sums=('d159437cea89854c3f413f7157f40ea2d82272fce83efe6ce17e2065883da47e')
+
+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.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgname}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname}"
+runhaskell Setup copy --destdir="${pkgdir}"
+}


[arch-commits] Commit in haskell-cpphs/repos (4 files)

2017-02-08 Thread Felix Yan
Date: Thursday, February 9, 2017 @ 03:13:34
  Author: felixonmars
Revision: 211337

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

Added:
  haskell-cpphs/repos/community-staging-i686/
  haskell-cpphs/repos/community-staging-i686/PKGBUILD
(from rev 211336, haskell-cpphs/trunk/PKGBUILD)
  haskell-cpphs/repos/community-staging-x86_64/
  haskell-cpphs/repos/community-staging-x86_64/PKGBUILD
(from rev 211336, haskell-cpphs/trunk/PKGBUILD)

---+
 community-staging-i686/PKGBUILD   |   39 
 community-staging-x86_64/PKGBUILD |   39 
 2 files changed, 78 insertions(+)

Copied: haskell-cpphs/repos/community-staging-i686/PKGBUILD (from rev 211336, 
haskell-cpphs/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2017-02-09 03:13:34 UTC (rev 211337)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=cpphs
+pkgname=haskell-cpphs
+pkgver=1.20.3
+pkgrel=1
+pkgdesc="A liberalised re-implementation of cpp, the C pre-processor."
+url="http://projects.haskell.org/cpphs/;
+license=("LGPL")
+arch=('i686' 'x86_64')
+depends=("ghc=8.0.1" "haskell-old-locale" "haskell-old-time" 
"haskell-polyparse")
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha256sums=('c63f0edb351f0977c2af6ad17c7164c44dc7c7499c0effe91d839fc7973dad91')
+
+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.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgname}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname}"
+runhaskell Setup copy --destdir="${pkgdir}"
+}

Copied: haskell-cpphs/repos/community-staging-x86_64/PKGBUILD (from rev 211336, 
haskell-cpphs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2017-02-09 03:13:34 UTC (rev 211337)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=cpphs
+pkgname=haskell-cpphs
+pkgver=1.20.3
+pkgrel=1
+pkgdesc="A liberalised re-implementation of cpp, the C pre-processor."
+url="http://projects.haskell.org/cpphs/;
+license=("LGPL")
+arch=('i686' 'x86_64')
+depends=("ghc=8.0.1" "haskell-old-locale" "haskell-old-time" 
"haskell-polyparse")
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha256sums=('c63f0edb351f0977c2af6ad17c7164c44dc7c7499c0effe91d839fc7973dad91')
+
+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.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgname}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname}"
+runhaskell Setup copy --destdir="${pkgdir}"
+}


[arch-commits] Commit in haskell-cpphs/repos (4 files)

2016-09-06 Thread Felix Yan
Date: Tuesday, September 6, 2016 @ 08:30:31
  Author: felixonmars
Revision: 188669

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

Added:
  haskell-cpphs/repos/community-staging-i686/
  haskell-cpphs/repos/community-staging-i686/PKGBUILD
(from rev 188668, haskell-cpphs/trunk/PKGBUILD)
  haskell-cpphs/repos/community-staging-x86_64/
  haskell-cpphs/repos/community-staging-x86_64/PKGBUILD
(from rev 188668, haskell-cpphs/trunk/PKGBUILD)

---+
 community-staging-i686/PKGBUILD   |   39 
 community-staging-x86_64/PKGBUILD |   39 
 2 files changed, 78 insertions(+)

Copied: haskell-cpphs/repos/community-staging-i686/PKGBUILD (from rev 188668, 
haskell-cpphs/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-09-06 08:30:31 UTC (rev 188669)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=cpphs
+pkgname=haskell-cpphs
+pkgver=1.20.2
+pkgrel=1
+pkgdesc="A liberalised re-implementation of cpp, the C pre-processor."
+url="http://projects.haskell.org/cpphs/;
+license=("LGPL")
+arch=('i686' 'x86_64')
+depends=("ghc=8.0.1" "haskell-old-locale" "haskell-old-time" 
"haskell-polyparse")
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha256sums=('dcb1d712a0f867c8a4fdd6e4ce7cbd33ce7912c76ac2db3a6157933fad8629db')
+
+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.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgname}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname}"
+runhaskell Setup copy --destdir="${pkgdir}"
+}

Copied: haskell-cpphs/repos/community-staging-x86_64/PKGBUILD (from rev 188668, 
haskell-cpphs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-09-06 08:30:31 UTC (rev 188669)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=cpphs
+pkgname=haskell-cpphs
+pkgver=1.20.2
+pkgrel=1
+pkgdesc="A liberalised re-implementation of cpp, the C pre-processor."
+url="http://projects.haskell.org/cpphs/;
+license=("LGPL")
+arch=('i686' 'x86_64')
+depends=("ghc=8.0.1" "haskell-old-locale" "haskell-old-time" 
"haskell-polyparse")
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha256sums=('dcb1d712a0f867c8a4fdd6e4ce7cbd33ce7912c76ac2db3a6157933fad8629db')
+
+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.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgname}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname}"
+runhaskell Setup copy --destdir="${pkgdir}"
+}


[arch-commits] Commit in haskell-cpphs/repos (4 files)

2016-05-25 Thread Felix Yan
Date: Wednesday, May 25, 2016 @ 08:06:57
  Author: fyan
Revision: 176634

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

Added:
  haskell-cpphs/repos/community-staging-i686/
  haskell-cpphs/repos/community-staging-i686/PKGBUILD
(from rev 176633, haskell-cpphs/trunk/PKGBUILD)
  haskell-cpphs/repos/community-staging-x86_64/
  haskell-cpphs/repos/community-staging-x86_64/PKGBUILD
(from rev 176633, haskell-cpphs/trunk/PKGBUILD)

---+
 community-staging-i686/PKGBUILD   |   39 
 community-staging-x86_64/PKGBUILD |   39 
 2 files changed, 78 insertions(+)

Copied: haskell-cpphs/repos/community-staging-i686/PKGBUILD (from rev 176633, 
haskell-cpphs/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-05-25 06:06:57 UTC (rev 176634)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=cpphs
+pkgname=haskell-cpphs
+pkgver=1.20.1
+pkgrel=4
+pkgdesc="A liberalised re-implementation of cpp, the C pre-processor."
+url="http://projects.haskell.org/cpphs/;
+license=("LGPL")
+arch=('i686' 'x86_64')
+depends=("ghc=8.0.1" "haskell-old-locale" "haskell-old-time" 
"haskell-polyparse")
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha256sums=('bd6eab851ec39ed5c5e4b0eb0b956f5892a36dedabcdf127a1ffa84c8e4f6017')
+
+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.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgname}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname}"
+runhaskell Setup copy --destdir="${pkgdir}"
+}

Copied: haskell-cpphs/repos/community-staging-x86_64/PKGBUILD (from rev 176633, 
haskell-cpphs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-05-25 06:06:57 UTC (rev 176634)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=cpphs
+pkgname=haskell-cpphs
+pkgver=1.20.1
+pkgrel=4
+pkgdesc="A liberalised re-implementation of cpp, the C pre-processor."
+url="http://projects.haskell.org/cpphs/;
+license=("LGPL")
+arch=('i686' 'x86_64')
+depends=("ghc=8.0.1" "haskell-old-locale" "haskell-old-time" 
"haskell-polyparse")
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha256sums=('bd6eab851ec39ed5c5e4b0eb0b956f5892a36dedabcdf127a1ffa84c8e4f6017')
+
+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.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgname}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname}"
+runhaskell Setup copy --destdir="${pkgdir}"
+}