Date: Thursday, December 10, 2015 @ 19:10:14 Author: fyan Revision: 152511
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 152508, c2hs/trunk/PKGBUILD) c2hs/repos/community-staging-x86_64/ c2hs/repos/community-staging-x86_64/PKGBUILD (from rev 152510, c2hs/trunk/PKGBUILD) -----------------------------------+ community-staging-i686/PKGBUILD | 29 +++++++++++++++++++++++++++++ community-staging-x86_64/PKGBUILD | 29 +++++++++++++++++++++++++++++ 2 files changed, 58 insertions(+) Copied: c2hs/repos/community-staging-i686/PKGBUILD (from rev 152508, c2hs/trunk/PKGBUILD) =================================================================== --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2015-12-10 18:10:14 UTC (rev 152511) @@ -0,0 +1,29 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Arch Haskell Team <arch-hask...@haskell.org> + +pkgname=c2hs +pkgver=0.27.1 +pkgrel=2 +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.3" "haskell-dlist" "haskell-language-c") +options=('staticlibs') +source=("http://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz") +sha256sums=('668af07f261c7c6c2537921ba58870cfb1114b33670f2c182e6f9a8794ffe41f') + +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 152510, c2hs/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2015-12-10 18:10:14 UTC (rev 152511) @@ -0,0 +1,29 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Arch Haskell Team <arch-hask...@haskell.org> + +pkgname=c2hs +pkgver=0.27.1 +pkgrel=2 +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.3" "haskell-dlist" "haskell-language-c") +options=('staticlibs') +source=("http://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz") +sha256sums=('668af07f261c7c6c2537921ba58870cfb1114b33670f2c182e6f9a8794ffe41f') + +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}" +}