[arch-commits] Commit in diff-so-fancy/repos/community-any (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Sun Apr 26 21:57:25 UTC 2020


    Date: Sunday, April 26, 2020 @ 21:57:24
  Author: felixonmars
Revision: 621686

archrelease: copy trunk to community-any

Added:
  diff-so-fancy/repos/community-any/PKGBUILD
    (from rev 621685, diff-so-fancy/trunk/PKGBUILD)
Deleted:
  diff-so-fancy/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   86 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 43 insertions(+), 43 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-04-26 21:57:12 UTC (rev 621685)
+++ PKGBUILD	2020-04-26 21:57:24 UTC (rev 621686)
@@ -1,43 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: icasdri <icasdri at gmail dot com>
-
-pkgname=diff-so-fancy
-pkgver=1.2.7
-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=('perl')
-makedepends=('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")
-sha384sums=('63fa860baa62ea1455022433658feec080abcbbb528c116ef471ff697d6b29e21f7ae4e794e14eadff764fee12001230')
-
-prepare() {
-  cd "$srcdir"/$pkgname-$pkgver
-
-  rm -r third_party # lib
-
-  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
-}
-
-check() {
-  cd "$srcdir"/$pkgname-$pkgver
-  git init
-  bats test/*.bats
-}
-
-package() {
-  cd "$srcdir"/$pkgname-$pkgver
-
-  sed -i 's|^use lib .*$|use lib "/usr/share/diff-so-fancy";|' diff-so-fancy
-
-  install -Dm755 diff-so-fancy "$pkgdir"/usr/bin/diff-so-fancy
-  install -Dm755 lib/DiffHighlight.pm "$pkgdir"/usr/share/diff-so-fancy/DiffHighlight.pm
-  install -Dm644 README.md "$pkgdir"/usr/share/doc/diff-so-fancy/README.md
-  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}

Copied: diff-so-fancy/repos/community-any/PKGBUILD (from rev 621685, diff-so-fancy/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-04-26 21:57:24 UTC (rev 621686)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: icasdri <icasdri at gmail dot com>
+
+pkgname=diff-so-fancy
+pkgver=1.3.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=('perl')
+makedepends=('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")
+sha384sums=('3b8990c406674962bc47fb190966a75e73ef5e6e851b1daa6807e68dbfd7b522eeea37691fcc7ddc5f0e3d2f784369e5')
+
+prepare() {
+  cd "$srcdir"/$pkgname-$pkgver
+
+  rm -r third_party # lib
+
+  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
+}
+
+check() {
+  cd "$srcdir"/$pkgname-$pkgver
+  git init
+  bats test/*.bats
+}
+
+package() {
+  cd "$srcdir"/$pkgname-$pkgver
+
+  sed -i 's|^use lib .*$|use lib "/usr/share/diff-so-fancy";|' diff-so-fancy
+
+  install -Dm755 diff-so-fancy "$pkgdir"/usr/bin/diff-so-fancy
+  install -Dm755 lib/DiffHighlight.pm "$pkgdir"/usr/share/diff-so-fancy/DiffHighlight.pm
+  install -Dm644 README.md "$pkgdir"/usr/share/doc/diff-so-fancy/README.md
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}



More information about the arch-commits mailing list