[arch-commits] Commit in cgrep/repos/community-x86_64 (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Thu Jan 4 12:37:29 UTC 2018
Date: Thursday, January 4, 2018 @ 12:37:28
Author: felixonmars
Revision: 278634
archrelease: copy trunk to community-x86_64
Added:
cgrep/repos/community-x86_64/PKGBUILD
(from rev 278633, cgrep/trunk/PKGBUILD)
Deleted:
cgrep/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 76 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 38 insertions(+), 38 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-01-04 12:37:12 UTC (rev 278633)
+++ PKGBUILD 2018-01-04 12:37:28 UTC (rev 278634)
@@ -1,38 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
-
-pkgname=cgrep
-pkgver=6.6.17
-pkgrel=26
-pkgdesc="A context-aware grep for source codes"
-url="http://awgn.github.io/cgrep/"
-license=("GPL2")
-arch=('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')
-
-prepare() {
- sed -e 's/Either/Except/' \
- -e 's/left/throwError/' \
- -e '/import Data.List/a import Control.Monad.Error.Class (throwError)' \
- -i $pkgname-$pkgver/src/Main.hs
-}
-
-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-x86_64/PKGBUILD (from rev 278633, cgrep/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-01-04 12:37:28 UTC (rev 278634)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
+
+pkgname=cgrep
+pkgver=6.6.22
+pkgrel=1
+pkgdesc="A context-aware grep for source codes"
+url="http://awgn.github.io/cgrep/"
+license=("GPL2")
+arch=('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=('d5504fb9d6da4c1bf3bf59297d4c9084af179657710357df89059f36aa3cba10e65089e425a76b36a26943815cad590e7d174d60f7bf29a2a80293b544fb95b6')
+
+prepare() {
+ sed -e 's/Either/Except/' \
+ -e 's/left/throwError/' \
+ -e '/import Data.List/a import Control.Monad.Error.Class (throwError)' \
+ -i $pkgname-$pkgver/src/Main.hs
+}
+
+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}"
+}
More information about the arch-commits
mailing list