# Maintainer: polterge|st pkgname=atk-git pkgver=2_8_0.2.g9af9e6e pkgrel=1 pkgdesc="git version of atk" arch=('i686' 'x86_64') url="http://www.gnome.org" license=('LGPL') depends=('glib2-git') makedepends=('gobject-introspection' 'gnome-common-git') options=('!libtool') provides=('atk') conflicts=('atk') source=('git://git.gnome.org/atk') md5sums=('SKIP') _gitname="atk" pkgver() { cd "$srcdir/$_gitname" git describe --always | sed 's|-|.|g' | cut -c5- } prepare() { cd "$srcdir/$_gitname" sed -i -e '/AC_PATH_XTRA/d' configure.ac } build() { cd "${srcdir}/${_gitname}" ./autogen.sh --prefix=/usr --sysconfdir=/etc \ --disable-schemas-compile make } package() { cd "${srcdir}/${_gitname}-build" make DESTDIR="${pkgdir}" install }