spacepaste

  1.  
  2. # Maintainer: polterge|st
  3. pkgname=atk-git
  4. pkgver=2_8_0.2.g9af9e6e
  5. pkgrel=1
  6. pkgdesc="git version of atk"
  7. arch=('i686' 'x86_64')
  8. url="http://www.gnome.org"
  9. license=('LGPL')
  10. depends=('glib2-git')
  11. makedepends=('gobject-introspection' 'gnome-common-git')
  12. options=('!libtool')
  13. provides=('atk')
  14. conflicts=('atk')
  15. source=('git://git.gnome.org/atk')
  16. md5sums=('SKIP')
  17. _gitname="atk"
  18. pkgver() {
  19. cd "$srcdir/$_gitname"
  20. git describe --always | sed 's|-|.|g' | cut -c5-
  21. }
  22. prepare() {
  23. cd "$srcdir/$_gitname"
  24. sed -i -e '/AC_PATH_XTRA/d' configure.ac
  25. }
  26. build() {
  27. cd "${srcdir}/${_gitname}"
  28. ./autogen.sh --prefix=/usr --sysconfdir=/etc \
  29. --disable-schemas-compile
  30. make
  31. }
  32. package() {
  33. cd "${srcdir}/${_gitname}-build"
  34. make DESTDIR="${pkgdir}" install
  35. }
  36.