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

Jan Steffens heftig at archlinux.org
Tue Sep 27 07:18:55 UTC 2016


    Date: Tuesday, September 27, 2016 @ 07:18:54
  Author: heftig
Revision: 277009

3.22.1+4+gb235b6d-1

Modified:
  gnome-contacts/trunk/PKGBUILD

----------+
 PKGBUILD |   23 +++++++++++++++++------
 1 file changed, 17 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-09-27 07:11:23 UTC (rev 277008)
+++ PKGBUILD	2016-09-27 07:18:54 UTC (rev 277009)
@@ -3,7 +3,7 @@
 # Contributor: Ionut Biru <ibiru at archlinux.org>
 
 pkgname=gnome-contacts
-pkgver=3.20.0
+pkgver=3.22.1+4+gb235b6d
 pkgrel=1
 pkgdesc="Contacts Manager for GNOME"
 url="https://wiki.gnome.org/Apps/Contacts"
@@ -10,19 +10,30 @@
 arch=(i686 x86_64)
 license=(GPL2)
 depends=(gtk3 folks gnome-desktop dconf gnome-online-accounts libgee telepathy-glib cheese libchamplain)
-makedepends=(intltool vala gobject-introspection)
+makedepends=(vala gobject-introspection git)
 groups=(gnome)
-source=(http://download.gnome.org/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz)
-sha256sums=('bef88dc728aa7bb058c530fd936b262d96bbc17e73d640279842371bb3ad1588')
+_commit=b235b6d63eba6e528f3d428f34c49ed790a8f91f
+source=("git://git.gnome.org/gnome-contacts#commit=$_commit")
+sha256sums=('SKIP')
 
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+  NOCONFIGURE=1 ./autogen.sh
+}
+
 build() {
-  cd $pkgname-$pkgver
+  cd $pkgname
   ./configure --prefix=/usr --libexecdir=/usr/lib/$pkgname
   make
 }
 
 package() {
-  cd $pkgname-$pkgver
+  cd $pkgname
   make DESTDIR="$pkgdir" install
 }
 



More information about the arch-commits mailing list