Date: Monday, September 19, 2016 @ 12:29:35
  Author: jgc
Revision: 276699

upgpkg: atk 2.21.90+3+g72c7544-1

Modified:
  atk/trunk/PKGBUILD

----------+
 PKGBUILD |   24 +++++++++++++++++-------
 1 file changed, 17 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2016-09-19 12:07:22 UTC (rev 276698)
+++ PKGBUILD    2016-09-19 12:29:35 UTC (rev 276699)
@@ -2,24 +2,34 @@
 # Maintainer: Jan de Groot <j...@archlinux.org>
 
 pkgname=atk
-pkgver=2.20.0
+pkgver=2.21.90+3+g72c7544
 pkgrel=1
 pkgdesc="A library providing a set of interfaces for accessibility"
 arch=(i686 x86_64)
 license=('LGPL')
 depends=('glib2')
-makedepends=('gobject-introspection')
-source=(https://download.gnome.org/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz)
+makedepends=('gobject-introspection' 'git' 'gtk-doc')
 url='https://developer.gnome.org/atk/'
-sha256sums=('493a50f6c4a025f588d380a551ec277e070b28a82e63ef8e3c06b3ee7c1238f0')
+_commit=72c7544a5dd95f798ab655df230ffa8101247f7e
+source=("git://git.gnome.org/atk#commit=$_commit")
+sha256sums=('SKIP')
 
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed -e 's/ATK_//' -e 's/_/\./g' -e 's/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+  NOCONFIGURE=1 ./autogen.sh
+}
 build() {
-  cd "$pkgname-$pkgver"
-  ./configure --prefix=/usr
+  cd $pkgname
+  ./configure --prefix=/usr --enable-gtk-doc
   make
 }
 
 package() {
-  cd "$pkgname-$pkgver"
+  cd $pkgname
   make DESTDIR="$pkgdir" install
 }

Reply via email to