[arch-commits] Commit in haskell-language-c/trunk (PKGBUILD)

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

upgpkg: haskell-language-c 0.8.3-8: rebuild with ghc 8.10.3

Modified:
  haskell-language-c/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-12-23 21:22:53 UTC (rev 785306)
+++ PKGBUILD2020-12-23 21:23:59 UTC (rev 785307)
@@ -4,7 +4,7 @@
 _hkgname=language-c
 pkgname=haskell-language-c
 pkgver=0.8.3
-pkgrel=7
+pkgrel=8
 pkgdesc="Analysis and generation of C code"
 url="https://visq.github.io/language-c/;
 license=("BSD")


[arch-commits] Commit in haskell-language-c/trunk (PKGBUILD)

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

upgpkg: haskell-language-c 0.8.3-7: rebuild with happy 1.20.0

Modified:
  haskell-language-c/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-08-30 19:51:28 UTC (rev 693033)
+++ PKGBUILD2020-08-30 19:53:12 UTC (rev 693034)
@@ -4,7 +4,7 @@
 _hkgname=language-c
 pkgname=haskell-language-c
 pkgver=0.8.3
-pkgrel=6
+pkgrel=7
 pkgdesc="Analysis and generation of C code"
 url="https://visq.github.io/language-c/;
 license=("BSD")


[arch-commits] Commit in haskell-language-c/trunk (PKGBUILD)

2020-08-17 Thread Felix Yan via arch-commits
Date: Monday, August 17, 2020 @ 08:06:59
  Author: felixonmars
Revision: 682507

upgpkg: haskell-language-c 0.8.3-6: rebuild with ghc 8.10.2

Modified:
  haskell-language-c/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-08-17 08:04:15 UTC (rev 682506)
+++ PKGBUILD2020-08-17 08:06:59 UTC (rev 682507)
@@ -4,7 +4,7 @@
 _hkgname=language-c
 pkgname=haskell-language-c
 pkgver=0.8.3
-pkgrel=5
+pkgrel=6
 pkgdesc="Analysis and generation of C code"
 url="https://visq.github.io/language-c/;
 license=("BSD")
@@ -23,7 +23,7 @@
 --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 build $MAKEFLAGS
 runhaskell Setup register --gen-script
 runhaskell Setup unregister --gen-script
 sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh


[arch-commits] Commit in haskell-language-c/trunk (PKGBUILD)

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

upgpkg: haskell-language-c 0.8.3-5: rebuild with ghc 8.10.1

Modified:
  haskell-language-c/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-04-23 15:32:02 UTC (rev 618289)
+++ PKGBUILD2020-04-23 15:33:46 UTC (rev 618290)
@@ -4,7 +4,7 @@
 _hkgname=language-c
 pkgname=haskell-language-c
 pkgver=0.8.3
-pkgrel=4
+pkgrel=5
 pkgdesc="Analysis and generation of C code"
 url="https://visq.github.io/language-c/;
 license=("BSD")


[arch-commits] Commit in haskell-language-c/trunk (PKGBUILD)

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

upgpkg: haskell-language-c 0.8.3-4: rebuild with ghc 8.8.3

Modified:
  haskell-language-c/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-02-26 23:21:49 UTC (rev 583569)
+++ PKGBUILD2020-02-26 23:23:41 UTC (rev 583570)
@@ -4,7 +4,7 @@
 _hkgname=language-c
 pkgname=haskell-language-c
 pkgver=0.8.3
-pkgrel=3
+pkgrel=4
 pkgdesc="Analysis and generation of C code"
 url="https://visq.github.io/language-c/;
 license=("BSD")
@@ -41,6 +41,6 @@
 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"
+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/trunk (PKGBUILD)

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

upgpkg: haskell-language-c 0.8.3-3: rebuild with ghc 8.8.2

Modified:
  haskell-language-c/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-02-15 16:13:59 UTC (rev 571686)
+++ PKGBUILD2020-02-15 16:15:46 UTC (rev 571687)
@@ -4,7 +4,7 @@
 _hkgname=language-c
 pkgname=haskell-language-c
 pkgver=0.8.3
-pkgrel=2
+pkgrel=3
 pkgdesc="Analysis and generation of C code"
 url="https://visq.github.io/language-c/;
 license=("BSD")


[arch-commits] Commit in haskell-language-c/trunk (PKGBUILD)

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

upgpkg: haskell-language-c 0.8.3-2: rebuild with ghc 8.8.1, cabal-doctest 
1.0.7, polyparse 1.13, primitive 0.7.0.0, regex-base 0.94.0.0, regex-pcre 
0.95.0.0, regex-posix 0.96.0.0, regex-tdfa 1.3.1.0, easytest 0.3

Modified:
  haskell-language-c/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-01-08 22:37:52 UTC (rev 550772)
+++ PKGBUILD2020-01-08 22:39:42 UTC (rev 550773)
@@ -4,7 +4,7 @@
 _hkgname=language-c
 pkgname=haskell-language-c
 pkgver=0.8.3
-pkgrel=1
+pkgrel=2
 pkgdesc="Analysis and generation of C code"
 url="https://visq.github.io/language-c/;
 license=("BSD")


[arch-commits] Commit in haskell-language-c/trunk (PKGBUILD)

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

upgpkg: haskell-language-c 0.8.3-1

rebuild with language-c 0.8.3

Modified:
  haskell-language-c/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-10-08 21:54:17 UTC (rev 514283)
+++ PKGBUILD2019-10-08 21:54:18 UTC (rev 514284)
@@ -3,8 +3,8 @@
 
 _hkgname=language-c
 pkgname=haskell-language-c
-pkgver=0.8.2
-pkgrel=11
+pkgver=0.8.3
+pkgrel=1
 pkgdesc="Analysis and generation of C code"
 url="https://visq.github.io/language-c/;
 license=("BSD")
