[arch-commits] Commit in haskell-language-c/repos (6 files)
Date: Tuesday, August 15, 2017 @ 10:27:38 Author: felixonmars Revision: 250865 archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: haskell-language-c/repos/community-staging-i686/ haskell-language-c/repos/community-staging-i686/PKGBUILD (from rev 250864, haskell-language-c/trunk/PKGBUILD) haskell-language-c/repos/community-staging-i686/float128.patch (from rev 250864, haskell-language-c/trunk/float128.patch) haskell-language-c/repos/community-staging-x86_64/ haskell-language-c/repos/community-staging-x86_64/PKGBUILD (from rev 250864, haskell-language-c/trunk/PKGBUILD) haskell-language-c/repos/community-staging-x86_64/float128.patch (from rev 250864, haskell-language-c/trunk/float128.patch) -+ community-staging-i686/PKGBUILD | 53 + community-staging-i686/float128.patch | 171 ++ community-staging-x86_64/PKGBUILD | 53 + community-staging-x86_64/float128.patch | 171 ++ 4 files changed, 448 insertions(+) Copied: haskell-language-c/repos/community-staging-i686/PKGBUILD (from rev 250864, haskell-language-c/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2017-08-15 10:27:38 UTC (rev 250865) @@ -0,0 +1,53 @@ +# $Id$ +# Maintainer: Felix Yan+# Contributor: Arch Haskell Team + +_hkgname=language-c +pkgname=haskell-language-c +pkgver=0.6.1 +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-libs' "haskell-syb") +makedepends=('happy' 'alex' 'ghc') +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}" + +rm -fr dist + +runhaskell Setup configure -O --enable-executable-dynamic --enable-shared \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-fseparatesyb -fusebytestrings -fsplitbase +runhaskell Setup build +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +package() { +cd "${srcdir}/${_hkgname}-${pkgver}" + +install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh" +install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" +runhaskell Setup copy --destdir="${pkgdir}" +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 +} Copied: haskell-language-c/repos/community-staging-i686/float128.patch (from rev 250864, haskell-language-c/trunk/float128.patch) === --- community-staging-i686/float128.patch (rev 0) +++ community-staging-i686/float128.patch 2017-08-15 10:27:38 UTC (rev 250865) @@ -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
[arch-commits] Commit in haskell-language-c/repos (6 files)
Date: Saturday, August 5, 2017 @ 08:54:32 Author: felixonmars Revision: 248624 archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: haskell-language-c/repos/community-staging-i686/ haskell-language-c/repos/community-staging-i686/PKGBUILD (from rev 248623, haskell-language-c/trunk/PKGBUILD) haskell-language-c/repos/community-staging-i686/float128.patch (from rev 248623, haskell-language-c/trunk/float128.patch) haskell-language-c/repos/community-staging-x86_64/ haskell-language-c/repos/community-staging-x86_64/PKGBUILD (from rev 248623, haskell-language-c/trunk/PKGBUILD) haskell-language-c/repos/community-staging-x86_64/float128.patch (from rev 248623, haskell-language-c/trunk/float128.patch) -+ community-staging-i686/PKGBUILD | 56 + community-staging-i686/float128.patch | 171 ++ community-staging-x86_64/PKGBUILD | 56 + community-staging-x86_64/float128.patch | 171 ++ 4 files changed, 454 insertions(+) Copied: haskell-language-c/repos/community-staging-i686/PKGBUILD (from rev 248623, haskell-language-c/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2017-08-05 08:54:32 UTC (rev 248624) @@ -0,0 +1,56 @@ +# $Id$ +# Maintainer: Felix Yan+# Contributor: Arch Haskell Team + +_hkgname=language-c +pkgname=haskell-language-c +pkgver=0.6.1 +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") +makedepends=('happy' 'alex') +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}" + +rm -fr dist + +runhaskell Setup configure -O --enable-executable-dynamic --enable-shared \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \ +--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 +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +package() { +cd "${srcdir}/${_hkgname}-${pkgver}" + +install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh" +install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" +install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries" +ln -s "/usr/share/doc/${pkgname}/html" "${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname}" +runhaskell Setup copy --destdir="${pkgdir}" +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 +} Copied: haskell-language-c/repos/community-staging-i686/float128.patch (from rev 248623, haskell-language-c/trunk/float128.patch) === --- community-staging-i686/float128.patch (rev 0) +++ community-staging-i686/float128.patch 2017-08-05 08:54:32 UTC (rev 248624) @@ -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 +
[arch-commits] Commit in haskell-language-c/repos (6 files)
Date: Thursday, June 15, 2017 @ 19:47:41 Author: felixonmars Revision: 237396 archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: haskell-language-c/repos/community-staging-i686/ haskell-language-c/repos/community-staging-i686/PKGBUILD (from rev 237395, haskell-language-c/trunk/PKGBUILD) haskell-language-c/repos/community-staging-i686/float128.patch (from rev 237395, haskell-language-c/trunk/float128.patch) haskell-language-c/repos/community-staging-x86_64/ haskell-language-c/repos/community-staging-x86_64/PKGBUILD (from rev 237395, haskell-language-c/trunk/PKGBUILD) haskell-language-c/repos/community-staging-x86_64/float128.patch (from rev 237395, haskell-language-c/trunk/float128.patch) -+ community-staging-i686/PKGBUILD | 56 + community-staging-i686/float128.patch | 171 ++ community-staging-x86_64/PKGBUILD | 56 + community-staging-x86_64/float128.patch | 171 ++ 4 files changed, 454 insertions(+) Copied: haskell-language-c/repos/community-staging-i686/PKGBUILD (from rev 237395, haskell-language-c/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2017-06-15 19:47:41 UTC (rev 237396) @@ -0,0 +1,56 @@ +# $Id$ +# Maintainer: Felix Yan+# Contributor: Arch Haskell Team + +_hkgname=language-c +pkgname=haskell-language-c +pkgver=0.6.1 +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') +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}" + +rm -fr dist + +runhaskell Setup configure -O --enable-executable-dynamic --enable-shared \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \ +--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 +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +package() { +cd "${srcdir}/${_hkgname}-${pkgver}" + +install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh" +install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" +install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries" +ln -s "/usr/share/doc/${pkgname}/html" "${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname}" +runhaskell Setup copy --destdir="${pkgdir}" +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 +} Copied: haskell-language-c/repos/community-staging-i686/float128.patch (from rev 237395, haskell-language-c/trunk/float128.patch) === --- community-staging-i686/float128.patch (rev 0) +++ community-staging-i686/float128.patch 2017-06-15 19:47:41 UTC (rev 237396) @@ -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 +
[arch-commits] Commit in haskell-language-c/repos (6 files)
Date: Monday, May 22, 2017 @ 08:15:19 Author: felixonmars Revision: 228977 archrelease: copy trunk to community-testing-i686, community-testing-x86_64 Added: haskell-language-c/repos/community-testing-i686/ haskell-language-c/repos/community-testing-i686/PKGBUILD (from rev 228976, haskell-language-c/trunk/PKGBUILD) haskell-language-c/repos/community-testing-i686/float128.patch (from rev 228976, haskell-language-c/trunk/float128.patch) haskell-language-c/repos/community-testing-x86_64/ haskell-language-c/repos/community-testing-x86_64/PKGBUILD (from rev 228976, haskell-language-c/trunk/PKGBUILD) haskell-language-c/repos/community-testing-x86_64/float128.patch (from rev 228976, haskell-language-c/trunk/float128.patch) -+ community-testing-i686/PKGBUILD | 56 + community-testing-i686/float128.patch | 171 ++ community-testing-x86_64/PKGBUILD | 56 + community-testing-x86_64/float128.patch | 171 ++ 4 files changed, 454 insertions(+) Copied: haskell-language-c/repos/community-testing-i686/PKGBUILD (from rev 228976, haskell-language-c/trunk/PKGBUILD) === --- community-testing-i686/PKGBUILD (rev 0) +++ community-testing-i686/PKGBUILD 2017-05-22 08:15:19 UTC (rev 228977) @@ -0,0 +1,56 @@ +# $Id$ +# Maintainer: Felix Yan+# Contributor: Arch Haskell Team + +_hkgname=language-c +pkgname=haskell-language-c +pkgver=0.6.1 +pkgrel=3 +pkgdesc="Analysis and generation of C code" +url="http://visq.github.io/language-c/; +license=("custom:BSD3") +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; +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}" + +rm -fr dist + +runhaskell Setup configure -O --enable-executable-dynamic --enable-shared \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \ +--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 +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +package() { +cd "${srcdir}/${_hkgname}-${pkgver}" + +install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh" +install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" +install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries" +ln -s "/usr/share/doc/${pkgname}/html" "${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname}" +runhaskell Setup copy --destdir="${pkgdir}" +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 +} Copied: haskell-language-c/repos/community-testing-i686/float128.patch (from rev 228976, haskell-language-c/trunk/float128.patch) === --- community-testing-i686/float128.patch (rev 0) +++ community-testing-i686/float128.patch 2017-05-22 08:15:19 UTC (rev 228977) @@ -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 + -
[arch-commits] Commit in haskell-language-c/repos (6 files)
Date: Monday, May 22, 2017 @ 06:39:37 Author: felixonmars Revision: 228947 archrelease: copy trunk to community-i686, community-x86_64 Added: haskell-language-c/repos/community-i686/PKGBUILD (from rev 228946, haskell-language-c/trunk/PKGBUILD) haskell-language-c/repos/community-i686/float128.patch (from rev 228946, haskell-language-c/trunk/float128.patch) haskell-language-c/repos/community-x86_64/PKGBUILD (from rev 228946, haskell-language-c/trunk/PKGBUILD) haskell-language-c/repos/community-x86_64/float128.patch (from rev 228946, haskell-language-c/trunk/float128.patch) Deleted: haskell-language-c/repos/community-i686/PKGBUILD haskell-language-c/repos/community-x86_64/PKGBUILD -+ /PKGBUILD | 106 +++ community-i686/PKGBUILD | 45 -- community-i686/float128.patch | 171 ++ community-x86_64/PKGBUILD | 45 -- community-x86_64/float128.patch | 171 ++ 5 files changed, 448 insertions(+), 90 deletions(-) Deleted: community-i686/PKGBUILD === --- community-i686/PKGBUILD 2017-05-22 06:39:08 UTC (rev 228946) +++ community-i686/PKGBUILD 2017-05-22 06:39:37 UTC (rev 228947) @@ -1,45 +0,0 @@ -# $Id$ -# Maintainer: Felix Yan-# Contributor: Arch Haskell Team - -_hkgname=language-c -pkgname=haskell-language-c -pkgver=0.6.1 -pkgrel=1 -pkgdesc="Analysis and generation of C code" -url="http://visq.github.io/language-c/; -license=("custom:BSD3") -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') - -build() { -cd "${srcdir}/${_hkgname}-${pkgver}" - -rm -fr dist - -runhaskell Setup configure -O --enable-library-profiling --enable-shared \ ---prefix=/usr --docdir="/usr/share/doc/${pkgname}" \ ---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 -sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh -} - -package() { -cd "${srcdir}/${_hkgname}-${pkgver}" - -install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh" -install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" -install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries" -ln -s "/usr/share/doc/${pkgname}/html" "${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname}" -runhaskell Setup copy --destdir="${pkgdir}" -install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" -rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" -} Copied: haskell-language-c/repos/community-i686/PKGBUILD (from rev 228946, haskell-language-c/trunk/PKGBUILD) === --- community-i686/PKGBUILD (rev 0) +++ community-i686/PKGBUILD 2017-05-22 06:39:37 UTC (rev 228947) @@ -0,0 +1,53 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=language-c +pkgname=haskell-language-c +pkgver=0.6.1 +pkgrel=2 +pkgdesc="Analysis and generation of C code" +url="http://visq.github.io/language-c/; +license=("custom:BSD3") +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; +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}" + +rm -fr dist + +runhaskell Setup configure -O --enable-library-profiling --enable-shared \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \ +--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 +sed -i -r -e "s|ghc-pkg.*unregister[^ ]*
[arch-commits] Commit in haskell-language-c/repos (6 files)
Date: Thursday, March 3, 2016 @ 16:46:38 Author: fyan Revision: 164501 archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: haskell-language-c/repos/community-staging-i686/ haskell-language-c/repos/community-staging-i686/PKGBUILD (from rev 164500, haskell-language-c/trunk/PKGBUILD) haskell-language-c/repos/community-staging-i686/haskell-language-c.install (from rev 164500, haskell-language-c/trunk/haskell-language-c.install) haskell-language-c/repos/community-staging-x86_64/ haskell-language-c/repos/community-staging-x86_64/PKGBUILD (from rev 164500, haskell-language-c/trunk/PKGBUILD) haskell-language-c/repos/community-staging-x86_64/haskell-language-c.install (from rev 164500, haskell-language-c/trunk/haskell-language-c.install) -+ community-staging-i686/PKGBUILD | 46 ++ community-staging-i686/haskell-language-c.install | 18 +++ community-staging-x86_64/PKGBUILD | 46 ++ community-staging-x86_64/haskell-language-c.install | 18 +++ 4 files changed, 128 insertions(+) Copied: haskell-language-c/repos/community-staging-i686/PKGBUILD (from rev 164500, haskell-language-c/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2016-03-03 15:46:38 UTC (rev 164501) @@ -0,0 +1,46 @@ +# $Id$ +# Maintainer: Felix Yan+# Contributor: Arch Haskell Team + +_hkgname=language-c +pkgname=haskell-language-c +pkgver=0.5.0 +pkgrel=1 +pkgdesc="Analysis and generation of C code" +url="http://visq.github.io/language-c/; +license=("custom:BSD3") +arch=('i686' 'x86_64') +makedepends=('happy' 'alex') +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" +sha256sums=('86d58bc017a7bba157fc4d5d0ab9e3a3d3f3a2f98bfe46b5b0d5d72a0f5d') + +build() { +cd "${srcdir}/${_hkgname}-${pkgver}" + +rm -fr dist + +runhaskell Setup configure -O --enable-library-profiling --enable-shared \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \ +--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.*unregister[^ ]* |&'--force' |" unregister.sh +} + +package() { +cd "${srcdir}/${_hkgname}-${pkgver}" + +install -D -m744 register.sh "${pkgdir}/usr/share/haskell/${pkgname}/register.sh" +install-m744 unregister.sh "${pkgdir}/usr/share/haskell/${pkgname}/unregister.sh" +install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries" +ln -s "/usr/share/doc/${pkgname}/html" "${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname}" +runhaskell Setup copy --destdir="${pkgdir}" +install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +} Copied: haskell-language-c/repos/community-staging-i686/haskell-language-c.install (from rev 164500, haskell-language-c/trunk/haskell-language-c.install) === --- community-staging-i686/haskell-language-c.install (rev 0) +++ community-staging-i686/haskell-language-c.install 2016-03-03 15:46:38 UTC (rev 164501) @@ -0,0 +1,18 @@ +HS_DIR=usr/share/haskell/haskell-language-c +post_install() { + ${HS_DIR}/register.sh + (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) +} +pre_upgrade() { + ${HS_DIR}/unregister.sh +} +post_upgrade() { + ${HS_DIR}/register.sh + (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) +} +pre_remove() { + ${HS_DIR}/unregister.sh +} +post_remove() { + (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) +} Copied: haskell-language-c/repos/community-staging-x86_64/PKGBUILD (from rev 164500, haskell-language-c/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2016-03-03 15:46:38 UTC (rev 164501) @@ -0,0 +1,46 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=language-c +pkgname=haskell-language-c +pkgver=0.5.0 +pkgrel=1 +pkgdesc="Analysis and generation of C code" +url="http://visq.github.io/language-c/; +license=("custom:BSD3") +arch=('i686' 'x86_64') +makedepends=('happy' 'alex') +depends=("ghc=7.10.3" "haskell-syb")
[arch-commits] Commit in haskell-language-c/repos (6 files)
Date: Thursday, December 10, 2015 @ 18:35:02 Author: foutrelis Revision: 152469 archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: haskell-language-c/repos/community-staging-i686/ haskell-language-c/repos/community-staging-i686/PKGBUILD (from rev 152468, haskell-language-c/trunk/PKGBUILD) haskell-language-c/repos/community-staging-i686/haskell-language-c.install (from rev 152468, haskell-language-c/trunk/haskell-language-c.install) haskell-language-c/repos/community-staging-x86_64/ haskell-language-c/repos/community-staging-x86_64/PKGBUILD (from rev 152468, haskell-language-c/trunk/PKGBUILD) haskell-language-c/repos/community-staging-x86_64/haskell-language-c.install (from rev 152468, haskell-language-c/trunk/haskell-language-c.install) -+ community-staging-i686/PKGBUILD | 46 ++ community-staging-i686/haskell-language-c.install | 18 +++ community-staging-x86_64/PKGBUILD | 46 ++ community-staging-x86_64/haskell-language-c.install | 18 +++ 4 files changed, 128 insertions(+) Copied: haskell-language-c/repos/community-staging-i686/PKGBUILD (from rev 152468, haskell-language-c/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2015-12-10 17:35:02 UTC (rev 152469) @@ -0,0 +1,46 @@ +# $Id$ +# Maintainer: Felix Yan+# Contributor: Arch Haskell Team + +_hkgname=language-c +pkgname=haskell-language-c +pkgver=0.4.7 +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.3" "haskell-syb") +options=('staticlibs') +source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;) +install="${pkgname}.install" +sha256sums=('5f6dc9d86b1f88dec1800e1a4fc43aa52f85fe4bb865ba268aca34b399a512e4') + +build() { +cd "${srcdir}/${_hkgname}-${pkgver}" + +rm -fr dist + +runhaskell Setup configure -O --enable-library-profiling --enable-shared \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \ +--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.*unregister[^ ]* |&'--force' |" unregister.sh +} + +package() { +cd "${srcdir}/${_hkgname}-${pkgver}" + +install -D -m744 register.sh "${pkgdir}/usr/share/haskell/${pkgname}/register.sh" +install-m744 unregister.sh "${pkgdir}/usr/share/haskell/${pkgname}/unregister.sh" +install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries" +ln -s "/usr/share/doc/${pkgname}/html" "${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname}" +runhaskell Setup copy --destdir="${pkgdir}" +install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +} Copied: haskell-language-c/repos/community-staging-i686/haskell-language-c.install (from rev 152468, haskell-language-c/trunk/haskell-language-c.install) === --- community-staging-i686/haskell-language-c.install (rev 0) +++ community-staging-i686/haskell-language-c.install 2015-12-10 17:35:02 UTC (rev 152469) @@ -0,0 +1,18 @@ +HS_DIR=usr/share/haskell/haskell-language-c +post_install() { + ${HS_DIR}/register.sh + (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) +} +pre_upgrade() { + ${HS_DIR}/unregister.sh +} +post_upgrade() { + ${HS_DIR}/register.sh + (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) +} +pre_remove() { + ${HS_DIR}/unregister.sh +} +post_remove() { + (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) +} Copied: haskell-language-c/repos/community-staging-x86_64/PKGBUILD (from rev 152468, haskell-language-c/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2015-12-10 17:35:02 UTC (rev 152469) @@ -0,0 +1,46 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=language-c +pkgname=haskell-language-c +pkgver=0.4.7 +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.3"
[arch-commits] Commit in haskell-language-c/repos (6 files)
Date: Saturday, November 14, 2015 @ 09:04:39 Author: fyan Revision: 146785 archrelease: copy trunk to community-i686, community-x86_64 Added: haskell-language-c/repos/community-i686/ haskell-language-c/repos/community-i686/PKGBUILD (from rev 146784, haskell-language-c/trunk/PKGBUILD) haskell-language-c/repos/community-i686/haskell-language-c.install (from rev 146784, haskell-language-c/trunk/haskell-language-c.install) haskell-language-c/repos/community-x86_64/ haskell-language-c/repos/community-x86_64/PKGBUILD (from rev 146784, haskell-language-c/trunk/PKGBUILD) haskell-language-c/repos/community-x86_64/haskell-language-c.install (from rev 146784, haskell-language-c/trunk/haskell-language-c.install) -+ community-i686/PKGBUILD | 46 ++ community-i686/haskell-language-c.install | 18 ++ community-x86_64/PKGBUILD | 46 ++ community-x86_64/haskell-language-c.install | 18 ++ 4 files changed, 128 insertions(+) Copied: haskell-language-c/repos/community-i686/PKGBUILD (from rev 146784, haskell-language-c/trunk/PKGBUILD) === --- community-i686/PKGBUILD (rev 0) +++ community-i686/PKGBUILD 2015-11-14 08:04:39 UTC (rev 146785) @@ -0,0 +1,46 @@ +# $Id$ +# Maintainer: Felix Yan+# Contributor: Arch Haskell Team + +_hkgname=language-c +pkgname=haskell-language-c +pkgver=0.4.7 +pkgrel=1 +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") +options=('staticlibs') +source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;) +install="${pkgname}.install" +sha256sums=('5f6dc9d86b1f88dec1800e1a4fc43aa52f85fe4bb865ba268aca34b399a512e4') + +build() { +cd "${srcdir}/${_hkgname}-${pkgver}" + +rm -fr dist + +runhaskell Setup configure -O --enable-library-profiling --enable-shared \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \ +--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.*unregister[^ ]* |&'--force' |" unregister.sh +} + +package() { +cd "${srcdir}/${_hkgname}-${pkgver}" + +install -D -m744 register.sh "${pkgdir}/usr/share/haskell/${pkgname}/register.sh" +install-m744 unregister.sh "${pkgdir}/usr/share/haskell/${pkgname}/unregister.sh" +install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries" +ln -s "/usr/share/doc/${pkgname}/html" "${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname}" +runhaskell Setup copy --destdir="${pkgdir}" +install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +} Copied: haskell-language-c/repos/community-i686/haskell-language-c.install (from rev 146784, haskell-language-c/trunk/haskell-language-c.install) === --- community-i686/haskell-language-c.install (rev 0) +++ community-i686/haskell-language-c.install 2015-11-14 08:04:39 UTC (rev 146785) @@ -0,0 +1,18 @@ +HS_DIR=usr/share/haskell/haskell-language-c +post_install() { + ${HS_DIR}/register.sh + (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) +} +pre_upgrade() { + ${HS_DIR}/unregister.sh +} +post_upgrade() { + ${HS_DIR}/register.sh + (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) +} +pre_remove() { + ${HS_DIR}/unregister.sh +} +post_remove() { + (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) +} Copied: haskell-language-c/repos/community-x86_64/PKGBUILD (from rev 146784, haskell-language-c/trunk/PKGBUILD) === --- community-x86_64/PKGBUILD (rev 0) +++ community-x86_64/PKGBUILD 2015-11-14 08:04:39 UTC (rev 146785) @@ -0,0 +1,46 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=language-c +pkgname=haskell-language-c +pkgver=0.4.7 +pkgrel=1 +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") +options=('staticlibs') +source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)