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

Jan Steffens heftig at archlinux.org
Tue Sep 27 18:48:02 UTC 2016


    Date: Tuesday, September 27, 2016 @ 18:48:02
  Author: heftig
Revision: 277105

0.11.3-1

Modified:
  folks/trunk/PKGBUILD

----------+
 PKGBUILD |   26 ++++++++++++++++++--------
 1 file changed, 18 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-09-27 18:45:42 UTC (rev 277104)
+++ PKGBUILD	2016-09-27 18:48:02 UTC (rev 277105)
@@ -2,20 +2,30 @@
 # Maintainer: Ionut Biru <ibiru at archlinux.org>
 
 pkgname=folks
-pkgver=0.11.2
-pkgrel=2
+pkgver=0.11.3
+pkgrel=1
 pkgdesc="Library to aggregates people into metacontacts"
 arch=(i686 x86_64)
 url="https://wiki.gnome.org/Projects/Folks"
 license=(LGPL2.1)
 depends=(telepathy-glib libgee libxml2 evolution-data-server zeitgeist)
-makedepends=(gobject-introspection intltool vala)
-options=('!emptydirs')
-source=(http://download.gnome.org/sources/$pkgname/${pkgver:0:4}/$pkgname-${pkgver}.tar.xz)
-sha256sums=('35a80a40e0cf68d5e86eff2ad55320f17427f66377c453ba5a1dbbd71755a1b8')
+makedepends=(gobject-introspection intltool vala git)
+_commit=6d1d4ed7e96564ee13ab0a7db71e9da0e766d51a
+source=("git://git.gnome.org/folks#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 --disable-schemas-compile \
     --disable-libsocialweb-backend --disable-fatal-warnings
@@ -27,7 +37,7 @@
 }
 
 package() {
-  cd $pkgname-$pkgver
+  cd $pkgname
   make DESTDIR="$pkgdir" install
 }
 



More information about the arch-commits mailing list