[arch-commits] Commit in meld/trunk (PKGBUILD)

Jan Steffens heftig at archlinux.org
Mon Sep 26 21:23:22 UTC 2016


    Date: Monday, September 26, 2016 @ 21:23:22
  Author: heftig
Revision: 276997

3.16.3-1

Modified:
  meld/trunk/PKGBUILD

----------+
 PKGBUILD |   22 ++++++++++++++--------
 1 file changed, 14 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-09-26 21:17:39 UTC (rev 276996)
+++ PKGBUILD	2016-09-26 21:23:22 UTC (rev 276997)
@@ -5,32 +5,38 @@
 # Contributor: Douglas Soares de Andrade <douglas at archlinux.org>
 
 pkgname=meld
-pkgver=3.16.2
+pkgver=3.16.3
 pkgrel=1
 pkgdesc='Visual diff and merge tool'
 url='http://meldmerge.org/'
 license=(GPL)
 arch=(any)
-makedepends=(intltool itstool)
-depends=(python2-gobject python2-cairo gtksourceview3 gsettings-desktop-schemas)
+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')
-source=("https://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-${pkgver}.tar.xz")
-sha1sums=('a309cb6416cc1cc67cc29bea2da8d81b7bd84f2e')
+_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-$pkgver
+  cd $pkgname
 }
 
 build() {
-  cd $pkgname-$pkgver
+  cd $pkgname
   python2 setup.py build
 }
 
 package() {
-  cd $pkgname-$pkgver
+  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