Pastebin is 300% more awesome when you are logged in. Sign Up, it's FREE!
Guest

v6ak

By: a guest on Sep 1st, 2010  |  syntax: None  |  size: 1.12 KB  |  hits: 80  |  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. # Maintainer: CaptainShanks <captainshanks@archlinux.us>
  2. # Contributor: CaptainShanks <captainshanks@archlinux.us>
  3.  
  4. pkgname=whyteboard
  5. pkgver=0.41
  6. pkgrel=1
  7. pkgdesc="A drawing program that supports annotation of pdf files. Also has rewinding feature and tabbed painting."
  8. arch=(i686 x86_64)
  9. license=('GPL')
  10. url="http://code.google.com/p/whyteboard/"
  11. depends=('python' 'wxpython')
  12. provides=()
  13. conflicts=()
  14. makedepends=()
  15. optdepends=('imagemagick: convert filetypes')
  16. source=(http://whyteboard.googlecode.com/files/$pkgname-$pkgver.tar.gz)
  17. noextract=()
  18. md5sums=('6bfa6318bd3d7c13965470255747609b')
  19.  
  20. build() {
  21.         mkdir -p ${startdir}/pkg/usr
  22.         cd ${startdir}/pkg/usr
  23.         mkdir -p bin lib/$pkgname share/doc/$pkgname share/applications
  24.         cd ${startdir}/extras
  25.         cp whyteboard.desktop ${startdir}/pkg/usr/share/applications
  26.         cp whyteboard.png ${startdir}/pkg/usr/lib/$pkgname
  27.         cd ${startdir}/src/whyteboard-$pkgver
  28.         cp -r *.py $(find -maxdepth 1 -mindepth 1 -type d) ${startdir}/pkg/usr/lib/$pkgname
  29.         cp *.txt ${startdir}/pkg/usr/share/doc/$pkgname
  30.         cd ${startdir}/pkg/usr/bin
  31.         ln -s ../lib/$pkgname/whyteboard.py whyteboard
  32. }