Date: Thursday, October 19, 2017 @ 16:54:07 Author: felixonmars Revision: 263643
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 263642, cgrep/trunk/PKGBUILD) cgrep/repos/community-staging-x86_64/ cgrep/repos/community-staging-x86_64/PKGBUILD (from rev 263642, 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 263642, cgrep/trunk/PKGBUILD) =================================================================== --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2017-10-19 16:54:07 UTC (rev 263643) @@ -0,0 +1,31 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Arch Haskell Team <arch-hask...@haskell.org> + +pkgname=cgrep +pkgver=6.6.17 +pkgrel=20 +pkgdesc="A context-aware grep for source codes" +url="http://awgn.github.io/cgrep/" +license=("GPL2") +arch=('i686' 'x86_64') +depends=('ghc-libs' "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") +makedepends=('ghc') +source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz") +sha512sums=('382649e70a112614ab270fb287cf289572411b33f3d89f72b855bd0aa515ee17d7589f019446b3cdd5024b4cbde4272c955520abe0bcf7f92890f575a937635d') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + + runhaskell Setup configure -O --prefix=/usr --enable-executable-dynamic --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 263642, cgrep/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2017-10-19 16:54:07 UTC (rev 263643) @@ -0,0 +1,31 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Arch Haskell Team <arch-hask...@haskell.org> + +pkgname=cgrep +pkgver=6.6.17 +pkgrel=20 +pkgdesc="A context-aware grep for source codes" +url="http://awgn.github.io/cgrep/" +license=("GPL2") +arch=('i686' 'x86_64') +depends=('ghc-libs' "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") +makedepends=('ghc') +source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz") +sha512sums=('382649e70a112614ab270fb287cf289572411b33f3d89f72b855bd0aa515ee17d7589f019446b3cdd5024b4cbde4272c955520abe0bcf7f92890f575a937635d') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + + runhaskell Setup configure -O --prefix=/usr --enable-executable-dynamic --docdir="/usr/share/doc/${pkgname}" + runhaskell Setup build +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + runhaskell Setup copy --destdir="${pkgdir}" +}