[arch-commits] Commit in meld/repos (gnome-unstable-any gnome-unstable-any/PKGBUILD)
Jan Steffens
heftig at archlinux.org
Mon Sep 26 21:23:52 UTC 2016
Date: Monday, September 26, 2016 @ 21:23:52
Author: heftig
Revision: 276998
archrelease: copy trunk to gnome-unstable-any
Added:
meld/repos/gnome-unstable-any/
meld/repos/gnome-unstable-any/PKGBUILD
(from rev 276997, meld/trunk/PKGBUILD)
----------+
PKGBUILD | 43 +++++++++++++++++++++++++++++++++++++++++++
1 file changed, 43 insertions(+)
Copied: meld/repos/gnome-unstable-any/PKGBUILD (from rev 276997, meld/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-any/PKGBUILD (rev 0)
+++ gnome-unstable-any/PKGBUILD 2016-09-26 21:23:52 UTC (rev 276998)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: Gaetan Bisson <bisson at archlinux.org>
+# Contributor: Daniel J Griffiths <ghost1227 at archlinux.us>
+# Contributor: Douglas Soares de Andrade <douglas at archlinux.org>
+
+pkgname=meld
+pkgver=3.16.3
+pkgrel=1
+pkgdesc='Visual diff and merge tool'
+url='http://meldmerge.org/'
+license=(GPL)
+arch=(any)
+depends=(python2-gobject python2-cairo gtksourceview3 gsettings-desktop-schemas dconf)
+makedepends=(intltool itstool git)
+optdepends=('python2-dbus: open a new tab in an already running instance')
+_commit=381469c0f8e6ab2680dcaf01daa0d426495a6a19
+source=("git://git.gnome.org/meld#commit=$_commit")
+sha1sums=('SKIP')
+
+# Meld does not support Python 3. The build succeeds, but
+# the main executable checks the version and errors out.
+
+pkgver() {
+ cd $pkgname
+ git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+ cd $pkgname
+}
+
+build() {
+ cd $pkgname
+ python2 setup.py build
+}
+
+package() {
+ cd $pkgname
+ # using --skip-build breaks install
+ python2 setup.py --no-update-icon-cache --no-compile-schemas \
+ install --prefix=/usr --root="$pkgdir" --optimize=1
+}
More information about the arch-commits
mailing list