[arch-commits] Commit in meld/repos (3 files)
Jan Steffens
heftig at archlinux.org
Sat May 30 03:13:42 UTC 2015
Date: Saturday, May 30, 2015 @ 05:13:42
Author: heftig
Revision: 239892
archrelease: copy trunk to testing-any
Added:
meld/repos/testing-any/
meld/repos/testing-any/PKGBUILD
(from rev 239891, meld/trunk/PKGBUILD)
meld/repos/testing-any/meld.install
(from rev 239891, meld/trunk/meld.install)
--------------+
PKGBUILD | 35 +++++++++++++++++++++++++++++++++++
meld.install | 14 ++++++++++++++
2 files changed, 49 insertions(+)
Copied: meld/repos/testing-any/PKGBUILD (from rev 239891, meld/trunk/PKGBUILD)
===================================================================
--- testing-any/PKGBUILD (rev 0)
+++ testing-any/PKGBUILD 2015-05-30 03:13:42 UTC (rev 239892)
@@ -0,0 +1,35 @@
+# $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.13.1
+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=("http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-${pkgver}.tar.xz")
+sha1sums=('81edb3eb089b3be85ad9975444c9da4aede23ced')
+
+# Meld does not support Python 3. The build succeeds, but
+# the main executable checks the version and errors out.
+
+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/testing-any/meld.install (from rev 239891, meld/trunk/meld.install)
===================================================================
--- testing-any/meld.install (rev 0)
+++ testing-any/meld.install 2015-05-30 03:13:42 UTC (rev 239892)
@@ -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