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

Jan de Groot jgc at archlinux.org
Wed Aug 31 09:30:40 UTC 2016


    Date: Wednesday, August 31, 2016 @ 09:30:39
  Author: jgc
Revision: 275597

upgpkg: gnome-online-accounts 3.20.3+5+gc098f5d-1

Update to git snapshot, fixes a memory leak (FS#50589?)

Modified:
  gnome-online-accounts/trunk/PKGBUILD

----------+
 PKGBUILD |   26 +++++++++++++++++++-------
 1 file changed, 19 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-08-31 08:48:43 UTC (rev 275596)
+++ PKGBUILD	2016-08-31 09:30:39 UTC (rev 275597)
@@ -2,21 +2,33 @@
 # Maintainer: Ionut Biru <ibiru at archlinux.org>
 
 pkgname=gnome-online-accounts
-pkgver=3.20.3
-pkgrel=2
+pkgver=3.20.3+5+gc098f5d
+pkgrel=1
 pkgdesc="Single sign-on framework for GNOME"
 url="https://wiki.gnome.org/Projects/GnomeOnlineAccounts"
 arch=(i686 x86_64)
 license=(LGPL)
 depends=(webkit2gtk json-glib libnotify rest libsecret telepathy-glib krb5 gcr)
-makedepends=(intltool gobject-introspection gtk-doc vala)
+makedepends=(intltool gobject-introspection gtk-doc vala git gnome-common)
 optdepends=('gvfs-goa: Virtual file systems (e.g. OwnCloud)'
             'gvfs-google: Google Drive')
-source=(https://download.gnome.org/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz)
-sha256sums=('094fc04cf3e0b4ace667fce3b5bdcca5093e0c93f9184439e663c69546c1e046')
+_commit=c098f5d796441e4d7f07edc18f95296069c607f6
+source=("git://git.gnome.org/gnome-online-accounts#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 \
@@ -33,7 +45,7 @@
 }
 
 package() {
-  cd $pkgname-$pkgver
+  cd $pkgname
   make DESTDIR="$pkgdir" install
 }
 



More information about the arch-commits mailing list