[arch-commits] Commit in cgrep/repos (2 files)

Felix Yan felixonmars at archlinux.org
Tue Nov 13 22:05:19 UTC 2018


    Date: Tuesday, November 13, 2018 @ 22:05:18
  Author: felixonmars
Revision: 407266

archrelease: copy trunk to community-staging-x86_64

Added:
  cgrep/repos/community-staging-x86_64/
  cgrep/repos/community-staging-x86_64/PKGBUILD
    (from rev 407265, cgrep/trunk/PKGBUILD)

----------+
 PKGBUILD |   30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

Copied: cgrep/repos/community-staging-x86_64/PKGBUILD (from rev 407265, cgrep/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2018-11-13 22:05:18 UTC (rev 407266)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
+
+pkgname=cgrep
+pkgver=6.6.25
+pkgrel=101
+pkgdesc="A context-aware grep for source codes"
+url="http://awgn.github.io/cgrep/"
+license=("GPL2")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-ansi-terminal' 'haskell-async' 'haskell-cmdargs'
+         'haskell-dlist' 'haskell-either' 'haskell-exceptions' 'haskell-regex-base'
+         'haskell-regex-pcre' 'haskell-regex-posix' 'haskell-safe' 'haskell-split'
+         'haskell-stringsearch' 'haskell-unix-compat' 'haskell-unicode-show'
+         'haskell-unordered-containers' 'haskell-utf8-string' 'haskell-yaml')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz")
+sha512sums=('d3b5a9c249034de37645cfcd6711d701dc5e51fd35f1d5a2c77e9a0c470965f9d268ea3ee523fdc92029e5161688122ed8e04590ca81c7b7b601abec5b2e5e42')
+
+build() {
+    cd $pkgname-$pkgver
+
+    runhaskell Setup configure -O --prefix=/usr --enable-executable-dynamic --docdir="/usr/share/doc/${pkgname}"
+    runhaskell Setup build
+}
+
+package() {
+    cd $pkgname-$pkgver
+    runhaskell Setup copy --destdir="$pkgdir"
+}



More information about the arch-commits mailing list