Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

accerciser 3.3.1-1 PKGBUILD

By: a guest on Dec 3rd, 2011  |  syntax: Bash  |  size: 1.23 KB  |  views: 36  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. pkgname=accerciser
  2. pkgver=3.3.1
  3. pkgrel=1
  4. pkgdesc="Interactive Python accessibility explorer for the GNOME desktop"
  5. arch=('any')
  6. url="http://live.gnome.org/Accerciser"
  7. license=('BSD')
  8. depends=('gtk3>=3.1.13'
  9.          'python2-gobject>=2.90.3'
  10.          'python2>=2.4'
  11.          'pygtk>=2.8'
  12.          'ipython2'
  13.          'glib2>=2.10'
  14.          'at-spi2-core>=2.1.5'
  15.          'pyatspi>=1.9.0'
  16.          'dconf'
  17.          'hicolor-icon-theme')
  18. makedepends=('gnome-doc-utils' 'intltool' 'gobject-introspection')
  19. install=accerciser.install
  20. source=(http://ftp.gnome.org/pub/GNOME/sources/accerciser/${pkgver%.*}/$pkgname-$pkgver.tar.xz)
  21. sha256sums=('0abc560d243430b0a3f4ad0fbeab1e2ce0c7329d3406f9c395eed843d1238c70')
  22.  
  23. build () {
  24.   cd "$srcdir/$pkgname-$pkgver"
  25.  
  26.   # Change hard coded references of python to python2
  27.   sed -i -e 's|env python|env python2|' src/accerciser.in
  28.   sed -i -e 's|bin/python|bin/python2|' plugins/*.py
  29.  
  30.   PYTHON=python2 ./configure --prefix=/usr --sysconfdir=/etc \
  31.                 --disable-schemas-compile
  32.   make
  33. }
  34.  
  35. package() {
  36.   cd "$srcdir/$pkgname-$pkgver"
  37.  
  38.   make DESTDIR="${pkgdir}" install
  39.   install -m 755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
  40.   install -m 644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}"
  41. }
  42.  
  43.