Date: Saturday, August 5, 2017 @ 08:56:57
  Author: felixonmars
Revision: 248626

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 248625, c2hs/trunk/PKGBUILD)
  c2hs/repos/community-staging-x86_64/
  c2hs/repos/community-staging-x86_64/PKGBUILD
    (from rev 248625, 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 248625, 
c2hs/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD                             (rev 0)
+++ community-staging-i686/PKGBUILD     2017-08-05 08:56:57 UTC (rev 248626)
@@ -0,0 +1,28 @@
+# $Id$
+# Maintainer: Felix Yan <felixonm...@archlinux.org>
+# Contributor: Arch Haskell Team <arch-hask...@haskell.org>
+
+pkgname=c2hs
+pkgver=0.28.2
+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=('ghc' "haskell-dlist" "haskell-language-c")
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz";)
+sha256sums=('f4171478cafe9f4906735763c2e0bc1ca0a9f56b50e9d59aac07520434920f9e')
+
+build() {
+    cd "${srcdir}/${pkgname}-${pkgver}"
+    
+    runhaskell Setup configure -O --enable-executable-dynamic --prefix=/usr \
+        --docdir="/usr/share/doc/${pkgname}" --datasubdir="$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 248625, 
c2hs/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD                           (rev 0)
+++ community-staging-x86_64/PKGBUILD   2017-08-05 08:56:57 UTC (rev 248626)
@@ -0,0 +1,28 @@
+# $Id$
+# Maintainer: Felix Yan <felixonm...@archlinux.org>
+# Contributor: Arch Haskell Team <arch-hask...@haskell.org>
+
+pkgname=c2hs
+pkgver=0.28.2
+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=('ghc' "haskell-dlist" "haskell-language-c")
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz";)
+sha256sums=('f4171478cafe9f4906735763c2e0bc1ca0a9f56b50e9d59aac07520434920f9e')
+
+build() {
+    cd "${srcdir}/${pkgname}-${pkgver}"
+    
+    runhaskell Setup configure -O --enable-executable-dynamic --prefix=/usr \
+        --docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" \
+            -f-regression -fbase3
+    runhaskell Setup build
+}
+
+package() {
+    cd "${srcdir}/${pkgname}-${pkgver}"
+    runhaskell Setup copy --destdir="${pkgdir}"
+}

Reply via email to