Created
June 28, 2013 14:48
-
-
Save lubosz/5885248 to your computer and use it in GitHub Desktop.
working atk-git PKGBUILD
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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