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

2020-12-23 Thread Felix Yan via arch-commits
Date: Wednesday, December 23, 2020 @ 21:19:12
  Author: felixonmars
Revision: 785286

archrelease: copy trunk to community-staging-x86_64

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

--+
 PKGBUILD |   36 
 1 file changed, 36 insertions(+)

Copied: haskell-cpphs/repos/community-staging-x86_64/PKGBUILD (from rev 785285, 
haskell-cpphs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-23 21:19:12 UTC (rev 785286)
@@ -0,0 +1,36 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=cpphs
+pkgname=haskell-cpphs
+pkgver=1.20.9.1
+pkgrel=6
+pkgdesc="A liberalised re-implementation of cpp, the C pre-processor."
+url="https://projects.haskell.org/cpphs/;
+license=("LGPL")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-polyparse')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('bc5cd86c1e42061ae5c940612542dbea420344fb8596495d71ff2dc724bc1a3785f830e51c3ae99394488a122deabacd6433a5c919e3682c4129f3b296b7931f')
+
+build() {
+cd $_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 $MAKEFLAGS
+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 $_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"
+}


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

2020-08-30 Thread Felix Yan via arch-commits
Date: Sunday, August 30, 2020 @ 18:53:41
  Author: felixonmars
Revision: 692947

archrelease: copy trunk to community-staging-x86_64

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

--+
 PKGBUILD |   36 
 1 file changed, 36 insertions(+)

Copied: haskell-cpphs/repos/community-staging-x86_64/PKGBUILD (from rev 692946, 
haskell-cpphs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-30 18:53:41 UTC (rev 692947)
@@ -0,0 +1,36 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=cpphs
+pkgname=haskell-cpphs
+pkgver=1.20.9.1
+pkgrel=5
+pkgdesc="A liberalised re-implementation of cpp, the C pre-processor."
+url="https://projects.haskell.org/cpphs/;
+license=("LGPL")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-polyparse')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('bc5cd86c1e42061ae5c940612542dbea420344fb8596495d71ff2dc724bc1a3785f830e51c3ae99394488a122deabacd6433a5c919e3682c4129f3b296b7931f')
+
+build() {
+cd $_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 $MAKEFLAGS
+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 $_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"
+}


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

2020-08-17 Thread Felix Yan via arch-commits
Date: Monday, August 17, 2020 @ 07:18:18
  Author: felixonmars
Revision: 682406

archrelease: copy trunk to community-staging-x86_64

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

--+
 PKGBUILD |   36 
 1 file changed, 36 insertions(+)

Copied: haskell-cpphs/repos/community-staging-x86_64/PKGBUILD (from rev 682405, 
haskell-cpphs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-17 07:18:18 UTC (rev 682406)
@@ -0,0 +1,36 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=cpphs
+pkgname=haskell-cpphs
+pkgver=1.20.9.1
+pkgrel=4
+pkgdesc="A liberalised re-implementation of cpp, the C pre-processor."
+url="https://projects.haskell.org/cpphs/;
+license=("LGPL")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-polyparse')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('bc5cd86c1e42061ae5c940612542dbea420344fb8596495d71ff2dc724bc1a3785f830e51c3ae99394488a122deabacd6433a5c919e3682c4129f3b296b7931f')
+
+build() {
+cd $_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 $MAKEFLAGS
+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 $_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"
+}


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

2020-04-23 Thread Felix Yan via arch-commits
Date: Thursday, April 23, 2020 @ 14:30:31
  Author: felixonmars
Revision: 618185

archrelease: copy trunk to community-staging-x86_64

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

--+
 PKGBUILD |   36 
 1 file changed, 36 insertions(+)

Copied: haskell-cpphs/repos/community-staging-x86_64/PKGBUILD (from rev 618184, 
haskell-cpphs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-04-23 14:30:31 UTC (rev 618185)
@@ -0,0 +1,36 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=cpphs
+pkgname=haskell-cpphs
+pkgver=1.20.9.1
+pkgrel=3
+pkgdesc="A liberalised re-implementation of cpp, the C pre-processor."
+url="https://projects.haskell.org/cpphs/;
+license=("LGPL")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-polyparse')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('bc5cd86c1e42061ae5c940612542dbea420344fb8596495d71ff2dc724bc1a3785f830e51c3ae99394488a122deabacd6433a5c919e3682c4129f3b296b7931f')
+
+build() {
+cd $_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 $_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"
+}


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

2020-04-08 Thread Evangelos Foutras via arch-commits
Date: Wednesday, April 8, 2020 @ 16:26:10
  Author: foutrelis
Revision: 612642

archrelease: copy trunk to community-staging-x86_64

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

--+
 PKGBUILD |   36 
 1 file changed, 36 insertions(+)

Copied: haskell-cpphs/repos/community-staging-x86_64/PKGBUILD (from rev 612641, 
haskell-cpphs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-04-08 16:26:10 UTC (rev 612642)
@@ -0,0 +1,36 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=cpphs
+pkgname=haskell-cpphs
+pkgver=1.20.9.1
+pkgrel=2
+pkgdesc="A liberalised re-implementation of cpp, the C pre-processor."
+url="https://projects.haskell.org/cpphs/;
+license=("LGPL")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-polyparse')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('bc5cd86c1e42061ae5c940612542dbea420344fb8596495d71ff2dc724bc1a3785f830e51c3ae99394488a122deabacd6433a5c919e3682c4129f3b296b7931f')
+
+build() {
+cd $_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 $_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"
+}


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

2020-04-03 Thread Felix Yan via arch-commits
Date: Friday, April 3, 2020 @ 19:48:01
  Author: felixonmars
Revision: 611200

archrelease: copy trunk to community-staging-x86_64

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

--+
 PKGBUILD |   36 
 1 file changed, 36 insertions(+)

Copied: haskell-cpphs/repos/community-staging-x86_64/PKGBUILD (from rev 611199, 
haskell-cpphs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-04-03 19:48:01 UTC (rev 611200)
@@ -0,0 +1,36 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=cpphs
+pkgname=haskell-cpphs
+pkgver=1.20.9.1
+pkgrel=1
+pkgdesc="A liberalised re-implementation of cpp, the C pre-processor."
+url="https://projects.haskell.org/cpphs/;
+license=("LGPL")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-polyparse')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('bc5cd86c1e42061ae5c940612542dbea420344fb8596495d71ff2dc724bc1a3785f830e51c3ae99394488a122deabacd6433a5c919e3682c4129f3b296b7931f')
+
+build() {
+cd $_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 $_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"
+}


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

2020-02-26 Thread Felix Yan via arch-commits
Date: Wednesday, February 26, 2020 @ 22:36:24
  Author: felixonmars
Revision: 583457

archrelease: copy trunk to community-staging-x86_64

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

--+
 PKGBUILD |   36 
 1 file changed, 36 insertions(+)

Copied: haskell-cpphs/repos/community-staging-x86_64/PKGBUILD (from rev 583456, 
haskell-cpphs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-26 22:36:24 UTC (rev 583457)
@@ -0,0 +1,36 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=cpphs
+pkgname=haskell-cpphs
+pkgver=1.20.9
+pkgrel=2
+pkgdesc="A liberalised re-implementation of cpp, the C pre-processor."
+url="https://projects.haskell.org/cpphs/;
+license=("LGPL")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-polyparse')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('9c43799c61ff6d4c7229efd7a01cc33844acc6a33ca62f11bde2ef3c4615edcd28b7dec47259a0fcd1822031a4fac79f4d4b1464c2e4db49316fd839b4cd8ece')
+
+build() {
+cd $_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 $_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"
+}


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

2020-02-26 Thread Felix Yan via arch-commits
Date: Wednesday, February 26, 2020 @ 17:53:58
  Author: felixonmars
Revision: 583057

archrelease: copy trunk to community-staging-x86_64

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

--+
 PKGBUILD |   36 
 1 file changed, 36 insertions(+)

Copied: haskell-cpphs/repos/community-staging-x86_64/PKGBUILD (from rev 583056, 
haskell-cpphs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-26 17:53:58 UTC (rev 583057)
@@ -0,0 +1,36 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=cpphs
+pkgname=haskell-cpphs
+pkgver=1.20.9
+pkgrel=1
+pkgdesc="A liberalised re-implementation of cpp, the C pre-processor."
+url="https://projects.haskell.org/cpphs/;
+license=("LGPL")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-polyparse')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('9c43799c61ff6d4c7229efd7a01cc33844acc6a33ca62f11bde2ef3c4615edcd28b7dec47259a0fcd1822031a4fac79f4d4b1464c2e4db49316fd839b4cd8ece')
+
+build() {
+cd $_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 $_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"
+}


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

2020-02-15 Thread Felix Yan via arch-commits
Date: Saturday, February 15, 2020 @ 14:22:49
  Author: felixonmars
Revision: 571558

archrelease: copy trunk to community-staging-x86_64

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

--+
 PKGBUILD |   36 
 1 file changed, 36 insertions(+)

Copied: haskell-cpphs/repos/community-staging-x86_64/PKGBUILD (from rev 571557, 
haskell-cpphs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-15 14:22:49 UTC (rev 571558)
@@ -0,0 +1,36 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=cpphs
+pkgname=haskell-cpphs
+pkgver=1.20.8
+pkgrel=17
+pkgdesc="A liberalised re-implementation of cpp, the C pre-processor."
+url="https://projects.haskell.org/cpphs/;
+license=("LGPL")
+arch=('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 $_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 $_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"
+}


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

2020-01-08 Thread Felix Yan via arch-commits
Date: Wednesday, January 8, 2020 @ 20:38:45
  Author: felixonmars
Revision: 550626

archrelease: copy trunk to community-staging-x86_64

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

--+
 PKGBUILD |   36 
 1 file changed, 36 insertions(+)

Copied: haskell-cpphs/repos/community-staging-x86_64/PKGBUILD (from rev 550625, 
haskell-cpphs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-01-08 20:38:45 UTC (rev 550626)
@@ -0,0 +1,36 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=cpphs
+pkgname=haskell-cpphs
+pkgver=1.20.8
+pkgrel=16
+pkgdesc="A liberalised re-implementation of cpp, the C pre-processor."
+url="https://projects.haskell.org/cpphs/;
+license=("LGPL")
+arch=('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 $_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 $_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"
+}


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

2019-04-25 Thread Felix Yan via arch-commits
Date: Thursday, April 25, 2019 @ 12:55:16
  Author: felixonmars
Revision: 453832

archrelease: copy trunk to community-staging-x86_64

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

--+
 PKGBUILD |   36 
 1 file changed, 36 insertions(+)

Copied: haskell-cpphs/repos/community-staging-x86_64/PKGBUILD (from rev 453831, 
haskell-cpphs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-04-25 12:55:16 UTC (rev 453832)
@@ -0,0 +1,36 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=cpphs
+pkgname=haskell-cpphs
+pkgver=1.20.8
+pkgrel=15
+pkgdesc="A liberalised re-implementation of cpp, the C pre-processor."
+url="http://projects.haskell.org/cpphs/;
+license=("LGPL")
+arch=('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 $_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 $_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"
+}


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

2019-03-09 Thread Felix Yan via arch-commits
Date: Saturday, March 9, 2019 @ 17:32:40
  Author: felixonmars
Revision: 438564

archrelease: copy trunk to community-staging-x86_64

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

--+
 PKGBUILD |   36 
 1 file changed, 36 insertions(+)

Copied: haskell-cpphs/repos/community-staging-x86_64/PKGBUILD (from rev 438563, 
haskell-cpphs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-03-09 17:32:40 UTC (rev 438564)
@@ -0,0 +1,36 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=cpphs
+pkgname=haskell-cpphs
+pkgver=1.20.8
+pkgrel=14
+pkgdesc="A liberalised re-implementation of cpp, the C pre-processor."
+url="http://projects.haskell.org/cpphs/;
+license=("LGPL")
+arch=('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 $_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 $_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"
+}


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

2018-12-09 Thread Felix Yan via arch-commits
Date: Sunday, December 9, 2018 @ 22:27:53
  Author: felixonmars
Revision: 413355

archrelease: copy trunk to community-staging-x86_64

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

--+
 PKGBUILD |   36 
 1 file changed, 36 insertions(+)

Copied: haskell-cpphs/repos/community-staging-x86_64/PKGBUILD (from rev 413354, 
haskell-cpphs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-12-09 22:27:53 UTC (rev 413355)
@@ -0,0 +1,36 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=cpphs
+pkgname=haskell-cpphs
+pkgver=1.20.8
+pkgrel=13
+pkgdesc="A liberalised re-implementation of cpp, the C pre-processor."
+url="http://projects.haskell.org/cpphs/;
+license=("LGPL")
+arch=('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 $_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 $_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"
+}


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

2018-11-06 Thread Felix Yan via arch-commits
Date: Tuesday, November 6, 2018 @ 19:58:52
  Author: felixonmars
Revision: 402043

archrelease: copy trunk to community-staging-x86_64

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

--+
 PKGBUILD |   36 
 1 file changed, 36 insertions(+)

Copied: haskell-cpphs/repos/community-staging-x86_64/PKGBUILD (from rev 402042, 
haskell-cpphs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-11-06 19:58:52 UTC (rev 402043)
@@ -0,0 +1,36 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=cpphs
+pkgname=haskell-cpphs
+pkgver=1.20.8
+pkgrel=12
+pkgdesc="A liberalised re-implementation of cpp, the C pre-processor."
+url="http://projects.haskell.org/cpphs/;
+license=("LGPL")
+arch=('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 $_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 $_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"
+}


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

2018-11-01 Thread Felix Yan via arch-commits
Date: Thursday, November 1, 2018 @ 11:03:16
  Author: felixonmars
Revision: 401064

archrelease: copy trunk to community-staging-x86_64

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

--+
 PKGBUILD |   36 
 1 file changed, 36 insertions(+)

Copied: haskell-cpphs/repos/community-staging-x86_64/PKGBUILD (from rev 401063, 
haskell-cpphs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-11-01 11:03:16 UTC (rev 401064)
@@ -0,0 +1,36 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=cpphs
+pkgname=haskell-cpphs
+pkgver=1.20.8
+pkgrel=11
+pkgdesc="A liberalised re-implementation of cpp, the C pre-processor."
+url="http://projects.haskell.org/cpphs/;
+license=("LGPL")
+arch=('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}"
+}


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

2018-10-14 Thread Felix Yan via arch-commits
Date: Sunday, October 14, 2018 @ 19:31:47
  Author: felixonmars
Revision: 393785

archrelease: copy trunk to community-staging-x86_64

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

--+
 PKGBUILD |   36 
 1 file changed, 36 insertions(+)

Copied: haskell-cpphs/repos/community-staging-x86_64/PKGBUILD (from rev 393784, 
haskell-cpphs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-10-14 19:31:47 UTC (rev 393785)
@@ -0,0 +1,36 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=cpphs
+pkgname=haskell-cpphs
+pkgver=1.20.8
+pkgrel=10
+pkgdesc="A liberalised re-implementation of cpp, the C pre-processor."
+url="http://projects.haskell.org/cpphs/;
+license=("LGPL")
+arch=('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}"
+}


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

2018-05-31 Thread Felix Yan via arch-commits
Date: Thursday, May 31, 2018 @ 17:37:16
  Author: felixonmars
Revision: 335075

archrelease: copy trunk to community-staging-x86_64

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

--+
 PKGBUILD |   37 +
 1 file changed, 37 insertions(+)

Copied: haskell-cpphs/repos/community-staging-x86_64/PKGBUILD (from rev 335074, 
haskell-cpphs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-05-31 17:37:16 UTC (rev 335075)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=cpphs
+pkgname=haskell-cpphs
+pkgver=1.20.8
+pkgrel=9
+pkgdesc="A liberalised re-implementation of cpp, the C pre-processor."
+url="http://projects.haskell.org/cpphs/;
+license=("LGPL")
+arch=('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}"
+}


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

2018-05-16 Thread Felix Yan via arch-commits
Date: Wednesday, May 16, 2018 @ 18:18:27
  Author: felixonmars
Revision: 323063

archrelease: copy trunk to community-staging-x86_64

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

--+
 PKGBUILD |   37 +
 1 file changed, 37 insertions(+)

Copied: haskell-cpphs/repos/community-staging-x86_64/PKGBUILD (from rev 323062, 
haskell-cpphs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-05-16 18:18:27 UTC (rev 323063)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=cpphs
+pkgname=haskell-cpphs
+pkgver=1.20.8
+pkgrel=8
+pkgdesc="A liberalised re-implementation of cpp, the C pre-processor."
+url="http://projects.haskell.org/cpphs/;
+license=("LGPL")
+arch=('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}"
+}


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

2018-02-26 Thread Felix Yan via arch-commits
Date: Monday, February 26, 2018 @ 19:07:17
  Author: felixonmars
Revision: 298679

archrelease: copy trunk to community-staging-x86_64

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

--+
 PKGBUILD |   37 +
 1 file changed, 37 insertions(+)

Copied: haskell-cpphs/repos/community-staging-x86_64/PKGBUILD (from rev 298678, 
haskell-cpphs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-02-26 19:07:17 UTC (rev 298679)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=cpphs
+pkgname=haskell-cpphs
+pkgver=1.20.8
+pkgrel=6
+pkgdesc="A liberalised re-implementation of cpp, the C pre-processor."
+url="http://projects.haskell.org/cpphs/;
+license=("LGPL")
+arch=('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}"
+}


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

2017-12-28 Thread Felix Yan via arch-commits
Date: Thursday, December 28, 2017 @ 14:51:25
  Author: felixonmars
Revision: 276467

archrelease: copy trunk to community-staging-x86_64

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

--+
 PKGBUILD |   37 +
 1 file changed, 37 insertions(+)

Copied: haskell-cpphs/repos/community-staging-x86_64/PKGBUILD (from rev 276466, 
haskell-cpphs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2017-12-28 14:51:25 UTC (rev 276467)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=cpphs
+pkgname=haskell-cpphs
+pkgver=1.20.8
+pkgrel=5
+pkgdesc="A liberalised re-implementation of cpp, the C pre-processor."
+url="http://projects.haskell.org/cpphs/;
+license=("LGPL")
+arch=('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}"
+}


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

2017-11-26 Thread Felix Yan via arch-commits
Date: Monday, November 27, 2017 @ 05:42:34
  Author: felixonmars
Revision: 269203

archrelease: copy trunk to community-staging-x86_64

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

--+
 PKGBUILD |   37 +
 1 file changed, 37 insertions(+)

Copied: haskell-cpphs/repos/community-staging-x86_64/PKGBUILD (from rev 269202, 
haskell-cpphs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2017-11-27 05:42:34 UTC (rev 269203)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=cpphs
+pkgname=haskell-cpphs
+pkgver=1.20.8
+pkgrel=4
+pkgdesc="A liberalised re-implementation of cpp, the C pre-processor."
+url="http://projects.haskell.org/cpphs/;
+license=("LGPL")
+arch=('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}"
+}