[arch-commits] Commit in c2hs/repos (4 files)

Felix Yan felixonmars at archlinux.org
Tue Sep 6 14:41:00 UTC 2016


    Date: Tuesday, September 6, 2016 @ 14:41:00
  Author: felixonmars
Revision: 188761

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  c2hs/repos/community-staging-i686/
  c2hs/repos/community-staging-i686/PKGBUILD
    (from rev 188760, c2hs/trunk/PKGBUILD)
  c2hs/repos/community-staging-x86_64/
  c2hs/repos/community-staging-x86_64/PKGBUILD
    (from rev 188760, c2hs/trunk/PKGBUILD)

-----------------------------------+
 community-staging-i686/PKGBUILD   |   28 ++++++++++++++++++++++++++++
 community-staging-x86_64/PKGBUILD |   28 ++++++++++++++++++++++++++++
 2 files changed, 56 insertions(+)

Copied: c2hs/repos/community-staging-i686/PKGBUILD (from rev 188760, c2hs/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2016-09-06 14:41:00 UTC (rev 188761)
@@ -0,0 +1,28 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
+
+pkgname=c2hs
+pkgver=0.28.1
+pkgrel=5
+pkgdesc="C->Haskell FFI tool that gives some cross-language type safety"
+url="https://github.com/haskell/c2hs"
+license=("GPL2")
+arch=('i686' 'x86_64')
+depends=('libffi' 'gmp')
+makedepends=("ghc=8.0.1" "haskell-dlist" "haskell-language-c")
+source=("http://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz")
+sha256sums=('95b04ef42cf43a1078e9c8a4bf9264dd26e8653b441b3fb7f2296c8b3a0752bb')
+
+build() {
+    cd "${srcdir}/${pkgname}-${pkgver}"
+    
+    runhaskell Setup configure -O --prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
+        -f-regression -fbase3
+    runhaskell Setup build
+}
+
+package() {
+    cd "${srcdir}/${pkgname}-${pkgver}"
+    runhaskell Setup copy --destdir="${pkgdir}"
+}

Copied: c2hs/repos/community-staging-x86_64/PKGBUILD (from rev 188760, c2hs/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2016-09-06 14:41:00 UTC (rev 188761)
@@ -0,0 +1,28 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
+
+pkgname=c2hs
+pkgver=0.28.1
+pkgrel=5
+pkgdesc="C->Haskell FFI tool that gives some cross-language type safety"
+url="https://github.com/haskell/c2hs"
+license=("GPL2")
+arch=('i686' 'x86_64')
+depends=('libffi' 'gmp')
+makedepends=("ghc=8.0.1" "haskell-dlist" "haskell-language-c")
+source=("http://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz")
+sha256sums=('95b04ef42cf43a1078e9c8a4bf9264dd26e8653b441b3fb7f2296c8b3a0752bb')
+
+build() {
+    cd "${srcdir}/${pkgname}-${pkgver}"
+    
+    runhaskell Setup configure -O --prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
+        -f-regression -fbase3
+    runhaskell Setup build
+}
+
+package() {
+    cd "${srcdir}/${pkgname}-${pkgver}"
+    runhaskell Setup copy --destdir="${pkgdir}"
+}



More information about the arch-commits mailing list