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

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

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-language-c/repos/community-staging-x86_64/
  haskell-language-c/repos/community-staging-x86_64/PKGBUILD
(from rev 785307, haskell-language-c/trunk/PKGBUILD)

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

Copied: haskell-language-c/repos/community-staging-x86_64/PKGBUILD (from rev 
785307, haskell-language-c/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-23 21:24:09 UTC (rev 785308)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=language-c
+pkgname=haskell-language-c
+pkgver=0.8.3
+pkgrel=8
+pkgdesc="Analysis and generation of C code"
+url="https://visq.github.io/language-c/;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-syb')
+makedepends=('happy' 'alex' 'ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('a2e653c3d6fe4573c0a7f34115d5a5d3db925c174cd574755bb174de834165bce236b354f04e1158309eda654d12104ea03e88f94cdc8b3e11cffba7260282de')
+
+build() {
+cd $_hkgname-$pkgver
+
+rm -fr dist
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fseparatesyb -fusebytestrings -f-allwarnings -fiecfpextension
+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
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+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"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-08-30 Thread Felix Yan via arch-commits
Date: Sunday, August 30, 2020 @ 19:53:25
  Author: felixonmars
Revision: 693035

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-language-c/repos/community-staging-x86_64/
  haskell-language-c/repos/community-staging-x86_64/PKGBUILD
(from rev 693034, haskell-language-c/trunk/PKGBUILD)

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

Copied: haskell-language-c/repos/community-staging-x86_64/PKGBUILD (from rev 
693034, haskell-language-c/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-30 19:53:25 UTC (rev 693035)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=language-c
+pkgname=haskell-language-c
+pkgver=0.8.3
+pkgrel=7
+pkgdesc="Analysis and generation of C code"
+url="https://visq.github.io/language-c/;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-syb')
+makedepends=('happy' 'alex' 'ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('a2e653c3d6fe4573c0a7f34115d5a5d3db925c174cd574755bb174de834165bce236b354f04e1158309eda654d12104ea03e88f94cdc8b3e11cffba7260282de')
+
+build() {
+cd $_hkgname-$pkgver
+
+rm -fr dist
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fseparatesyb -fusebytestrings -f-allwarnings -fiecfpextension
+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
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+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"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

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

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-language-c/repos/community-staging-x86_64/
  haskell-language-c/repos/community-staging-x86_64/PKGBUILD
(from rev 682507, haskell-language-c/trunk/PKGBUILD)

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

Copied: haskell-language-c/repos/community-staging-x86_64/PKGBUILD (from rev 
682507, haskell-language-c/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-17 08:07:10 UTC (rev 682508)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=language-c
+pkgname=haskell-language-c
+pkgver=0.8.3
+pkgrel=6
+pkgdesc="Analysis and generation of C code"
+url="https://visq.github.io/language-c/;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-syb')
+makedepends=('happy' 'alex' 'ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('a2e653c3d6fe4573c0a7f34115d5a5d3db925c174cd574755bb174de834165bce236b354f04e1158309eda654d12104ea03e88f94cdc8b3e11cffba7260282de')
+
+build() {
+cd $_hkgname-$pkgver
+
+rm -fr dist
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fseparatesyb -fusebytestrings -f-allwarnings -fiecfpextension
+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
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+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"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-04-23 Thread Felix Yan via arch-commits
Date: Thursday, April 23, 2020 @ 15:33:56
  Author: felixonmars
Revision: 618291

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-language-c/repos/community-staging-x86_64/
  haskell-language-c/repos/community-staging-x86_64/PKGBUILD
(from rev 618290, haskell-language-c/trunk/PKGBUILD)

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

Copied: haskell-language-c/repos/community-staging-x86_64/PKGBUILD (from rev 
618290, haskell-language-c/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-04-23 15:33:56 UTC (rev 618291)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=language-c
+pkgname=haskell-language-c
+pkgver=0.8.3
+pkgrel=5
+pkgdesc="Analysis and generation of C code"
+url="https://visq.github.io/language-c/;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-syb')
+makedepends=('happy' 'alex' 'ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('a2e653c3d6fe4573c0a7f34115d5a5d3db925c174cd574755bb174de834165bce236b354f04e1158309eda654d12104ea03e88f94cdc8b3e11cffba7260282de')
+
+build() {
+cd $_hkgname-$pkgver
+
+rm -fr dist
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fseparatesyb -fusebytestrings -f-allwarnings -fiecfpextension
+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
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+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"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-02-26 Thread Felix Yan via arch-commits
Date: Wednesday, February 26, 2020 @ 23:23:57
  Author: felixonmars
Revision: 583571

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-language-c/repos/community-staging-x86_64/
  haskell-language-c/repos/community-staging-x86_64/PKGBUILD
(from rev 583570, haskell-language-c/trunk/PKGBUILD)

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

Copied: haskell-language-c/repos/community-staging-x86_64/PKGBUILD (from rev 
583570, haskell-language-c/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-26 23:23:57 UTC (rev 583571)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=language-c
+pkgname=haskell-language-c
+pkgver=0.8.3
+pkgrel=4
+pkgdesc="Analysis and generation of C code"
+url="https://visq.github.io/language-c/;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-syb')
+makedepends=('happy' 'alex' 'ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('a2e653c3d6fe4573c0a7f34115d5a5d3db925c174cd574755bb174de834165bce236b354f04e1158309eda654d12104ea03e88f94cdc8b3e11cffba7260282de')
+
+build() {
+cd $_hkgname-$pkgver
+
+rm -fr dist
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fseparatesyb -fusebytestrings -f-allwarnings -fiecfpextension
+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
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+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"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-02-15 Thread Felix Yan via arch-commits
Date: Saturday, February 15, 2020 @ 16:16:00
  Author: felixonmars
Revision: 571688

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-language-c/repos/community-staging-x86_64/
  haskell-language-c/repos/community-staging-x86_64/PKGBUILD
(from rev 571687, haskell-language-c/trunk/PKGBUILD)

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

Copied: haskell-language-c/repos/community-staging-x86_64/PKGBUILD (from rev 
571687, haskell-language-c/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-15 16:16:00 UTC (rev 571688)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=language-c
+pkgname=haskell-language-c
+pkgver=0.8.3
+pkgrel=3
+pkgdesc="Analysis and generation of C code"
+url="https://visq.github.io/language-c/;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-syb')
+makedepends=('happy' 'alex' 'ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('a2e653c3d6fe4573c0a7f34115d5a5d3db925c174cd574755bb174de834165bce236b354f04e1158309eda654d12104ea03e88f94cdc8b3e11cffba7260282de')
+
+build() {
+cd $_hkgname-$pkgver
+
+rm -fr dist
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fseparatesyb -fusebytestrings -f-allwarnings -fiecfpextension
+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
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+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"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2020-01-08 Thread Felix Yan via arch-commits
Date: Wednesday, January 8, 2020 @ 22:39:50
  Author: felixonmars
Revision: 550774

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-language-c/repos/community-staging-x86_64/
  haskell-language-c/repos/community-staging-x86_64/PKGBUILD
(from rev 550773, haskell-language-c/trunk/PKGBUILD)

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

Copied: haskell-language-c/repos/community-staging-x86_64/PKGBUILD (from rev 
550773, haskell-language-c/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-01-08 22:39:50 UTC (rev 550774)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=language-c
+pkgname=haskell-language-c
+pkgver=0.8.3
+pkgrel=2
+pkgdesc="Analysis and generation of C code"
+url="https://visq.github.io/language-c/;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-syb')
+makedepends=('happy' 'alex' 'ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('a2e653c3d6fe4573c0a7f34115d5a5d3db925c174cd574755bb174de834165bce236b354f04e1158309eda654d12104ea03e88f94cdc8b3e11cffba7260282de')
+
+build() {
+cd $_hkgname-$pkgver
+
+rm -fr dist
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fseparatesyb -fusebytestrings -f-allwarnings -fiecfpextension
+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
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+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"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2019-10-08 Thread Felix Yan via arch-commits
Date: Tuesday, October 8, 2019 @ 21:54:28
  Author: felixonmars
Revision: 514287

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-language-c/repos/community-staging-x86_64/
  haskell-language-c/repos/community-staging-x86_64/PKGBUILD
(from rev 514285, haskell-language-c/trunk/PKGBUILD)

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

Copied: haskell-language-c/repos/community-staging-x86_64/PKGBUILD (from rev 
514285, haskell-language-c/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-10-08 21:54:28 UTC (rev 514287)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=language-c
+pkgname=haskell-language-c
+pkgver=0.8.3
+pkgrel=1
+pkgdesc="Analysis and generation of C code"
+url="https://visq.github.io/language-c/;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-syb')
+makedepends=('happy' 'alex' 'ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('a2e653c3d6fe4573c0a7f34115d5a5d3db925c174cd574755bb174de834165bce236b354f04e1158309eda654d12104ea03e88f94cdc8b3e11cffba7260282de')
+
+build() {
+cd $_hkgname-$pkgver
+
+rm -fr dist
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fseparatesyb -fusebytestrings -f-allwarnings -fiecfpextension
+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
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+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"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2019-09-15 Thread Felix Yan via arch-commits
Date: Sunday, September 15, 2019 @ 18:25:50
  Author: felixonmars
Revision: 510783

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-language-c/repos/community-staging-x86_64/
  haskell-language-c/repos/community-staging-x86_64/PKGBUILD
(from rev 510782, haskell-language-c/trunk/PKGBUILD)

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

Copied: haskell-language-c/repos/community-staging-x86_64/PKGBUILD (from rev 
510782, haskell-language-c/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-09-15 18:25:50 UTC (rev 510783)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=language-c
+pkgname=haskell-language-c
+pkgver=0.8.2
+pkgrel=11
+pkgdesc="Analysis and generation of C code"
+url="https://visq.github.io/language-c/;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-syb')
+makedepends=('happy' 'alex' 'ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('39554d17c967422b2a927eb3f70e68aba8ba1e6ad2464613b75f0e353282dbe0c61c29030514adeb2a85c12c33d4f74f4e74973f7a3a7fbac777c9743e24')
+
+build() {
+cd $_hkgname-$pkgver
+
+rm -fr dist
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fseparatesyb -fusebytestrings -f-allwarnings -fiecfpextension
+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
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+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"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2019-06-27 Thread Felix Yan via arch-commits
Date: Thursday, June 27, 2019 @ 07:33:30
  Author: felixonmars
Revision: 484698

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-language-c/repos/community-staging-x86_64/
  haskell-language-c/repos/community-staging-x86_64/PKGBUILD
(from rev 484697, haskell-language-c/trunk/PKGBUILD)

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

Copied: haskell-language-c/repos/community-staging-x86_64/PKGBUILD (from rev 
484697, haskell-language-c/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-06-27 07:33:30 UTC (rev 484698)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=language-c
+pkgname=haskell-language-c
+pkgver=0.8.2
+pkgrel=10
+pkgdesc="Analysis and generation of C code"
+url="https://visq.github.io/language-c/;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-syb')
+makedepends=('happy' 'alex' 'ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('39554d17c967422b2a927eb3f70e68aba8ba1e6ad2464613b75f0e353282dbe0c61c29030514adeb2a85c12c33d4f74f4e74973f7a3a7fbac777c9743e24')
+
+build() {
+cd $_hkgname-$pkgver
+
+rm -fr dist
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fseparatesyb -fusebytestrings -f-allwarnings -fiecfpextension
+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
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+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"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2019-06-22 Thread Felix Yan via arch-commits
Date: Sunday, June 23, 2019 @ 02:58:22
  Author: felixonmars
Revision: 482844

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-language-c/repos/community-staging-x86_64/
  haskell-language-c/repos/community-staging-x86_64/PKGBUILD
(from rev 482843, haskell-language-c/trunk/PKGBUILD)

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

Copied: haskell-language-c/repos/community-staging-x86_64/PKGBUILD (from rev 
482843, haskell-language-c/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-06-23 02:58:22 UTC (rev 482844)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=language-c
+pkgname=haskell-language-c
+pkgver=0.8.2
+pkgrel=9
+pkgdesc="Analysis and generation of C code"
+url="https://visq.github.io/language-c/;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-syb')
+makedepends=('happy' 'alex' 'ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('39554d17c967422b2a927eb3f70e68aba8ba1e6ad2464613b75f0e353282dbe0c61c29030514adeb2a85c12c33d4f74f4e74973f7a3a7fbac777c9743e24')
+
+build() {
+cd $_hkgname-$pkgver
+
+rm -fr dist
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fseparatesyb -fusebytestrings -f-allwarnings -fiecfpextension
+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
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+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"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2019-05-10 Thread Felix Yan via arch-commits
Date: Friday, May 10, 2019 @ 15:11:25
  Author: felixonmars
Revision: 464858

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-language-c/repos/community-staging-x86_64/
  haskell-language-c/repos/community-staging-x86_64/PKGBUILD
(from rev 464857, haskell-language-c/trunk/PKGBUILD)

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

Copied: haskell-language-c/repos/community-staging-x86_64/PKGBUILD (from rev 
464857, haskell-language-c/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-05-10 15:11:25 UTC (rev 464858)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=language-c
+pkgname=haskell-language-c
+pkgver=0.8.2
+pkgrel=8
+pkgdesc="Analysis and generation of C code"
+url="http://visq.github.io/language-c/;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-syb')
+makedepends=('happy' 'alex' 'ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('39554d17c967422b2a927eb3f70e68aba8ba1e6ad2464613b75f0e353282dbe0c61c29030514adeb2a85c12c33d4f74f4e74973f7a3a7fbac777c9743e24')
+
+build() {
+cd $_hkgname-$pkgver
+
+rm -fr dist
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fseparatesyb -fusebytestrings -f-allwarnings -fiecfpextension
+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
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+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"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2019-04-25 Thread Felix Yan via arch-commits
Date: Thursday, April 25, 2019 @ 16:02:42
  Author: felixonmars
Revision: 453936

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-language-c/repos/community-staging-x86_64/
  haskell-language-c/repos/community-staging-x86_64/PKGBUILD
(from rev 453935, haskell-language-c/trunk/PKGBUILD)

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

Copied: haskell-language-c/repos/community-staging-x86_64/PKGBUILD (from rev 
453935, haskell-language-c/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-04-25 16:02:42 UTC (rev 453936)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=language-c
+pkgname=haskell-language-c
+pkgver=0.8.2
+pkgrel=6
+pkgdesc="Analysis and generation of C code"
+url="http://visq.github.io/language-c/;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-syb')
+makedepends=('happy' 'alex' 'ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('39554d17c967422b2a927eb3f70e68aba8ba1e6ad2464613b75f0e353282dbe0c61c29030514adeb2a85c12c33d4f74f4e74973f7a3a7fbac777c9743e24')
+
+build() {
+cd $_hkgname-$pkgver
+
+rm -fr dist
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fseparatesyb -fusebytestrings -f-allwarnings -fiecfpextension
+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
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+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"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2019-03-09 Thread Felix Yan via arch-commits
Date: Saturday, March 9, 2019 @ 23:21:10
  Author: felixonmars
Revision: 438713

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-language-c/repos/community-staging-x86_64/
  haskell-language-c/repos/community-staging-x86_64/PKGBUILD
(from rev 438712, haskell-language-c/trunk/PKGBUILD)

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

Copied: haskell-language-c/repos/community-staging-x86_64/PKGBUILD (from rev 
438712, haskell-language-c/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-03-09 23:21:10 UTC (rev 438713)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=language-c
+pkgname=haskell-language-c
+pkgver=0.8.2
+pkgrel=5
+pkgdesc="Analysis and generation of C code"
+url="http://visq.github.io/language-c/;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-syb')
+makedepends=('happy' 'alex' 'ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('39554d17c967422b2a927eb3f70e68aba8ba1e6ad2464613b75f0e353282dbe0c61c29030514adeb2a85c12c33d4f74f4e74973f7a3a7fbac777c9743e24')
+
+build() {
+cd $_hkgname-$pkgver
+
+rm -fr dist
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fseparatesyb -fusebytestrings -f-allwarnings -fiecfpextension
+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
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+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"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2018-12-09 Thread Felix Yan via arch-commits
Date: Sunday, December 9, 2018 @ 23:12:14
  Author: felixonmars
Revision: 413457

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-language-c/repos/community-staging-x86_64/
  haskell-language-c/repos/community-staging-x86_64/PKGBUILD
(from rev 413456, haskell-language-c/trunk/PKGBUILD)

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

Copied: haskell-language-c/repos/community-staging-x86_64/PKGBUILD (from rev 
413456, haskell-language-c/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-12-09 23:12:14 UTC (rev 413457)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=language-c
+pkgname=haskell-language-c
+pkgver=0.8.2
+pkgrel=4
+pkgdesc="Analysis and generation of C code"
+url="http://visq.github.io/language-c/;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-syb')
+makedepends=('happy' 'alex' 'ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('39554d17c967422b2a927eb3f70e68aba8ba1e6ad2464613b75f0e353282dbe0c61c29030514adeb2a85c12c33d4f74f4e74973f7a3a7fbac777c9743e24')
+
+build() {
+cd $_hkgname-$pkgver
+
+rm -fr dist
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fseparatesyb -fusebytestrings -f-allwarnings -fiecfpextension
+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
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+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"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2018-11-06 Thread Felix Yan via arch-commits
Date: Tuesday, November 6, 2018 @ 20:52:27
  Author: felixonmars
Revision: 402154

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-language-c/repos/community-staging-x86_64/
  haskell-language-c/repos/community-staging-x86_64/PKGBUILD
(from rev 402153, haskell-language-c/trunk/PKGBUILD)

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

Copied: haskell-language-c/repos/community-staging-x86_64/PKGBUILD (from rev 
402153, haskell-language-c/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-11-06 20:52:27 UTC (rev 402154)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=language-c
+pkgname=haskell-language-c
+pkgver=0.8.2
+pkgrel=3
+pkgdesc="Analysis and generation of C code"
+url="http://visq.github.io/language-c/;
+license=("custom:BSD3")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-syb')
+makedepends=('happy' 'alex' 'ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('39554d17c967422b2a927eb3f70e68aba8ba1e6ad2464613b75f0e353282dbe0c61c29030514adeb2a85c12c33d4f74f4e74973f7a3a7fbac777c9743e24')
+
+build() {
+cd $_hkgname-$pkgver
+
+rm -fr dist
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fseparatesyb -fusebytestrings -f-allwarnings -fiecfpextension
+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
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+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"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2018-10-14 Thread Felix Yan via arch-commits
Date: Sunday, October 14, 2018 @ 22:04:58
  Author: felixonmars
Revision: 393895

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-language-c/repos/community-staging-x86_64/
  haskell-language-c/repos/community-staging-x86_64/PKGBUILD
(from rev 393894, haskell-language-c/trunk/PKGBUILD)

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

Copied: haskell-language-c/repos/community-staging-x86_64/PKGBUILD (from rev 
393894, haskell-language-c/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-10-14 22:04:58 UTC (rev 393895)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=language-c
+pkgname=haskell-language-c
+pkgver=0.8.2
+pkgrel=2
+pkgdesc="Analysis and generation of C code"
+url="http://visq.github.io/language-c/;
+license=("custom:BSD3")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-syb')
+makedepends=('happy' 'alex' 'ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('39554d17c967422b2a927eb3f70e68aba8ba1e6ad2464613b75f0e353282dbe0c61c29030514adeb2a85c12c33d4f74f4e74973f7a3a7fbac777c9743e24')
+
+build() {
+cd $_hkgname-$pkgver
+
+rm -fr dist
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fseparatesyb -fusebytestrings -f-allwarnings -fiecfpextension
+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
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+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}"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2018-09-19 Thread Felix Yan via arch-commits
Date: Wednesday, September 19, 2018 @ 09:43:00
  Author: felixonmars
Revision: 383357

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-language-c/repos/community-staging-x86_64/
  haskell-language-c/repos/community-staging-x86_64/PKGBUILD
(from rev 383356, haskell-language-c/trunk/PKGBUILD)

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

Copied: haskell-language-c/repos/community-staging-x86_64/PKGBUILD (from rev 
383356, haskell-language-c/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-09-19 09:43:00 UTC (rev 383357)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=language-c
+pkgname=haskell-language-c
+pkgver=0.8.2
+pkgrel=1
+pkgdesc="Analysis and generation of C code"
+url="http://visq.github.io/language-c/;
+license=("custom:BSD3")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-syb')
+makedepends=('happy' 'alex' 'ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('39554d17c967422b2a927eb3f70e68aba8ba1e6ad2464613b75f0e353282dbe0c61c29030514adeb2a85c12c33d4f74f4e74973f7a3a7fbac777c9743e24')
+
+build() {
+cd $_hkgname-$pkgver
+
+rm -fr dist
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fseparatesyb -fusebytestrings -f-allwarnings -fiecfpextension
+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
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+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}"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2018-06-08 Thread Felix Yan via arch-commits
Date: Friday, June 8, 2018 @ 08:39:53
  Author: felixonmars
Revision: 342012

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-language-c/repos/community-staging-x86_64/
  haskell-language-c/repos/community-staging-x86_64/PKGBUILD
(from rev 342011, haskell-language-c/trunk/PKGBUILD)

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

Copied: haskell-language-c/repos/community-staging-x86_64/PKGBUILD (from rev 
342011, haskell-language-c/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-06-08 08:39:53 UTC (rev 342012)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=language-c
+pkgname=haskell-language-c
+pkgver=0.8.1
+pkgrel=1
+pkgdesc="Analysis and generation of C code"
+url="http://visq.github.io/language-c/;
+license=("custom:BSD3")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-syb')
+makedepends=('happy' 'alex' 'ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('6cbb835b81e859b49d86596496abad93f51d8beaaec3f80d6a9b05e3afa16d1afe839fe23562c39e64a54078deb3ae00de6800eeb8e7185ee50fdaeed39bd729')
+
+build() {
+cd $_hkgname-$pkgver
+
+rm -fr dist
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fseparatesyb -fusebytestrings -f-allwarnings -fiecfpextension
+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
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+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}"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2018-06-02 Thread Felix Yan via arch-commits
Date: Sunday, June 3, 2018 @ 04:55:29
  Author: felixonmars
Revision: 338534

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-language-c/repos/community-staging-x86_64/
  haskell-language-c/repos/community-staging-x86_64/PKGBUILD
(from rev 338533, haskell-language-c/trunk/PKGBUILD)

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

Copied: haskell-language-c/repos/community-staging-x86_64/PKGBUILD (from rev 
338533, haskell-language-c/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-06-03 04:55:29 UTC (rev 338534)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=language-c
+pkgname=haskell-language-c
+pkgver=0.8
+pkgrel=1
+pkgdesc="Analysis and generation of C code"
+url="http://visq.github.io/language-c/;
+license=("custom:BSD3")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-syb')
+makedepends=('happy' 'alex' 'ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('b923e8a75c248a31fca0b5afcd9b90e68cc88acef5a90e7611261e5678f4c3a5159227bad4a7e553634c766c2329030a6749165e989a9e2c2fd99659e1da7b20')
+
+build() {
+cd $_hkgname-$pkgver
+
+rm -fr dist
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fseparatesyb -fusebytestrings -f-allwarnings -fiecfpextension
+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
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+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}"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2018-06-01 Thread Felix Yan via arch-commits
Date: Friday, June 1, 2018 @ 08:44:43
  Author: felixonmars
Revision: 335699

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-language-c/repos/community-staging-x86_64/
  haskell-language-c/repos/community-staging-x86_64/PKGBUILD
(from rev 335698, haskell-language-c/trunk/PKGBUILD)

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

Copied: haskell-language-c/repos/community-staging-x86_64/PKGBUILD (from rev 
335698, haskell-language-c/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-06-01 08:44:43 UTC (rev 335699)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=language-c
+pkgname=haskell-language-c
+pkgver=0.7.2
+pkgrel=4
+pkgdesc="Analysis and generation of C code"
+url="http://visq.github.io/language-c/;
+license=("custom:BSD3")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-syb')
+makedepends=('happy' 'alex' 'ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('6aefed19addf684e5ac2eea67c8c10b720a06a8591cb518d4c9488fa709a1d6df3fa6726c0d8fca7f4b011e887152f057a8f21e3f715a2758282b2842eef1d8c')
+
+build() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+rm -fr dist
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fseparatesyb -fusebytestrings -fsplitbase -f-allwarnings
+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
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+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}"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2018-05-17 Thread Felix Yan via arch-commits
Date: Thursday, May 17, 2018 @ 10:04:05
  Author: felixonmars
Revision: 323615

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-language-c/repos/community-staging-x86_64/
  haskell-language-c/repos/community-staging-x86_64/PKGBUILD
(from rev 323614, haskell-language-c/trunk/PKGBUILD)

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

Copied: haskell-language-c/repos/community-staging-x86_64/PKGBUILD (from rev 
323614, haskell-language-c/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-05-17 10:04:05 UTC (rev 323615)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=language-c
+pkgname=haskell-language-c
+pkgver=0.7.2
+pkgrel=3
+pkgdesc="Analysis and generation of C code"
+url="http://visq.github.io/language-c/;
+license=("custom:BSD3")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-syb')
+makedepends=('happy' 'alex' 'ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('6aefed19addf684e5ac2eea67c8c10b720a06a8591cb518d4c9488fa709a1d6df3fa6726c0d8fca7f4b011e887152f057a8f21e3f715a2758282b2842eef1d8c')
+
+build() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+rm -fr dist
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fseparatesyb -fusebytestrings -fsplitbase -f-allwarnings
+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
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+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}"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2018-02-27 Thread Felix Yan via arch-commits
Date: Tuesday, February 27, 2018 @ 08:27:07
  Author: felixonmars
Revision: 298979

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-language-c/repos/community-staging-x86_64/
  haskell-language-c/repos/community-staging-x86_64/PKGBUILD
(from rev 298978, haskell-language-c/trunk/PKGBUILD)

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

Copied: haskell-language-c/repos/community-staging-x86_64/PKGBUILD (from rev 
298978, haskell-language-c/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-02-27 08:27:07 UTC (rev 298979)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=language-c
+pkgname=haskell-language-c
+pkgver=0.7.2
+pkgrel=2
+pkgdesc="Analysis and generation of C code"
+url="http://visq.github.io/language-c/;
+license=("custom:BSD3")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-syb')
+makedepends=('happy' 'alex' 'ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('6aefed19addf684e5ac2eea67c8c10b720a06a8591cb518d4c9488fa709a1d6df3fa6726c0d8fca7f4b011e887152f057a8f21e3f715a2758282b2842eef1d8c')
+
+build() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+rm -fr dist
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fseparatesyb -fusebytestrings -fsplitbase -f-allwarnings
+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
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+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}"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2018-02-20 Thread Felix Yan via arch-commits
Date: Tuesday, February 20, 2018 @ 17:28:50
  Author: felixonmars
Revision: 296482

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-language-c/repos/community-staging-x86_64/
  haskell-language-c/repos/community-staging-x86_64/PKGBUILD
(from rev 296481, haskell-language-c/trunk/PKGBUILD)

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

Copied: haskell-language-c/repos/community-staging-x86_64/PKGBUILD (from rev 
296481, haskell-language-c/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-02-20 17:28:50 UTC (rev 296482)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=language-c
+pkgname=haskell-language-c
+pkgver=0.7.2
+pkgrel=1
+pkgdesc="Analysis and generation of C code"
+url="http://visq.github.io/language-c/;
+license=("custom:BSD3")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-syb')
+makedepends=('happy' 'alex' 'ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('6aefed19addf684e5ac2eea67c8c10b720a06a8591cb518d4c9488fa709a1d6df3fa6726c0d8fca7f4b011e887152f057a8f21e3f715a2758282b2842eef1d8c')
+
+build() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+rm -fr dist
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fseparatesyb -fusebytestrings -fsplitbase -f-allwarnings
+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
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+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}"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2017-11-29 Thread Felix Yan via arch-commits
Date: Wednesday, November 29, 2017 @ 13:42:32
  Author: felixonmars
Revision: 270688

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-language-c/repos/community-staging-x86_64/
  haskell-language-c/repos/community-staging-x86_64/PKGBUILD
(from rev 270687, haskell-language-c/trunk/PKGBUILD)

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

Copied: haskell-language-c/repos/community-staging-x86_64/PKGBUILD (from rev 
270687, haskell-language-c/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2017-11-29 13:42:32 UTC (rev 270688)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=language-c
+pkgname=haskell-language-c
+pkgver=0.7.1
+pkgrel=1
+pkgdesc="Analysis and generation of C code"
+url="http://visq.github.io/language-c/;
+license=("custom:BSD3")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-syb')
+makedepends=('happy' 'alex' 'ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('c62dee86b70ead9c0795cabc6b1e0487ab3d4e1e4df693cec94c255aa96d21589d9161150073a5ec1d2ae168924dd8a11ae6ee0cd46730a25ccda009f7a45f58')
+
+build() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+rm -fr dist
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fseparatesyb -fusebytestrings -fsplitbase -f-allwarnings
+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
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+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}"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}