[arch-commits] Commit in cgrep/repos/community-x86_64 (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Fri Feb 23 14:46:12 UTC 2018


    Date: Friday, February 23, 2018 @ 14:46:11
  Author: felixonmars
Revision: 297230

archrelease: copy trunk to community-x86_64

Added:
  cgrep/repos/community-x86_64/PKGBUILD
    (from rev 297229, cgrep/trunk/PKGBUILD)
Deleted:
  cgrep/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   76 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 38 insertions(+), 38 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-02-23 14:45:50 UTC (rev 297229)
+++ PKGBUILD	2018-02-23 14:46:11 UTC (rev 297230)
@@ -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.22
-pkgrel=21
-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}"
-}

Copied: cgrep/repos/community-x86_64/PKGBUILD (from rev 297229, cgrep/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-02-23 14:46:11 UTC (rev 297230)
@@ -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.23
+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-aeson' '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' 'haskell-yaml')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz")
+sha512sums=('bb04d46a253036bfbb6d82856b59848519737962852771f9c357f7e5d36744d4c5ca6eef9caf2e45343a7ca435ce8da376f9f7d571ba1b648296543cc2eba155')
+
+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 $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