[arch-commits] Commit in diff-so-fancy/repos/community-any (6 files)
Felix Yan
fyan at archlinux.org
Wed Mar 9 11:37:09 UTC 2016
Date: Wednesday, March 9, 2016 @ 12:37:09
Author: fyan
Revision: 165722
archrelease: copy trunk to community-any
Added:
diff-so-fancy/repos/community-any/PKGBUILD
(from rev 165721, diff-so-fancy/trunk/PKGBUILD)
diff-so-fancy/repos/community-any/diff-so-fancy.install
(from rev 165721, diff-so-fancy/trunk/diff-so-fancy.install)
diff-so-fancy/repos/community-any/system-diff_highlight.patch
(from rev 165721, diff-so-fancy/trunk/system-diff_highlight.patch)
Deleted:
diff-so-fancy/repos/community-any/PKGBUILD
diff-so-fancy/repos/community-any/diff-so-fancy.install
diff-so-fancy/repos/community-any/system-diff_highlight.patch
-----------------------------+
PKGBUILD | 94 +++++++++++++++++++++---------------------
diff-so-fancy.install | 6 +-
system-diff_highlight.patch | 44 +++++++++----------
3 files changed, 72 insertions(+), 72 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2016-03-09 11:36:48 UTC (rev 165721)
+++ PKGBUILD 2016-03-09 11:37:09 UTC (rev 165722)
@@ -1,47 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: icasdri <icasdri at gmail dot com>
-
-pkgname=diff-so-fancy
-pkgver=0.6.0
-pkgrel=1
-pkgdesc="Good-looking diffs with diff-highlight and more"
-arch=('any')
-url="https://github.com/so-fancy/diff-so-fancy"
-license=('MIT')
-install="$pkgname.install"
-depends=('git')
-checkdepends=('bash-bats')
-source=("git+https://github.com/so-fancy/diff-so-fancy.git#tag=v$pkgver"
- "git+https://github.com/ztombol/bats-support.git"
- "git+https://github.com/ztombol/bats-assert.git"
- system-diff_highlight.patch)
-sha384sums=('SKIP'
- 'SKIP'
- 'SKIP'
- '9ec860b54a91f4852d9426e7e471de918132c29e846772cc3d65b33ff5be78b95875ba994f96882e0ce9f5c6dccac998')
-
-prepare() {
- cd "$srcdir"/$pkgname
- git config submodule."test/test_helper/bats-support".url "$srcdir"/bats-support
- git config submodule."test/test_helper/bats-assert".url "$srcdir"/bats-assert
- git submodule update --init
-
- patch -p1 -i ../system-diff_highlight.patch
- rm -r third_party
- rm test/diff-highlight.bats
-}
-
-check() {
- cd "$srcdir"/$pkgname
- bats test/*.bats
-}
-
-package() {
- cd "$srcdir"/$pkgname
-
- sed -i 's|$(get_script_dir)/libs/header_clean/header_clean.pl|/usr/share/diff-so-fancy/header_clean/header_clean.pl|' diff-so-fancy
-
- install -Dm755 'diff-so-fancy' "$pkgdir"/usr/bin/diff-so-fancy
- install -Dm755 'libs/header_clean/header_clean.pl' "$pkgdir"/usr/share/diff-so-fancy/header_clean/header_clean.pl
-}
Copied: diff-so-fancy/repos/community-any/PKGBUILD (from rev 165721, diff-so-fancy/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2016-03-09 11:37:09 UTC (rev 165722)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: icasdri <icasdri at gmail dot com>
+
+pkgname=diff-so-fancy
+pkgver=0.6.2
+pkgrel=1
+pkgdesc="Good-looking diffs with diff-highlight and more"
+arch=('any')
+url="https://github.com/so-fancy/diff-so-fancy"
+license=('MIT')
+install="$pkgname.install"
+depends=('git')
+checkdepends=('bash-bats')
+source=("git+https://github.com/so-fancy/diff-so-fancy.git#tag=v$pkgver"
+ "git+https://github.com/ztombol/bats-support.git"
+ "git+https://github.com/ztombol/bats-assert.git"
+ system-diff_highlight.patch)
+sha384sums=('SKIP'
+ 'SKIP'
+ 'SKIP'
+ '9ec860b54a91f4852d9426e7e471de918132c29e846772cc3d65b33ff5be78b95875ba994f96882e0ce9f5c6dccac998')
+
+prepare() {
+ cd "$srcdir"/$pkgname
+ git config submodule."test/test_helper/bats-support".url "$srcdir"/bats-support
+ git config submodule."test/test_helper/bats-assert".url "$srcdir"/bats-assert
+ git submodule update --init
+
+ patch -p1 -i ../system-diff_highlight.patch
+ rm -r third_party
+ rm test/diff-highlight.bats
+}
+
+check() {
+ cd "$srcdir"/$pkgname
+ bats test/*.bats
+}
+
+package() {
+ cd "$srcdir"/$pkgname
+
+ sed -i 's|$(get_script_dir)/libs/header_clean/header_clean.pl|/usr/share/diff-so-fancy/header_clean/header_clean.pl|' diff-so-fancy
+
+ install -Dm755 'diff-so-fancy' "$pkgdir"/usr/bin/diff-so-fancy
+ install -Dm755 'libs/header_clean/header_clean.pl' "$pkgdir"/usr/share/diff-so-fancy/header_clean/header_clean.pl
+}
Deleted: diff-so-fancy.install
===================================================================
--- diff-so-fancy.install 2016-03-09 11:36:48 UTC (rev 165721)
+++ diff-so-fancy.install 2016-03-09 11:37:09 UTC (rev 165722)
@@ -1,3 +0,0 @@
-post_install() {
- echo "Refer to https://github.com/so-fancy/diff-so-fancy#usage for usage"
-}
Copied: diff-so-fancy/repos/community-any/diff-so-fancy.install (from rev 165721, diff-so-fancy/trunk/diff-so-fancy.install)
===================================================================
--- diff-so-fancy.install (rev 0)
+++ diff-so-fancy.install 2016-03-09 11:37:09 UTC (rev 165722)
@@ -0,0 +1,3 @@
+post_install() {
+ echo "Refer to https://github.com/so-fancy/diff-so-fancy#usage for usage"
+}
Deleted: system-diff_highlight.patch
===================================================================
--- system-diff_highlight.patch 2016-03-09 11:36:48 UTC (rev 165721)
+++ system-diff_highlight.patch 2016-03-09 11:37:09 UTC (rev 165722)
@@ -1,22 +0,0 @@
-From 10175a16b762282acd90ee624a73b55a362fbbca Mon Sep 17 00:00:00 2001
-From: Felix Yan <felixonmars at archlinux.org>
-Date: Sun, 14 Feb 2016 17:07:07 +0800
-Subject: [PATCH] Use system git's diff_highlight
-
----
- diff-so-fancy | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/diff-so-fancy b/diff-so-fancy
-index b17cf29..9f62e72 100755
---- a/diff-so-fancy
-+++ b/diff-so-fancy
-@@ -19,7 +19,7 @@ hash gsed 2> /dev/null && SED=gsed || SED=sed
- if hash diff-highlight 2> /dev/null; then
- diff_highlight=diff-highlight
- else
-- diff_highlight="$(get_script_dir)/third_party/diff-highlight/diff-highlight"
-+ diff_highlight="/usr/share/git/diff-highlight/diff-highlight"
- fi
-
- CSI=$'\x1b\['
Copied: diff-so-fancy/repos/community-any/system-diff_highlight.patch (from rev 165721, diff-so-fancy/trunk/system-diff_highlight.patch)
===================================================================
--- system-diff_highlight.patch (rev 0)
+++ system-diff_highlight.patch 2016-03-09 11:37:09 UTC (rev 165722)
@@ -0,0 +1,22 @@
+From 10175a16b762282acd90ee624a73b55a362fbbca Mon Sep 17 00:00:00 2001
+From: Felix Yan <felixonmars at archlinux.org>
+Date: Sun, 14 Feb 2016 17:07:07 +0800
+Subject: [PATCH] Use system git's diff_highlight
+
+---
+ diff-so-fancy | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/diff-so-fancy b/diff-so-fancy
+index b17cf29..9f62e72 100755
+--- a/diff-so-fancy
++++ b/diff-so-fancy
+@@ -19,7 +19,7 @@ hash gsed 2> /dev/null && SED=gsed || SED=sed
+ if hash diff-highlight 2> /dev/null; then
+ diff_highlight=diff-highlight
+ else
+- diff_highlight="$(get_script_dir)/third_party/diff-highlight/diff-highlight"
++ diff_highlight="/usr/share/git/diff-highlight/diff-highlight"
+ fi
+
+ CSI=$'\x1b\['
More information about the arch-commits
mailing list