[arch-commits] Commit in meld/repos (3 files)

Jan Steffens heftig at archlinux.org
Wed Mar 30 18:17:57 UTC 2016


    Date: Wednesday, March 30, 2016 @ 20:17:57
  Author: heftig
Revision: 263367

archrelease: copy trunk to gnome-unstable-any

Added:
  meld/repos/gnome-unstable-any/
  meld/repos/gnome-unstable-any/PKGBUILD
    (from rev 263366, meld/trunk/PKGBUILD)
  meld/repos/gnome-unstable-any/meld.install
    (from rev 263366, meld/trunk/meld.install)

--------------+
 PKGBUILD     |   39 +++++++++++++++++++++++++++++++++++++++
 meld.install |   14 ++++++++++++++
 2 files changed, 53 insertions(+)

Copied: meld/repos/gnome-unstable-any/PKGBUILD (from rev 263366, meld/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-any/PKGBUILD	                        (rev 0)
+++ gnome-unstable-any/PKGBUILD	2016-03-30 18:17:57 UTC (rev 263367)
@@ -0,0 +1,39 @@
+# $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.15.2
+pkgrel=1
+pkgdesc='Visual diff and merge tool'
+url='http://meldmerge.org/'
+license=(GPL)
+arch=(any)
+makedepends=(intltool itstool)
+install=meld.install
+depends=(python2-gobject python2-cairo gtksourceview3 hicolor-icon-theme desktop-file-utils
+         gsettings-desktop-schemas)
+optdepends=('python2-dbus: open a new tab in an already running instance')
+source=("https://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-${pkgver}.tar.xz")
+sha1sums=('c5c34f52ebe337c654ad5e35450f43e95bdd7743')
+
+# Meld does not support Python 3. The build succeeds, but
+# the main executable checks the version and errors out.
+
+prepare() {
+  cd $pkgname-$pkgver
+}
+
+build() {
+  cd $pkgname-$pkgver
+  python2 setup.py build
+}
+
+package() {
+  cd $pkgname-$pkgver
+  # using --skip-build breaks install
+  python2 setup.py --no-update-icon-cache --no-compile-schemas \
+    install --prefix=/usr --root="$pkgdir" --optimize=1
+}

Copied: meld/repos/gnome-unstable-any/meld.install (from rev 263366, meld/trunk/meld.install)
===================================================================
--- gnome-unstable-any/meld.install	                        (rev 0)
+++ gnome-unstable-any/meld.install	2016-03-30 18:17:57 UTC (rev 263367)
@@ -0,0 +1,14 @@
+post_install() {
+  gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+  glib-compile-schemas usr/share/glib-2.0/schemas
+  update-desktop-database -q
+  update-mime-database usr/share/mime &> /dev/null
+}
+
+post_upgrade() {
+  post_install
+}
+
+post_remove() {
+  post_install
+}



More information about the arch-commits mailing list