[arch-commits] Commit in diff-so-fancy/repos/community-any (4 files)
Date: Saturday, June 10, 2017 @ 14:24:12 Author: felixonmars Revision: 235917 archrelease: copy trunk to community-any Added: diff-so-fancy/repos/community-any/PKGBUILD (from rev 235916, diff-so-fancy/trunk/PKGBUILD) diff-so-fancy/repos/community-any/system-diff_highlight.patch (from rev 235916, diff-so-fancy/trunk/system-diff_highlight.patch) Deleted: diff-so-fancy/repos/community-any/PKGBUILD diff-so-fancy/repos/community-any/system-diff_highlight.patch -+ PKGBUILD| 95 +++--- system-diff_highlight.patch | 55 ++-- 2 files changed, 77 insertions(+), 73 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2017-06-10 14:23:55 UTC (rev 235916) +++ PKGBUILD2017-06-10 14:24:12 UTC (rev 235917) @@ -1,51 +0,0 @@ -# $Id$ -# Maintainer: Felix Yan -# Contributor: icasdri - -pkgname=diff-so-fancy -pkgver=0.11.4 -pkgrel=1 -pkgdesc="Good-looking diffs with diff-highlight and more" -arch=('any') -url="https://github.com/so-fancy/diff-so-fancy"; -license=('MIT') -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 - - sed -i 's/libexec/lib/g' diff-so-fancy readme.md - mv libexec lib - - 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)/lib/diff-so-fancy.pl|/usr/share/diff-so-fancy/diff-so-fancy.pl|' diff-so-fancy - - install -Dm755 'diff-so-fancy' "$pkgdir"/usr/bin/diff-so-fancy - install -Dm755 'lib/diff-so-fancy.pl' "$pkgdir"/usr/share/diff-so-fancy/diff-so-fancy.pl - - install -Dm644 readme.md "$pkgdir"/usr/share/doc/diff-so-fancy/readme.md -} Copied: diff-so-fancy/repos/community-any/PKGBUILD (from rev 235916, diff-so-fancy/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2017-06-10 14:24:12 UTC (rev 235917) @@ -0,0 +1,44 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: icasdri + +pkgname=diff-so-fancy +pkgver=1.0.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') +depends=('git') +checkdepends=('bash-bats-assert' 'bash-bats-support') +source=("$pkgname-$pkgver.tar.gz::https://github.com/so-fancy/diff-so-fancy/archive/v$pkgver.tar.gz"; +system-diff_highlight.patch) +sha384sums=('00361ed7b36f2b4bb1d79430175e32daadfd5590ff5656e304d7e25c739f599f266efec1664cda7e4caf017a9a56316b' + 'ec4d6df1fc6dbf9e2c2f3fdc4d1c4e57e7cb2b085136f5f84cb32761e853cbc5a3a0878a62b467c05531286b19fe185e') + +prepare() { + cd "$srcdir"/$pkgname-$pkgver + patch -p0 -i ../system-diff_highlight.patch + + rm -r third_party + + sed -e 's|test_helper/bats-support|/usr/lib/bats-support|' \ + -e 's|test_helper/bats-assert|/usr/lib/bats-assert|' \ + -e "s|load'$|load.bash'|" \ + -i test/*.bats + rm test/diff-highlight.bats +} + +check() { + cd "$srcdir"/$pkgname-$pkgver + git init + bats test/*.bats +} + +package() { + cd "$srcdir"/$pkgname-$pkgver + + install -Dm755 diff-so-fancy "$pkgdir"/usr/bin/diff-so-fancy + install -Dm644 readme.md "$pkgdir"/usr/share/doc/diff-so-fancy/readme.md + install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +} Deleted: system-diff_highlight.patch === --- system-diff_highlight.patch 2017-06-10 14:23:55 UTC (rev 235916) +++ system-diff_highlight.patch 2017-06-10 14:24:12 UTC (rev 235917) @@ -1,22 +0,0 @@ -From 10175a16b762282acd90ee624a73b55a362fbbca Mon Sep 17 00:00:00 2001 -From: Felix Yan -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/d
[arch-commits] Commit in diff-so-fancy/repos/community-any (4 files)
Date: Saturday, March 4, 2017 @ 08:00:31 Author: felixonmars Revision: 214836 archrelease: copy trunk to community-any Added: diff-so-fancy/repos/community-any/PKGBUILD (from rev 214835, diff-so-fancy/trunk/PKGBUILD) diff-so-fancy/repos/community-any/system-diff_highlight.patch (from rev 214835, diff-so-fancy/trunk/system-diff_highlight.patch) Deleted: diff-so-fancy/repos/community-any/PKGBUILD diff-so-fancy/repos/community-any/system-diff_highlight.patch -+ PKGBUILD| 102 +- system-diff_highlight.patch | 44 +- 2 files changed, 73 insertions(+), 73 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2017-03-04 08:00:15 UTC (rev 214835) +++ PKGBUILD2017-03-04 08:00:31 UTC (rev 214836) @@ -1,51 +0,0 @@ -# $Id$ -# Maintainer: Felix Yan -# Contributor: icasdri - -pkgname=diff-so-fancy -pkgver=0.11.3 -pkgrel=1 -pkgdesc="Good-looking diffs with diff-highlight and more" -arch=('any') -url="https://github.com/so-fancy/diff-so-fancy"; -license=('MIT') -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 - - sed -i 's/libexec/lib/g' diff-so-fancy readme.md - mv libexec lib - - 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)/lib/diff-so-fancy.pl|/usr/share/diff-so-fancy/diff-so-fancy.pl|' diff-so-fancy - - install -Dm755 'diff-so-fancy' "$pkgdir"/usr/bin/diff-so-fancy - install -Dm755 'lib/diff-so-fancy.pl' "$pkgdir"/usr/share/diff-so-fancy/diff-so-fancy.pl - - install -Dm644 readme.md "$pkgdir"/usr/share/doc/diff-so-fancy/readme.md -} Copied: diff-so-fancy/repos/community-any/PKGBUILD (from rev 214835, diff-so-fancy/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2017-03-04 08:00:31 UTC (rev 214836) @@ -0,0 +1,51 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: icasdri + +pkgname=diff-so-fancy +pkgver=0.11.4 +pkgrel=1 +pkgdesc="Good-looking diffs with diff-highlight and more" +arch=('any') +url="https://github.com/so-fancy/diff-so-fancy"; +license=('MIT') +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 + + sed -i 's/libexec/lib/g' diff-so-fancy readme.md + mv libexec lib + + 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)/lib/diff-so-fancy.pl|/usr/share/diff-so-fancy/diff-so-fancy.pl|' diff-so-fancy + + install -Dm755 'diff-so-fancy' "$pkgdir"/usr/bin/diff-so-fancy + install -Dm755 'lib/diff-so-fancy.pl' "$pkgdir"/usr/share/diff-so-fancy/diff-so-fancy.pl + + install -Dm644 readme.md "$pkgdir"/usr/share/doc/diff-so-fancy/readme.md +} Deleted: system-diff_highlight.patch === --- system-diff_highlight.patch 2017-03-04 08:00:15 UTC (rev 214835) +++ system-diff_highlight.patch 2017-03-04 08:00:31 UTC (rev 214836) @@ -1,22 +0,0 @@ -From 10175a16b762282acd90ee624a73b55a362fbbca Mon Sep 17 00:00:00 2001 -From: Felix Yan -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 @@ ha
[arch-commits] Commit in diff-so-fancy/repos/community-any (4 files)
Date: Monday, February 27, 2017 @ 05:10:09 Author: felixonmars Revision: 213928 archrelease: copy trunk to community-any Added: diff-so-fancy/repos/community-any/PKGBUILD (from rev 213927, diff-so-fancy/trunk/PKGBUILD) diff-so-fancy/repos/community-any/system-diff_highlight.patch (from rev 213927, diff-so-fancy/trunk/system-diff_highlight.patch) Deleted: diff-so-fancy/repos/community-any/PKGBUILD diff-so-fancy/repos/community-any/system-diff_highlight.patch -+ PKGBUILD| 102 +- system-diff_highlight.patch | 44 +- 2 files changed, 73 insertions(+), 73 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2017-02-27 05:09:49 UTC (rev 213927) +++ PKGBUILD2017-02-27 05:10:09 UTC (rev 213928) @@ -1,51 +0,0 @@ -# $Id$ -# Maintainer: Felix Yan -# Contributor: icasdri - -pkgname=diff-so-fancy -pkgver=0.11.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') -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 - - sed -i 's/libexec/lib/g' diff-so-fancy readme.md - mv libexec lib - - 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)/lib/diff-so-fancy.pl|/usr/share/diff-so-fancy/diff-so-fancy.pl|' diff-so-fancy - - install -Dm755 'diff-so-fancy' "$pkgdir"/usr/bin/diff-so-fancy - install -Dm755 'lib/diff-so-fancy.pl' "$pkgdir"/usr/share/diff-so-fancy/diff-so-fancy.pl - - install -Dm644 readme.md "$pkgdir"/usr/share/doc/diff-so-fancy/readme.md -} Copied: diff-so-fancy/repos/community-any/PKGBUILD (from rev 213927, diff-so-fancy/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2017-02-27 05:10:09 UTC (rev 213928) @@ -0,0 +1,51 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: icasdri + +pkgname=diff-so-fancy +pkgver=0.11.3 +pkgrel=1 +pkgdesc="Good-looking diffs with diff-highlight and more" +arch=('any') +url="https://github.com/so-fancy/diff-so-fancy"; +license=('MIT') +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 + + sed -i 's/libexec/lib/g' diff-so-fancy readme.md + mv libexec lib + + 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)/lib/diff-so-fancy.pl|/usr/share/diff-so-fancy/diff-so-fancy.pl|' diff-so-fancy + + install -Dm755 'diff-so-fancy' "$pkgdir"/usr/bin/diff-so-fancy + install -Dm755 'lib/diff-so-fancy.pl' "$pkgdir"/usr/share/diff-so-fancy/diff-so-fancy.pl + + install -Dm644 readme.md "$pkgdir"/usr/share/doc/diff-so-fancy/readme.md +} Deleted: system-diff_highlight.patch === --- system-diff_highlight.patch 2017-02-27 05:09:49 UTC (rev 213927) +++ system-diff_highlight.patch 2017-02-27 05:10:09 UTC (rev 213928) @@ -1,22 +0,0 @@ -From 10175a16b762282acd90ee624a73b55a362fbbca Mon Sep 17 00:00:00 2001 -From: Felix Yan -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 @@
[arch-commits] Commit in diff-so-fancy/repos/community-any (4 files)
Date: Tuesday, September 20, 2016 @ 14:12:13 Author: felixonmars Revision: 190052 archrelease: copy trunk to community-any Added: diff-so-fancy/repos/community-any/PKGBUILD (from rev 190051, diff-so-fancy/trunk/PKGBUILD) diff-so-fancy/repos/community-any/system-diff_highlight.patch (from rev 190051, diff-so-fancy/trunk/system-diff_highlight.patch) Deleted: diff-so-fancy/repos/community-any/PKGBUILD diff-so-fancy/repos/community-any/system-diff_highlight.patch -+ PKGBUILD| 102 +- system-diff_highlight.patch | 44 +- 2 files changed, 73 insertions(+), 73 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2016-09-20 14:11:54 UTC (rev 190051) +++ PKGBUILD2016-09-20 14:12:13 UTC (rev 190052) @@ -1,51 +0,0 @@ -# $Id$ -# Maintainer: Felix Yan -# Contributor: icasdri - -pkgname=diff-so-fancy -pkgver=0.11.1 -pkgrel=1 -pkgdesc="Good-looking diffs with diff-highlight and more" -arch=('any') -url="https://github.com/so-fancy/diff-so-fancy"; -license=('MIT') -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 - - sed -i 's/libexec/lib/g' diff-so-fancy readme.md - mv libexec lib - - 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)/lib/diff-so-fancy.pl|/usr/share/diff-so-fancy/diff-so-fancy.pl|' diff-so-fancy - - install -Dm755 'diff-so-fancy' "$pkgdir"/usr/bin/diff-so-fancy - install -Dm755 'lib/diff-so-fancy.pl' "$pkgdir"/usr/share/diff-so-fancy/diff-so-fancy.pl - - install -Dm644 readme.md "$pkgdir"/usr/share/doc/diff-so-fancy/readme.md -} Copied: diff-so-fancy/repos/community-any/PKGBUILD (from rev 190051, diff-so-fancy/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2016-09-20 14:12:13 UTC (rev 190052) @@ -0,0 +1,51 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: icasdri + +pkgname=diff-so-fancy +pkgver=0.11.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') +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 + + sed -i 's/libexec/lib/g' diff-so-fancy readme.md + mv libexec lib + + 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)/lib/diff-so-fancy.pl|/usr/share/diff-so-fancy/diff-so-fancy.pl|' diff-so-fancy + + install -Dm755 'diff-so-fancy' "$pkgdir"/usr/bin/diff-so-fancy + install -Dm755 'lib/diff-so-fancy.pl' "$pkgdir"/usr/share/diff-so-fancy/diff-so-fancy.pl + + install -Dm644 readme.md "$pkgdir"/usr/share/doc/diff-so-fancy/readme.md +} Deleted: system-diff_highlight.patch === --- system-diff_highlight.patch 2016-09-20 14:11:54 UTC (rev 190051) +++ system-diff_highlight.patch 2016-09-20 14:12:13 UTC (rev 190052) @@ -1,22 +0,0 @@ -From 10175a16b762282acd90ee624a73b55a362fbbca Mon Sep 17 00:00:00 2001 -From: Felix Yan -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 @
[arch-commits] Commit in diff-so-fancy/repos/community-any (4 files)
Date: Friday, August 12, 2016 @ 06:10:00 Author: felixonmars Revision: 186473 archrelease: copy trunk to community-any Added: diff-so-fancy/repos/community-any/PKGBUILD (from rev 186472, diff-so-fancy/trunk/PKGBUILD) diff-so-fancy/repos/community-any/system-diff_highlight.patch (from rev 186472, diff-so-fancy/trunk/system-diff_highlight.patch) Deleted: diff-so-fancy/repos/community-any/PKGBUILD diff-so-fancy/repos/community-any/system-diff_highlight.patch -+ PKGBUILD| 99 +- system-diff_highlight.patch | 44 +- 2 files changed, 73 insertions(+), 70 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2016-08-12 06:09:46 UTC (rev 186472) +++ PKGBUILD2016-08-12 06:10:00 UTC (rev 186473) @@ -1,48 +0,0 @@ -# $Id$ -# Maintainer: Felix Yan -# Contributor: icasdri - -pkgname=diff-so-fancy -pkgver=0.11.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') -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)/lib/diff-so-fancy.pl|/usr/share/diff-so-fancy/diff-so-fancy.pl|' diff-so-fancy - - install -Dm755 'diff-so-fancy' "$pkgdir"/usr/bin/diff-so-fancy - install -Dm755 'lib/diff-so-fancy.pl' "$pkgdir"/usr/share/diff-so-fancy/diff-so-fancy.pl - - install -Dm644 readme.md "$pkgdir"/usr/share/doc/diff-so-fancy/readme.md -} Copied: diff-so-fancy/repos/community-any/PKGBUILD (from rev 186472, diff-so-fancy/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2016-08-12 06:10:00 UTC (rev 186473) @@ -0,0 +1,51 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: icasdri + +pkgname=diff-so-fancy +pkgver=0.11.1 +pkgrel=1 +pkgdesc="Good-looking diffs with diff-highlight and more" +arch=('any') +url="https://github.com/so-fancy/diff-so-fancy"; +license=('MIT') +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 + + sed -i 's/libexec/lib/g' diff-so-fancy readme.md + mv libexec lib + + 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)/lib/diff-so-fancy.pl|/usr/share/diff-so-fancy/diff-so-fancy.pl|' diff-so-fancy + + install -Dm755 'diff-so-fancy' "$pkgdir"/usr/bin/diff-so-fancy + install -Dm755 'lib/diff-so-fancy.pl' "$pkgdir"/usr/share/diff-so-fancy/diff-so-fancy.pl + + install -Dm644 readme.md "$pkgdir"/usr/share/doc/diff-so-fancy/readme.md +} Deleted: system-diff_highlight.patch === --- system-diff_highlight.patch 2016-08-12 06:09:46 UTC (rev 186472) +++ system-diff_highlight.patch 2016-08-12 06:10:00 UTC (rev 186473) @@ -1,22 +0,0 @@ -From 10175a16b762282acd90ee624a73b55a362fbbca Mon Sep 17 00:00:00 2001 -From: Felix Yan -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>