@@ -12,7 +12,7 @@
 depends=('ghc-libs' 'haskell-syb')
 makedepends=('happy' 'alex' 'ghc')
 
source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha512sums=('39554d17c967422b2a927eb3f70e68aba8ba1e6ad2464613b75f0e353282dbe0c61c29030514adeb2a85c12c33d4f74f4e74973f7a3a7fbac777c9743e24')
+sha512sums=('a2e653c3d6fe4573c0a7f34115d5a5d3db925c174cd574755bb174de834165bce236b354f04e1158309eda654d12104ea03e88f94cdc8b3e11cffba7260282de')
 
 build() {
 cd $_hkgname-$pkgver


[arch-commits] Commit in haskell-language-c/trunk (PKGBUILD)

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

upgpkg: haskell-language-c 0.8.2-11

rebuild with happy 1.19.12

Modified:
  haskell-language-c/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-09-15 18:22:42 UTC (rev 510781)
+++ PKGBUILD2019-09-15 18:25:41 UTC (rev 510782)
@@ -4,7 +4,7 @@
 _hkgname=language-c
 pkgname=haskell-language-c
 pkgver=0.8.2
-pkgrel=10
+pkgrel=11
 pkgdesc="Analysis and generation of C code"
 url="https://visq.github.io/language-c/;
 license=("BSD")


[arch-commits] Commit in haskell-language-c/trunk (PKGBUILD)

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

upgpkg: haskell-language-c 0.8.2-10

rebuild with syb 0.7.1

Modified:
  haskell-language-c/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-06-27 07:33:08 UTC (rev 484696)
+++ PKGBUILD2019-06-27 07:33:20 UTC (rev 484697)
@@ -4,7 +4,7 @@
 _hkgname=language-c
 pkgname=haskell-language-c
 pkgver=0.8.2
-pkgrel=9
+pkgrel=10
 pkgdesc="Analysis and generation of C code"
 url="https://visq.github.io/language-c/;
 license=("BSD")


[arch-commits] Commit in haskell-language-c/trunk (PKGBUILD)

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

upgpkg: haskell-language-c 0.8.2-9

rebuild with happy 1.19.11

Modified:
  haskell-language-c/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-06-23 02:56:36 UTC (rev 482842)
+++ PKGBUILD2019-06-23 02:58:14 UTC (rev 482843)
@@ -4,7 +4,7 @@
 _hkgname=language-c
 pkgname=haskell-language-c
 pkgver=0.8.2
-pkgrel=8
+pkgrel=9
 pkgdesc="Analysis and generation of C code"
 url="https://visq.github.io/language-c/;
 license=("BSD")


[arch-commits] Commit in haskell-language-c/trunk (PKGBUILD)

2019-06-03 Thread Antonio Rojas via arch-commits
Date: Monday, June 3, 2019 @ 21:05:11
  Author: arojas
Revision: 476789

https

Modified:
  haskell-language-c/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-06-03 21:04:58 UTC (rev 476788)
+++ PKGBUILD2019-06-03 21:05:11 UTC (rev 476789)
@@ -6,7 +6,7 @@
 pkgver=0.8.2
 pkgrel=8
 pkgdesc="Analysis and generation of C code"
-url="http://visq.github.io/language-c/;
+url="https://visq.github.io/language-c/;
 license=("BSD")
 arch=('x86_64')
 depends=('ghc-libs' 'haskell-syb')


[arch-commits] Commit in haskell-language-c/trunk (PKGBUILD)

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

upgpkg: haskell-language-c 0.8.2-8

rebuild with happy 1.19.10

Modified:
  haskell-language-c/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-05-10 15:09:34 UTC (rev 464856)
+++ PKGBUILD2019-05-10 15:11:15 UTC (rev 464857)
@@ -4,7 +4,7 @@
 _hkgname=language-c
 pkgname=haskell-language-c
 pkgver=0.8.2
-pkgrel=7
+pkgrel=8
 pkgdesc="Analysis and generation of C code"
 url="http://visq.github.io/language-c/;
 license=("BSD")


[arch-commits] Commit in haskell-language-c/trunk (PKGBUILD)

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

upgpkg: haskell-language-c 0.8.2-7

rebuild with ghc 8.6.5

Modified:
  haskell-language-c/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-04-25 16:02:42 UTC (rev 453936)
+++ PKGBUILD2019-04-25 16:05:42 UTC (rev 453937)
@@ -4,7 +4,7 @@
 _hkgname=language-c
 pkgname=haskell-language-c
 pkgver=0.8.2
-pkgrel=6
+pkgrel=7
 pkgdesc="Analysis and generation of C code"
 url="http://visq.github.io/language-c/;
 license=("BSD")


[arch-commits] Commit in haskell-language-c/trunk (PKGBUILD)

2019-04-25 Thread Felix Yan via arch-commits
Date: Thursday, April 25, 2019 @ 15:34:42
  Author: felixonmars
Revision: 453935

upgpkg: haskell-language-c 0.8.2-6

rebuild with ghc 8.6.5

Modified:
  haskell-language-c/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-04-25 15:32:47 UTC (rev 453934)
+++ PKGBUILD2019-04-25 15:34:42 UTC (rev 453935)
@@ -4,7 +4,7 @@
 _hkgname=language-c
 pkgname=haskell-language-c
 pkgver=0.8.2
-pkgrel=5
+pkgrel=6
 pkgdesc="Analysis and generation of C code"
 url="http://visq.github.io/language-c/;
 license=("BSD")


[arch-commits] Commit in haskell-language-c/trunk (PKGBUILD)

2019-03-09 Thread Felix Yan via arch-commits
Date: Saturday, March 9, 2019 @ 23:20:59
  Author: felixonmars
Revision: 438712

upgpkg: haskell-language-c 0.8.2-5

rebuild with ghc 8.6.4

Modified:
  haskell-language-c/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-03-09 23:19:25 UTC (rev 438711)
+++ PKGBUILD2019-03-09 23:20:59 UTC (rev 438712)
@@ -4,7 +4,7 @@
 _hkgname=language-c
 pkgname=haskell-language-c
 pkgver=0.8.2
-pkgrel=4
+pkgrel=5
 pkgdesc="Analysis and generation of C code"
 url="http://visq.github.io/language-c/;
 license=("BSD")


[arch-commits] Commit in haskell-language-c/trunk (PKGBUILD)

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

upgpkg: haskell-language-c 0.8.2-4

rebuild with ghc 8.6.3, cmark-gfm 0.1.6

Modified:
  haskell-language-c/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-12-09 23:10:26 UTC (rev 413455)
+++ PKGBUILD2018-12-09 23:11:57 UTC (rev 413456)
@@ -4,10 +4,10 @@
 _hkgname=language-c
 pkgname=haskell-language-c
 pkgver=0.8.2
-pkgrel=3
+pkgrel=4
 pkgdesc="Analysis and generation of C code"
 url="http://visq.github.io/language-c/;
-license=("custom:BSD3")
+license=("BSD")
 arch=('x86_64')
 depends=('ghc-libs' 'haskell-syb')
 makedepends=('happy' 'alex' 'ghc')


[arch-commits] Commit in haskell-language-c/trunk (PKGBUILD)

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

upgpkg: haskell-language-c 0.8.2-3

rebuild with ghc 8.6.2

Modified:
  haskell-language-c/trunk/PKGBUILD

--+
 PKGBUILD |   10 +-
 1 file changed, 5 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-11-06 20:50:34 UTC (rev 402152)
+++ PKGBUILD2018-11-06 20:52:08 UTC (rev 402153)
@@ -4,7 +4,7 @@
 _hkgname=language-c
 pkgname=haskell-language-c
 pkgver=0.8.2
-pkgrel=2
+pkgrel=3
 pkgdesc="Analysis and generation of C code"
 url="http://visq.github.io/language-c/;
 license=("custom:BSD3")
@@ -20,7 +20,7 @@
 rm -fr dist
 
 runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--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
@@ -38,9 +38,9 @@
 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 -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/trunk (PKGBUILD)

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

upgpkg: haskell-language-c 0.8.2-2

rebuild with ghc 8.6.1

Modified:
  haskell-language-c/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-10-14 22:03:04 UTC (rev 393893)
+++ PKGBUILD2018-10-14 22:04:38 UTC (rev 393894)
@@ -4,7 +4,7 @@
 _hkgname=language-c
 pkgname=haskell-language-c
 pkgver=0.8.2
-pkgrel=1
+pkgrel=2
 pkgdesc="Analysis and generation of C code"
 url="http://visq.github.io/language-c/;
 license=("custom:BSD3")


[arch-commits] Commit in haskell-language-c/trunk (PKGBUILD)

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

upgpkg: haskell-language-c 0.8.2-1

rebuild with language-c 0.8.2

Modified:
  haskell-language-c/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-09-19 09:39:51 UTC (rev 383355)
+++ PKGBUILD2018-09-19 09:42:43 UTC (rev 383356)
@@ -3,7 +3,7 @@
 
 _hkgname=language-c
 pkgname=haskell-language-c
-pkgver=0.8.1
+pkgver=0.8.2
 pkgrel=1
 pkgdesc="Analysis and generation of C code"
 url="http://visq.github.io/language-c/;
@@ -12,7 +12,7 @@
 depends=('ghc-libs' 'haskell-syb')
 makedepends=('happy' 'alex' 'ghc')
 
source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha512sums=('6cbb835b81e859b49d86596496abad93f51d8beaaec3f80d6a9b05e3afa16d1afe839fe23562c39e64a54078deb3ae00de6800eeb8e7185ee50fdaeed39bd729')
+sha512sums=('39554d17c967422b2a927eb3f70e68aba8ba1e6ad2464613b75f0e353282dbe0c61c29030514adeb2a85c12c33d4f74f4e74973f7a3a7fbac777c9743e24')
 
 build() {
 cd $_hkgname-$pkgver


[arch-commits] Commit in haskell-language-c/trunk (PKGBUILD)

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

upgpkg: haskell-language-c 0.8.1-1

rebuild with language-c 0.8.1

Modified:
  haskell-language-c/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-06-08 04:38:16 UTC (rev 342010)
+++ PKGBUILD2018-06-08 08:39:33 UTC (rev 342011)
@@ -4,7 +4,7 @@
 
 _hkgname=language-c
 pkgname=haskell-language-c
-pkgver=0.8
+pkgver=0.8.1
 pkgrel=1
 pkgdesc="Analysis and generation of C code"
 url="http://visq.github.io/language-c/;
@@ -13,7 +13,7 @@
 depends=('ghc-libs' 'haskell-syb')
 makedepends=('happy' 'alex' 'ghc')
 
source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha512sums=('b923e8a75c248a31fca0b5afcd9b90e68cc88acef5a90e7611261e5678f4c3a5159227bad4a7e553634c766c2329030a6749165e989a9e2c2fd99659e1da7b20')
+sha512sums=('6cbb835b81e859b49d86596496abad93f51d8beaaec3f80d6a9b05e3afa16d1afe839fe23562c39e64a54078deb3ae00de6800eeb8e7185ee50fdaeed39bd729')
 
 build() {
 cd $_hkgname-$pkgver


[arch-commits] Commit in haskell-language-c/trunk (PKGBUILD)

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

upgpkg: haskell-language-c 0.8-1

rebuild with language-c 0.8

Modified:
  haskell-language-c/trunk/PKGBUILD

--+
 PKGBUILD |   12 ++--
 1 file changed, 6 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-06-03 04:52:44 UTC (rev 338532)
+++ PKGBUILD2018-06-03 04:55:16 UTC (rev 338533)
@@ -4,8 +4,8 @@
 
 _hkgname=language-c
 pkgname=haskell-language-c
-pkgver=0.7.2
-pkgrel=4
+pkgver=0.8
+pkgrel=1
 pkgdesc="Analysis and generation of C code"
 url="http://visq.github.io/language-c/;
 license=("custom:BSD3")
@@ -13,10 +13,10 @@
 depends=('ghc-libs' 'haskell-syb')
 makedepends=('happy' 'alex' 'ghc')
 
source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha512sums=('6aefed19addf684e5ac2eea67c8c10b720a06a8591cb518d4c9488fa709a1d6df3fa6726c0d8fca7f4b011e887152f057a8f21e3f715a2758282b2842eef1d8c')
+sha512sums=('b923e8a75c248a31fca0b5afcd9b90e68cc88acef5a90e7611261e5678f4c3a5159227bad4a7e553634c766c2329030a6749165e989a9e2c2fd99659e1da7b20')
 
 build() {
-cd "${srcdir}/${_hkgname}-${pkgver}"
+cd $_hkgname-$pkgver
 
 rm -fr dist
 
@@ -23,7 +23,7 @@
 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
+-fseparatesyb -fusebytestrings -f-allwarnings -fiecfpextension
 runhaskell Setup build
 runhaskell Setup register --gen-script
 runhaskell Setup unregister --gen-script
@@ -37,7 +37,7 @@
 }
 
 package() {
-cd "${srcdir}/${_hkgname}-${pkgver}"
+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"


[arch-commits] Commit in haskell-language-c/trunk (PKGBUILD)

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

upgpkg: haskell-language-c 0.7.2-4

rebuild with ghc 8.4.3

Modified:
  haskell-language-c/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-06-01 08:43:25 UTC (rev 335697)
+++ PKGBUILD2018-06-01 08:44:30 UTC (rev 335698)
@@ -5,7 +5,7 @@
 _hkgname=language-c
 pkgname=haskell-language-c
 pkgver=0.7.2
-pkgrel=3
+pkgrel=4
 pkgdesc="Analysis and generation of C code"
 url="http://visq.github.io/language-c/;
 license=("custom:BSD3")


[arch-commits] Commit in haskell-language-c/trunk (PKGBUILD)

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

upgpkg: haskell-language-c 0.7.2-3

rebuild with ghc 8.4.2

Modified:
  haskell-language-c/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-05-17 10:02:08 UTC (rev 323613)
+++ PKGBUILD2018-05-17 10:03:46 UTC (rev 323614)
@@ -5,7 +5,7 @@
 _hkgname=language-c
 pkgname=haskell-language-c
 pkgver=0.7.2
-pkgrel=2
+pkgrel=3
 pkgdesc="Analysis and generation of C code"
 url="http://visq.github.io/language-c/;
 license=("custom:BSD3")


[arch-commits] Commit in haskell-language-c/trunk (PKGBUILD)

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

upgpkg: haskell-language-c 0.7.2-2

rebuild with mtl,2.2.2

Modified:
  haskell-language-c/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-02-27 08:24:37 UTC (rev 298977)
+++ PKGBUILD2018-02-27 08:26:31 UTC (rev 298978)
@@ -5,7 +5,7 @@
 _hkgname=language-c
 pkgname=haskell-language-c
 pkgver=0.7.2
-pkgrel=1
+pkgrel=2
 pkgdesc="Analysis and generation of C code"
 url="http://visq.github.io/language-c/;
 license=("custom:BSD3")


[arch-commits] Commit in haskell-language-c/trunk (PKGBUILD)

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

upgpkg: haskell-language-c 0.7.2-1

rebuild with language-c,0.7.2

Modified:
  haskell-language-c/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-02-20 17:23:49 UTC (rev 296480)
+++ PKGBUILD2018-02-20 17:28:34 UTC (rev 296481)
@@ -4,7 +4,7 @@
 
 _hkgname=language-c
 pkgname=haskell-language-c
-pkgver=0.7.1
+pkgver=0.7.2
 pkgrel=1
 pkgdesc="Analysis and generation of C code"
 url="http://visq.github.io/language-c/;
@@ -13,7 +13,7 @@
 depends=('ghc-libs' 'haskell-syb')
 makedepends=('happy' 'alex' 'ghc')
 
source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha512sums=('c62dee86b70ead9c0795cabc6b1e0487ab3d4e1e4df693cec94c255aa96d21589d9161150073a5ec1d2ae168924dd8a11ae6ee0cd46730a25ccda009f7a45f58')
+sha512sums=('6aefed19addf684e5ac2eea67c8c10b720a06a8591cb518d4c9488fa709a1d6df3fa6726c0d8fca7f4b011e887152f057a8f21e3f715a2758282b2842eef1d8c')
 
 build() {
 cd "${srcdir}/${_hkgname}-${pkgver}"


[arch-commits] Commit in haskell-language-c/trunk (PKGBUILD float128.patch)

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

upgpkg: haskell-language-c 0.7.1-1

rebuild with language-c,0.7.1 c2hs,0.28.3

Modified:
  haskell-language-c/trunk/PKGBUILD
Deleted:
  haskell-language-c/trunk/float128.patch

+
 PKGBUILD   |   27 +++-
 float128.patch |  171 ---
 2 files changed, 12 insertions(+), 186 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-11-29 13:37:59 UTC (rev 270686)
+++ PKGBUILD2017-11-29 13:42:13 UTC (rev 270687)
@@ -4,25 +4,17 @@
 
 _hkgname=language-c
 pkgname=haskell-language-c
-pkgver=0.6.1
-pkgrel=8
+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")
+depends=('ghc-libs' 'haskell-syb')
 makedepends=('happy' 'alex' 'ghc')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;
-float128.patch)
-sha512sums=('e20711aaf4206fedd8dbd37b0093f0b7cda1ea67971f05875cd895949cd892f1e10a9d554880508781a37323386c043742219377d0de5b1a27748b4cc8d183dc'
-
'71498a0578c7f318d2d62e652c5498d60895a9b480a31e3b4629e66d33bd4c0e55502b72d077ce1411722b102375420349fc3ccfe80fc9cc10a64e6394f32df6')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('c62dee86b70ead9c0795cabc6b1e0487ab3d4e1e4df693cec94c255aa96d21589d9161150073a5ec1d2ae168924dd8a11ae6ee0cd46730a25ccda009f7a45f58')
 
-prepare() {
-cd $_hkgname-$pkgver
-# https://github.com/visq/language-c/pull/33
-patch -p1 -i ../float128.patch
-}
-
 build() {
 cd "${srcdir}/${_hkgname}-${pkgver}"
 
@@ -29,9 +21,9 @@
 rm -fr dist
 
 runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
 --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
--fseparatesyb -fusebytestrings -fsplitbase
+-fseparatesyb -fusebytestrings -fsplitbase -f-allwarnings
 runhaskell Setup build
 runhaskell Setup register --gen-script
 runhaskell Setup unregister --gen-script
@@ -39,6 +31,11 @@
 sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
 }
 
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
 package() {
 cd "${srcdir}/${_hkgname}-${pkgver}"
 

Deleted: float128.patch
===
--- float128.patch  2017-11-29 13:37:59 UTC (rev 270686)
+++ float128.patch  2017-11-29 13:42:13 UTC (rev 270687)
@@ -1,171 +0,0 @@
-From a53a3225bfd588e1a9b2cd00c5e4d0fe2c9bb2f1 Mon Sep 17 00:00:00 2001
-From: Fangrui Song 
-Date: Sun, 21 May 2017 14:23:49 -0700
-Subject: [PATCH] Add __float128
-
-`stddef.h` shipped by GCC 7.1.0 [1] adds when `__i386__` is defined.  This 
change breaks a lot packages depending on c2hs (which in turn depends on 
language-c).
-
-[1]: 
https://github.com/gcc-mirror/gcc/commit/9b5c49ef97e63cc63f1ffa13baf771368105ebe2

- README  | 3 +--
- src/Language/C/Parser/Lexer.x   | 6 --
- src/Language/C/Parser/Parser.y  | 2 ++
- src/Language/C/Parser/Tokens.hs | 3 +++
- src/Language/C/Pretty.hs| 1 +
- src/Language/C/Syntax/AST.hs| 5 +
- 6 files changed, 16 insertions(+), 4 deletions(-)
-
-diff --git a/README b/README
-index 9ea1084..2a4bf71 100644
 a/README
-+++ b/README
-@@ -33,7 +33,6 @@ Currently unsupported C11 constructs:
- 
- Currently unsupported GNU C extensions:
-  - __auto_type
-- - __float128
-  - __builtin_offsetof
-char a[__builtin_offsetof (struct S, sa->f)
-  - _Decimal32
-@@ -54,4 +53,4 @@ A couple of small examples are available in /examples
- A couple of regression tests can be run via
- > cd test/harness; make
- 
--For more tests, see test/README.
-\ No newline at end of file
-+For more tests, see test/README.
-diff --git a/src/Language/C/Parser/Lexer.x b/src/Language/C/Parser/Lexer.x
-index 54f918e..ebebc29 100644
 a/src/Language/C/Parser/Lexer.x
-+++ b/src/Language/C/Parser/Lexer.x
-@@ -119,7 +119,8 @@ $infname  = . # [ \\ \" ] -- valid character 
in a filename
- @hexmant   = @hexdigits?\.@hexdigits|@hexdigits\.
- @binexp= [pP][\+\-]?@digits
- 
--@floatsuffix= [fFlL]
-+-- Suffixes `qQwW` are GNU floating type extensions: 

-+@floatsuffix= [fFlLqQwW]
- @floatgnusuffix = @floatsuffix@gnusuffix?|@gnusuffix@floatsuffix?
- 
- -- clang version literals with a major.minor.rev
-@@ -297,7 +298,7 @@ label __label__
- (CTokGnuC GnuCOffsetof) __builtin_offsetof
- (CTokGnuC GnuCTyCompat) 

[arch-commits] Commit in haskell-language-c/trunk (PKGBUILD)

2017-11-26 Thread Felix Yan via arch-commits
Date: Sunday, November 26, 2017 @ 09:22:19
  Author: felixonmars
Revision: 268863

upgpkg: haskell-language-c 0.6.1-8

rebuild with ghc 8.2.2

Modified:
  haskell-language-c/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-11-26 09:20:20 UTC (rev 268862)
+++ PKGBUILD2017-11-26 09:22:19 UTC (rev 268863)
@@ -5,7 +5,7 @@
 _hkgname=language-c
 pkgname=haskell-language-c
 pkgver=0.6.1
-pkgrel=7
+pkgrel=8
 pkgdesc="Analysis and generation of C code"
 url="http://visq.github.io/language-c/;
 license=("custom:BSD3")


[arch-commits] Commit in haskell-language-c/trunk (PKGBUILD)

2017-09-23 Thread Felix Yan
Date: Saturday, September 23, 2017 @ 15:36:22
  Author: felixonmars
Revision: 260036

upgpkg: haskell-language-c 0.6.1-7

Modified:
  haskell-language-c/trunk/PKGBUILD

--+
 PKGBUILD |   11 ---
 1 file changed, 4 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-09-23 15:36:03 UTC (rev 260035)
+++ PKGBUILD2017-09-23 15:36:22 UTC (rev 260036)
@@ -5,7 +5,7 @@
 _hkgname=language-c
 pkgname=haskell-language-c
 pkgver=0.6.1
-pkgrel=6
+pkgrel=7
 pkgdesc="Analysis and generation of C code"
 url="http://visq.github.io/language-c/;
 license=("custom:BSD3")
@@ -14,8 +14,8 @@
 makedepends=('happy' 'alex' 'ghc')
 
source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;
 float128.patch)
-sha256sums=('23cadc9d04e46490ec57f56b79ecdc2a709ebf57571345905e6e30db29fa37e8'
-'e9ca5665c11229f67b2b411aedd98ede1d4a1639c91c667ef9ac611071b0ec69')
+sha512sums=('e20711aaf4206fedd8dbd37b0093f0b7cda1ea67971f05875cd895949cd892f1e10a9d554880508781a37323386c043742219377d0de5b1a27748b4cc8d183dc'
+
'71498a0578c7f318d2d62e652c5498d60895a9b480a31e3b4629e66d33bd4c0e55502b72d077ce1411722b102375420349fc3ccfe80fc9cc10a64e6394f32df6')
 
 prepare() {
 cd $_hkgname-$pkgver
@@ -28,7 +28,7 @@
 
 rm -fr dist
 
-runhaskell Setup configure -O --enable-executable-dynamic --enable-shared \
+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 \
 -fseparatesyb -fusebytestrings -fsplitbase
@@ -47,7 +47,4 @@
 runhaskell Setup copy --destdir="${pkgdir}"
 install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
 rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
-
-# Remove static libs
-find "$pkgdir"/usr/lib -name "*.a" -delete
 }


[arch-commits] Commit in haskell-language-c/trunk (PKGBUILD)

2017-08-15 Thread Felix Yan
Date: Tuesday, August 15, 2017 @ 10:27:12
  Author: felixonmars
Revision: 250864

upgpkg: haskell-language-c 0.6.1-6

GHC 8.2.1 rebuild

Modified:
  haskell-language-c/trunk/PKGBUILD

--+
 PKGBUILD |   13 +
 1 file changed, 5 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-08-15 10:23:21 UTC (rev 250863)
+++ PKGBUILD2017-08-15 10:27:12 UTC (rev 250864)
@@ -5,13 +5,13 @@
 _hkgname=language-c
 pkgname=haskell-language-c
 pkgver=0.6.1
-pkgrel=5
+pkgrel=6
 pkgdesc="Analysis and generation of C code"
 url="http://visq.github.io/language-c/;
 license=("custom:BSD3")
 arch=('i686' 'x86_64')
-depends=('ghc' "haskell-syb")
-makedepends=('happy' 'alex')
+depends=('ghc-libs' "haskell-syb")
+makedepends=('happy' 'alex' 'ghc')
 
source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;
 float128.patch)
 sha256sums=('23cadc9d04e46490ec57f56b79ecdc2a709ebf57571345905e6e30db29fa37e8'
@@ -25,7 +25,7 @@
 
 build() {
 cd "${srcdir}/${_hkgname}-${pkgver}"
-
+
 rm -fr dist
 
 runhaskell Setup configure -O --enable-executable-dynamic --enable-shared \
@@ -33,7 +33,6 @@
 --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
 -fseparatesyb -fusebytestrings -fsplitbase
 runhaskell Setup build
-runhaskell Setup haddock --hoogle --html
 runhaskell Setup register --gen-script
 runhaskell Setup unregister --gen-script
 sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
@@ -42,11 +41,9 @@
 
 package() {
 cd "${srcdir}/${_hkgname}-${pkgver}"
-
+
 install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
 install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
-install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
-ln -s "/usr/share/doc/${pkgname}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname}"
 runhaskell Setup copy --destdir="${pkgdir}"
 install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
 rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"


[arch-commits] Commit in haskell-language-c/trunk (PKGBUILD)

2017-08-05 Thread Felix Yan
Date: Saturday, August 5, 2017 @ 08:54:09
  Author: felixonmars
Revision: 248623

upgpkg: haskell-language-c 0.6.1-5

rebuild with syb,0.7

Modified:
  haskell-language-c/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-08-05 08:50:06 UTC (rev 248622)
+++ PKGBUILD2017-08-05 08:54:09 UTC (rev 248623)
@@ -5,12 +5,12 @@
 _hkgname=language-c
 pkgname=haskell-language-c
 pkgver=0.6.1
-pkgrel=4
+pkgrel=5
 pkgdesc="Analysis and generation of C code"
 url="http://visq.github.io/language-c/;
 license=("custom:BSD3")
 arch=('i686' 'x86_64')
-depends=("ghc" "haskell-syb")
+depends=('ghc' "haskell-syb")
 makedepends=('happy' 'alex')
 
source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;
 float128.patch)
@@ -30,7 +30,7 @@
 
 runhaskell Setup configure -O --enable-executable-dynamic --enable-shared \
 --prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
---libsubdir=\$compiler/site-local/\$pkgid \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
 -fseparatesyb -fusebytestrings -fsplitbase
 runhaskell Setup build
 runhaskell Setup haddock --hoogle --html


[arch-commits] Commit in haskell-language-c/trunk (PKGBUILD)

2017-06-15 Thread Felix Yan
Date: Thursday, June 15, 2017 @ 19:47:19
  Author: felixonmars
Revision: 237395

upgpkg: haskell-language-c 0.6.1-4

rebuild with ghc,8.0.2

Modified:
  haskell-language-c/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-06-15 19:39:17 UTC (rev 237394)
+++ PKGBUILD2017-06-15 19:47:19 UTC (rev 237395)
@@ -5,13 +5,13 @@
 _hkgname=language-c
 pkgname=haskell-language-c
 pkgver=0.6.1
-pkgrel=3
+pkgrel=4
 pkgdesc="Analysis and generation of C code"
 url="http://visq.github.io/language-c/;
 license=("custom:BSD3")
 arch=('i686' 'x86_64')
+depends=("ghc" "haskell-syb")
 makedepends=('happy' 'alex')
-depends=("ghc=8.0.1" "haskell-syb")
 
source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;
 float128.patch)
 sha256sums=('23cadc9d04e46490ec57f56b79ecdc2a709ebf57571345905e6e30db29fa37e8'


[arch-commits] Commit in haskell-language-c/trunk (PKGBUILD)

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

upgpkg: haskell-language-c 0.6.1-3

dynamic linking experiment

Modified:
  haskell-language-c/trunk/PKGBUILD

--+
 PKGBUILD |7 +--
 1 file changed, 5 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-05-22 08:11:48 UTC (rev 228975)
+++ PKGBUILD2017-05-22 08:14:55 UTC (rev 228976)
@@ -5,7 +5,7 @@
 _hkgname=language-c
 pkgname=haskell-language-c
 pkgver=0.6.1
-pkgrel=2
+pkgrel=3
 pkgdesc="Analysis and generation of C code"
 url="http://visq.github.io/language-c/;
 license=("custom:BSD3")
@@ -28,7 +28,7 @@
 
 rm -fr dist
 
-runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+runhaskell Setup configure -O --enable-executable-dynamic --enable-shared \
 --prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
 --libsubdir=\$compiler/site-local/\$pkgid \
 -fseparatesyb -fusebytestrings -fsplitbase
@@ -50,4 +50,7 @@
 runhaskell Setup copy --destdir="${pkgdir}"
 install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
 rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+
+# Remove static libs
+find "$pkgdir"/usr/lib -name "*.a" -delete
 }


[arch-commits] Commit in haskell-language-c/trunk (PKGBUILD float128.patch)

2017-05-22 Thread Felix Yan
Date: Monday, May 22, 2017 @ 06:39:08
  Author: felixonmars
Revision: 228946

upgpkg: haskell-language-c 0.6.1-2

add a patch for gcc 7

Added:
  haskell-language-c/trunk/float128.patch
Modified:
  haskell-language-c/trunk/PKGBUILD

+
 PKGBUILD   |   14 +++-
 float128.patch |  171 +++
 2 files changed, 182 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-05-21 21:03:17 UTC (rev 228945)
+++ PKGBUILD2017-05-22 06:39:08 UTC (rev 228946)
@@ -5,7 +5,7 @@
 _hkgname=language-c
 pkgname=haskell-language-c
 pkgver=0.6.1
-pkgrel=1
+pkgrel=2
 pkgdesc="Analysis and generation of C code"
 url="http://visq.github.io/language-c/;
 license=("custom:BSD3")
@@ -12,9 +12,17 @@
 arch=('i686' 'x86_64')
 makedepends=('happy' 'alex')
 depends=("ghc=8.0.1" "haskell-syb")
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha256sums=('23cadc9d04e46490ec57f56b79ecdc2a709ebf57571345905e6e30db29fa37e8')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;
+float128.patch)
+sha256sums=('23cadc9d04e46490ec57f56b79ecdc2a709ebf57571345905e6e30db29fa37e8'
+'e9ca5665c11229f67b2b411aedd98ede1d4a1639c91c667ef9ac611071b0ec69')
 
+prepare() {
+cd $_hkgname-$pkgver
+# https://github.com/visq/language-c/pull/33
+patch -p1 -i ../float128.patch
+}
+
 build() {
 cd "${srcdir}/${_hkgname}-${pkgver}"
 

Added: float128.patch
===
--- float128.patch  (rev 0)
+++ float128.patch  2017-05-22 06:39:08 UTC (rev 228946)
@@ -0,0 +1,171 @@
+From a53a3225bfd588e1a9b2cd00c5e4d0fe2c9bb2f1 Mon Sep 17 00:00:00 2001
+From: Fangrui Song 
+Date: Sun, 21 May 2017 14:23:49 -0700
+Subject: [PATCH] Add __float128
+
+`stddef.h` shipped by GCC 7.1.0 [1] adds when `__i386__` is defined.  This 
change breaks a lot packages depending on c2hs (which in turn depends on 
language-c).
+
+[1]: 
https://github.com/gcc-mirror/gcc/commit/9b5c49ef97e63cc63f1ffa13baf771368105ebe2
+---
+ README  | 3 +--
+ src/Language/C/Parser/Lexer.x   | 6 --
+ src/Language/C/Parser/Parser.y  | 2 ++
+ src/Language/C/Parser/Tokens.hs | 3 +++
+ src/Language/C/Pretty.hs| 1 +
+ src/Language/C/Syntax/AST.hs| 5 +
+ 6 files changed, 16 insertions(+), 4 deletions(-)
+
+diff --git a/README b/README
+index 9ea1084..2a4bf71 100644
+--- a/README
 b/README
+@@ -33,7 +33,6 @@ Currently unsupported C11 constructs:
+ 
+ Currently unsupported GNU C extensions:
+  - __auto_type
+- - __float128
+  - __builtin_offsetof
+char a[__builtin_offsetof (struct S, sa->f)
+  - _Decimal32
+@@ -54,4 +53,4 @@ A couple of small examples are available in /examples
+ A couple of regression tests can be run via
+ > cd test/harness; make
+ 
+-For more tests, see test/README.
+\ No newline at end of file
++For more tests, see test/README.
+diff --git a/src/Language/C/Parser/Lexer.x b/src/Language/C/Parser/Lexer.x
+index 54f918e..ebebc29 100644
+--- a/src/Language/C/Parser/Lexer.x
 b/src/Language/C/Parser/Lexer.x
+@@ -119,7 +119,8 @@ $infname  = . # [ \\ \" ] -- valid character 
in a filename
+ @hexmant   = @hexdigits?\.@hexdigits|@hexdigits\.
+ @binexp= [pP][\+\-]?@digits
+ 
+-@floatsuffix= [fFlL]
++-- Suffixes `qQwW` are GNU floating type extensions: 

++@floatsuffix= [fFlLqQwW]
+ @floatgnusuffix = @floatsuffix@gnusuffix?|@gnusuffix@floatsuffix?
+ 
+ -- clang version literals with a major.minor.rev
+@@ -297,7 +298,7 @@ label __label__
+ (CTokGnuC GnuCOffsetof) __builtin_offsetof
+ (CTokGnuC GnuCTyCompat) __builtin_types_compatible_p
+ -}
+--- Tokens: _Alignas _Alignof __alignof alignof __alignof__ __asm asm __asm__ 
_Atomic auto break _Bool case char __const const __const__ continue _Complex 
__complex__ default do double else enum extern float for _Generic goto if 
__inline inline __inline__ int __int128 long _Noreturn  _Nullable __nullable 
_Nonnull __nonnull register __restrict restrict __restrict__ return short 
__signed signed __signed__ sizeof static _Static_assert struct switch typedef 
__typeof typeof __typeof__ __thread _Thread_local union unsigned void 
__volatile volatile __volatile__ while __label__ __attribute __attribute__ 
__extension__ __real __real__ __imag __imag__ __builtin_va_arg 
__builtin_offsetof __builtin_types_compatible_p
++-- Tokens: _Alignas _Alignof __alignof alignof __alignof__ __asm asm __asm__ 
_Atomic auto break _Bool case char __const const __const__ continue _Complex 
__complex__ default do double else enum extern float __float128 for _Generic 
goto if __inline inline __inline__ int __int128 long _Noreturn  _Nullable 
__nullable _Nonnull 

[arch-commits] Commit in haskell-language-c/trunk (PKGBUILD)

2017-03-13 Thread Felix Yan
Date: Monday, March 13, 2017 @ 07:11:41
  Author: felixonmars
Revision: 216020

upgpkg: haskell-language-c 0.6.1-1

rebuild with language-c,0.6.1 c2hs,0.28.2

Modified:
  haskell-language-c/trunk/PKGBUILD

--+
 PKGBUILD |8 
 1 file changed, 4 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-03-13 06:35:14 UTC (rev 216019)
+++ PKGBUILD2017-03-13 07:11:41 UTC (rev 216020)
@@ -4,8 +4,8 @@
 
 _hkgname=language-c
 pkgname=haskell-language-c
-pkgver=0.5.0
-pkgrel=2
+pkgver=0.6.1
+pkgrel=1
 pkgdesc="Analysis and generation of C code"
 url="http://visq.github.io/language-c/;
 license=("custom:BSD3")
@@ -12,8 +12,8 @@
 arch=('i686' 'x86_64')
 makedepends=('happy' 'alex')
 depends=("ghc=8.0.1" "haskell-syb")
-source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha256sums=('86d58bc017a7bba157fc4d5d0ab9e3a3d3f3a2f98bfe46b5b0d5d72a0f5d')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha256sums=('23cadc9d04e46490ec57f56b79ecdc2a709ebf57571345905e6e30db29fa37e8')
 
 build() {
 cd "${srcdir}/${_hkgname}-${pkgver}"


[arch-commits] Commit in haskell-language-c/trunk (PKGBUILD)

2016-03-03 Thread Felix Yan
Date: Thursday, March 3, 2016 @ 16:46:12
  Author: fyan
Revision: 164500

upgpkg: haskell-language-c 0.5.0-1

Modified:
  haskell-language-c/trunk/PKGBUILD

--+
 PKGBUILD |8 
 1 file changed, 4 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-03-03 15:37:21 UTC (rev 164499)
+++ PKGBUILD2016-03-03 15:46:12 UTC (rev 164500)
@@ -4,10 +4,10 @@
 
 _hkgname=language-c
 pkgname=haskell-language-c
-pkgver=0.4.7
-pkgrel=2
+pkgver=0.5.0
+pkgrel=1
 pkgdesc="Analysis and generation of C code"
-url="http://www.sivity.net/projects/language.c/;
+url="http://visq.github.io/language-c/;
 license=("custom:BSD3")
 arch=('i686' 'x86_64')
 makedepends=('happy' 'alex')
@@ -15,7 +15,7 @@
 options=('staticlibs')
 
source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
 install="${pkgname}.install"
-sha256sums=('5f6dc9d86b1f88dec1800e1a4fc43aa52f85fe4bb865ba268aca34b399a512e4')
+sha256sums=('86d58bc017a7bba157fc4d5d0ab9e3a3d3f3a2f98bfe46b5b0d5d72a0f5d')
 
 build() {
 cd "${srcdir}/${_hkgname}-${pkgver}"


[arch-commits] Commit in haskell-language-c/trunk (PKGBUILD)

2015-12-10 Thread Evangelos Foutras
Date: Thursday, December 10, 2015 @ 18:34:55
  Author: foutrelis
Revision: 152468

GHC 7.10.3 rebuild

Modified:
  haskell-language-c/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-12-10 17:33:30 UTC (rev 152467)
+++ PKGBUILD2015-12-10 17:34:55 UTC (rev 152468)
@@ -5,13 +5,13 @@
 _hkgname=language-c
 pkgname=haskell-language-c
 pkgver=0.4.7
-pkgrel=1
+pkgrel=2
 pkgdesc="Analysis and generation of C code"
 url="http://www.sivity.net/projects/language.c/;
 license=("custom:BSD3")
 arch=('i686' 'x86_64')
 makedepends=('happy' 'alex')
-depends=("ghc=7.10.2" "haskell-syb")
+depends=("ghc=7.10.3" "haskell-syb")
 options=('staticlibs')
 
source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
 install="${pkgname}.install"