[arch-commits] Commit in (cgrep cgrep/repos cgrep/trunk cgrep/trunk/PKGBUILD)
Felix Yan
fyan at archlinux.org
Mon Jan 25 09:47:43 UTC 2016
Date: Monday, January 25, 2016 @ 10:47:42
Author: fyan
Revision: 158846
addpkg: cgrep 6.5.13-1
Added:
cgrep/
cgrep/repos/
cgrep/trunk/
cgrep/trunk/PKGBUILD
----------+
PKGBUILD | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
Added: cgrep/trunk/PKGBUILD
===================================================================
--- cgrep/trunk/PKGBUILD (rev 0)
+++ cgrep/trunk/PKGBUILD 2016-01-25 09:47:42 UTC (rev 158846)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
+
+pkgname=cgrep
+pkgver=6.5.13
+pkgrel=1
+pkgdesc="A context-aware grep for source codes"
+url="http://awgn.github.io/cgrep/"
+license=("GPL2")
+arch=('i686' 'x86_64')
+depends=('gmp' 'libffi')
+makedepends=("ghc=7.10.3" "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=('03bc20b6879b379b1e22f1e09214d1519b7c7f5b82d7c79de3fd52200ba5550a')
+
+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}"
+}
Property changes on: cgrep/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
More information about the arch-commits
mailing list