[arch-commits] Commit in diffuse/repos/community-any (PKGBUILD PKGBUILD)

Alexander Rødseth arodseth at archlinux.org
Thu Mar 19 15:34:41 UTC 2020


    Date: Thursday, March 19, 2020 @ 15:34:41
  Author: arodseth
Revision: 600911

archrelease: copy trunk to community-any

Added:
  diffuse/repos/community-any/PKGBUILD
    (from rev 600910, diffuse/trunk/PKGBUILD)
Deleted:
  diffuse/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   65 ++++++++++++++++++++++++++++++++++++-------------------------
 1 file changed, 39 insertions(+), 26 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-03-19 15:34:35 UTC (rev 600910)
+++ PKGBUILD	2020-03-19 15:34:41 UTC (rev 600911)
@@ -1,26 +0,0 @@
-# Maintainer: Lukas Jirkovsky <l.jirkovsky at gmail.com>
-# Contributor:  TDY <tdy at gmx.com>
-# Contributor: zhuqin <zhuqin83 at gmail.com>
-
-pkgname=diffuse
-pkgver=0.5.0alpha7+4+g813d6e7
-pkgrel=1
-pkgdesc="A graphical tool for merging and comparing text files"
-arch=('any')
-url="http://diffuse.sourceforge.net/"
-license=('GPL')
-depends=('gtk3' 'python-gobject')
-makedepends=('git')
-_commit=813d6e7bbac0dbcbf464951ba6b070562737ed8d  # master
-source=("git+https://github.com/MightyCreak/diffuse.git#commit=$_commit")
-md5sums=('SKIP')
-
-pkgver() {
-  cd $pkgname
-  git describe --tags | sed 's/^v//;s/-alpha\./alpha/;s/-/+/g'
-}
-
-package() {
-  cd "$srcdir/$pkgname"
-  python install.py --prefix=/usr --destdir="$pkgdir"
-}

Copied: diffuse/repos/community-any/PKGBUILD (from rev 600910, diffuse/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-03-19 15:34:41 UTC (rev 600911)
@@ -0,0 +1,39 @@
+# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
+# Contributor: Lukas Jirkovsky <l.jirkovsky at gmail.com>
+# Contributor: TDY <tdy at gmx.com>
+# Contributor: zhuqin <zhuqin83 at gmail.com>
+
+pkgname=diffuse
+pkgver=0.5.0alpha7+4+g813d6e7
+pkgrel=2
+pkgdesc='Graphical tool for merging and comparing text files'
+arch=(any)
+url='https://github.com/MightyCreak/diffuse'
+license=(GPL)
+depends=(gtk3 python-gobject)
+makedepends=(git)
+source=("git+$url#commit=813d6e7bbac0dbcbf464951ba6b070562737ed8d"
+        "py.patch::$url/commit/175bbd7e79278674b97b08145b13316cf42484ad.patch")
+sha256sums=('SKIP'
+            '8ba6a584d6fb13502501c9119fdb018bdc9e9d15c4baa59af2793f2c43cf4d35')
+
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/^v//;s/-alpha\./alpha/;s/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+  # Thanks Uffe Jakobsen: https://github.com/MightyCreak/diffuse/pull/27
+  sed -i 's|success_results)))|success_results).decode\("utf-8", errors="ignore")))|g' \
+    src/usr/bin/diffuse
+  # Thanks Derek Scherger: https://github.com/MightyCreak/diffuse/pull/24
+  patch -p1 -i "$srcdir/py.patch"
+}
+
+package() {
+  cd $pkgname
+  python install.py --prefix=/usr --destdir="$pkgdir"
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list