Date: Wednesday, September 28, 2016 @ 12:12:15 Author: jgc Revision: 277244
upgpkg: empathy 3.12.12+35+g8311b76-1 Modified: empathy/trunk/PKGBUILD ----------+ PKGBUILD | 25 ++++++++++++++++++------- 1 file changed, 18 insertions(+), 7 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2016-09-28 11:33:28 UTC (rev 277243) +++ PKGBUILD 2016-09-28 12:12:15 UTC (rev 277244) @@ -2,16 +2,16 @@ # Maintainer: Ionut Biru <ib...@archlinux.org> pkgname=empathy -pkgver=3.12.12 +pkgver=3.12.12+35+g8311b76 pkgrel=1 pkgdesc="A GNOME instant messaging client using the Telepathy framework" url="https://wiki.gnome.org/Apps/Empathy" arch=(i686 x86_64) license=(GPL2) -depends=(clutter-gst2 clutter-gtk folks gcr iso-codes libcanberra libpulse webkitgtk +depends=(clutter-gst clutter-gtk folks gcr iso-codes libcanberra libpulse webkitgtk telepathy-farstream telepathy-glib telepathy-logger telepathy-mission-control geoclue2 geocode-glib cheese libchamplain libgudev) -makedepends=(intltool itstool docbook-xsl python python2) +makedepends=(intltool itstool docbook-xsl python python2 gnome-common git) optdepends=('telepathy-gabble: XMPP/Jabber support' 'telepathy-idle: IRC support' 'telepathy-salut: Link-local XMPP support' @@ -19,11 +19,22 @@ 'telepathy-haze: libpurple support') options=(!makeflags) groups=(gnome) -source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz) -sha256sums=('dda22adf38772d85cd7ff611bcc1a036a6b8625bc7d146c95d4bfcdbc3ecf7cb') +_commit=8311b765895d092c178ba81a36dd3956503ef351 # master +source=("git://git.gnome.org/empathy#commit=$_commit") +sha256sums=('SKIP') +pkgver() { + cd $pkgname + git describe --tags | sed 's/^EMPATHY_//;s/_/./g;s/-/+/g' +} + +prepare() { + cd $pkgname + NOCONFIGURE=1 ./autogen.sh +} + build() { - cd $pkgname-$pkgver + cd $pkgname PYTHON=/usr/bin/python2 ./configure --prefix=/usr \ --sysconfdir=/etc \ --libexecdir=/usr/lib/empathy \ @@ -33,6 +44,6 @@ } package() { - cd $pkgname-$pkgver + cd $pkgname make DESTDIR="$pkgdir" install }