Date: Saturday, November 14, 2015 @ 09:10:11
  Author: fyan
Revision: 146787

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

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

---------------------------+
 community-i686/PKGBUILD   |   29 +++++++++++++++++++++++++++++
 community-x86_64/PKGBUILD |   29 +++++++++++++++++++++++++++++
 2 files changed, 58 insertions(+)

Copied: c2hs/repos/community-i686/PKGBUILD (from rev 146786, 
c2hs/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD                             (rev 0)
+++ community-i686/PKGBUILD     2015-11-14 08:10:11 UTC (rev 146787)
@@ -0,0 +1,29 @@
+# $Id$
+# Maintainer: Felix Yan <[email protected]>
+# Contributor: Arch Haskell Team <[email protected]>
+
+pkgname=c2hs
+pkgver=0.26.2
+pkgrel=1
+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=7.10.2" "haskell-dlist" "haskell-language-c")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz";)
+sha256sums=('d15d17a9dc69310fc0b350fec6290e3ec75a8c4cd7d004aaeb03374e43d244bd')
+
+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-x86_64/PKGBUILD (from rev 146786, 
c2hs/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD                           (rev 0)
+++ community-x86_64/PKGBUILD   2015-11-14 08:10:11 UTC (rev 146787)
@@ -0,0 +1,29 @@
+# $Id$
+# Maintainer: Felix Yan <[email protected]>
+# Contributor: Arch Haskell Team <[email protected]>
+
+pkgname=c2hs
+pkgver=0.26.2
+pkgrel=1
+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=7.10.2" "haskell-dlist" "haskell-language-c")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz";)
+sha256sums=('d15d17a9dc69310fc0b350fec6290e3ec75a8c4cd7d004aaeb03374e43d244bd')
+
+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}"
+}

Reply via email to