Date: Tuesday, June 21, 2016 @ 03:29:30 Author: felixonmars Revision: 180617
archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: cgrep/repos/community-staging-i686/ cgrep/repos/community-staging-i686/PKGBUILD (from rev 180616, cgrep/trunk/PKGBUILD) cgrep/repos/community-staging-x86_64/ cgrep/repos/community-staging-x86_64/PKGBUILD (from rev 180616, cgrep/trunk/PKGBUILD) -----------------------------------+ community-staging-i686/PKGBUILD | 31 +++++++++++++++++++++++++++++++ community-staging-x86_64/PKGBUILD | 31 +++++++++++++++++++++++++++++++ 2 files changed, 62 insertions(+) Copied: cgrep/repos/community-staging-i686/PKGBUILD (from rev 180616, cgrep/trunk/PKGBUILD) =================================================================== --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2016-06-21 03:29:30 UTC (rev 180617) @@ -0,0 +1,31 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Arch Haskell Team <arch-hask...@haskell.org> + +pkgname=cgrep +pkgver=6.6.15 +pkgrel=2 +pkgdesc="A context-aware grep for source codes" +url="http://awgn.github.io/cgrep/" +license=("GPL2") +arch=('i686' 'x86_64') +depends=('gmp' 'libffi' 'pcre') +makedepends=("ghc=8.0.1" "haskell-ansi-terminal" "haskell-async" "haskell-cmdargs" + "haskell-dlist" "haskell-either" "haskell-mtl" "haskell-regex-base" + "haskell-regex-pcre" "haskell-regex-posix" "haskell-safe" "haskell-split" + "haskell-stm" "haskell-stringsearch" "haskell-unix-compat" + "haskell-unordered-containers") +source=("http://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz") +sha256sums=('f58a557fecdc7066ec60653e7c902b8baedcf4f44a81f890265374b6dab9affa') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + + runhaskell Setup configure -O --prefix=/usr --docdir="/usr/share/doc/${pkgname}" + runhaskell Setup build +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + runhaskell Setup copy --destdir="${pkgdir}" +} Copied: cgrep/repos/community-staging-x86_64/PKGBUILD (from rev 180616, cgrep/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2016-06-21 03:29:30 UTC (rev 180617) @@ -0,0 +1,31 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Arch Haskell Team <arch-hask...@haskell.org> + +pkgname=cgrep +pkgver=6.6.15 +pkgrel=2 +pkgdesc="A context-aware grep for source codes" +url="http://awgn.github.io/cgrep/" +license=("GPL2") +arch=('i686' 'x86_64') +depends=('gmp' 'libffi' 'pcre') +makedepends=("ghc=8.0.1" "haskell-ansi-terminal" "haskell-async" "haskell-cmdargs" + "haskell-dlist" "haskell-either" "haskell-mtl" "haskell-regex-base" + "haskell-regex-pcre" "haskell-regex-posix" "haskell-safe" "haskell-split" + "haskell-stm" "haskell-stringsearch" "haskell-unix-compat" + "haskell-unordered-containers") +source=("http://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz") +sha256sums=('f58a557fecdc7066ec60653e7c902b8baedcf4f44a81f890265374b6dab9affa') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + + runhaskell Setup configure -O --prefix=/usr --docdir="/usr/share/doc/${pkgname}" + runhaskell Setup build +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + runhaskell Setup copy --destdir="${pkgdir}" +}