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

Felix Yan felixonmars at archlinux.org
Sun Jun 3 04:55:17 UTC 2018


    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
===================================================================
--- PKGBUILD	2018-06-03 04:52:44 UTC (rev 338532)
+++ PKGBUILD	2018-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"



More information about the arch-commits mailing list