Skip to content

Instantly share code, notes, and snippets.

@lubosz
Created June 28, 2013 14:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lubosz/5885248 to your computer and use it in GitHub Desktop.
Save lubosz/5885248 to your computer and use it in GitHub Desktop.
working atk-git PKGBUILD
# Maintainer: polterge|st
# Contributor: Lubosz Sarnecki <lubosz@gmail.com>
pkgname=atk-git
pkgver=2.9.3.b2edff1
pkgrel=1
pkgdesc="A library providing a set of interfaces for accessibility. Git version."
arch=("i686" "x86_64")
url="http://www.gnome.org"
license=('LGPL')
depends=('glib2')
makedepends=('gobject-introspection' 'gnome-common-git')
options=('!libtool')
provides=('atk')
conflicts=('atk')
_gitname="atk"
source=('git://git.gnome.org/atk')
md5sums=('SKIP')
pkgver() {
cd $_gitname
echo $(git describe --always | sed 's/ATK_//g' | sed 's/_/./g').$(git log --pretty=format:'%h' -n 1)
}
build() {
cd $_gitname
sed -i -e '/AC_PATH_XTRA/d' configure.ac
# autoreconf --force --install
./autogen.sh --prefix=/usr --sysconfdir=/etc \
--disable-schemas-compile
make
}
package() {
cd $_gitname
make DESTDIR="${pkgdir}" install
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment