Date: Monday, April 24, 2017 @ 06:26:31 Author: felixonmars Revision: 224796
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 224795, cgrep/trunk/PKGBUILD) cgrep/repos/community-staging-x86_64/ cgrep/repos/community-staging-x86_64/PKGBUILD (from rev 224795, 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 224795, cgrep/trunk/PKGBUILD) =================================================================== --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2017-04-24 06:26:31 UTC (rev 224796) @@ -0,0 +1,31 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Arch Haskell Team <arch-hask...@haskell.org> + +pkgname=cgrep +pkgver=6.6.16 +pkgrel=32 +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-unicode-show" + "haskell-unordered-containers" "haskell-utf8-string") +source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz") +sha256sums=('7161e331f409ee95abfab14f720ad300ce4c9bd37a9fae74de6643c0f30b134b') + +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 224795, cgrep/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2017-04-24 06:26:31 UTC (rev 224796) @@ -0,0 +1,31 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Arch Haskell Team <arch-hask...@haskell.org> + +pkgname=cgrep +pkgver=6.6.16 +pkgrel=32 +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-unicode-show" + "haskell-unordered-containers" "haskell-utf8-string") +source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz") +sha256sums=('7161e331f409ee95abfab14f720ad300ce4c9bd37a9fae74de6643c0f30b134b') + +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}" +}