Date: Monday, September 19, 2016 @ 13:19:56
  Author: jgc
Revision: 276704

upgpkg: at-spi2-core 2.21.4+4+ga782d62-1

Modified:
  at-spi2-core/trunk/PKGBUILD

----------+
 PKGBUILD |   28 ++++++++++++++++++----------
 1 file changed, 18 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2016-09-19 13:01:39 UTC (rev 276703)
+++ PKGBUILD    2016-09-19 13:19:56 UTC (rev 276704)
@@ -2,7 +2,7 @@
 # Maintainer: Ionut Biru <ib...@archlinux.org>
 
 pkgname=at-spi2-core
-pkgver=2.20.2
+pkgver=2.21.4+4+ga782d62
 pkgrel=1
 pkgdesc="Protocol definitions and daemon for D-Bus at-spi"
 arch=('i686' 'x86_64')
@@ -9,23 +9,31 @@
 url="http://www.gnome.org";
 license=('GPL2')
 depends=('dbus' 'glib2' 'libxtst')
-makedepends=('intltool' 'gobject-introspection')
-source=(http://download.gnome.org/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz)
-sha256sums=('88a4de9d43139f13cca531b47b901bc1b56e0ab06ba899126644abd4ac16a143')
+makedepends=('intltool' 'gobject-introspection' 'git' 'gtk-doc')
+_commit=a782d62957173c7b7d00348ff272509d44019526
+source=("git://git.gnome.org/at-spi2-core#commit=$_commit")
+sha256sums=('SKIP')
 
-build() {
-  cd $pkgname-$pkgver
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed -e 's/AT_SPI2_CORE_//' -e 's/_/\./g' -e 's/-/+/g'
+}
 
+prepare() {
+  cd $pkgname
   sed -i -e '/AC_PATH_XTRA/d' configure.ac
-  autoreconf --force --install
-
+  NOCONFIGURE=1 ./autogen.sh
+}
+  
+build() {
+  cd $pkgname
   ./configure --prefix=/usr --sysconfdir=/etc \
-    --libexecdir=/usr/lib/at-spi2-core --disable-xevie
+    --libexecdir=/usr/lib/at-spi2-core --disable-xevie --enable-gtk-doc
   make
 }
 
 package() {
-  cd $pkgname-$pkgver
+  cd $pkgname
   make DESTDIR="$pkgdir" install
 }
 

Reply via email to