# Maintainer: CaptainShanks # Contributor: CaptainShanks pkgname=whyteboard pkgver=0.41 pkgrel=1 pkgdesc="A drawing program that supports annotation of pdf files. Also has rewinding feature and tabbed painting." arch=(i686 x86_64) license=('GPL') url="http://code.google.com/p/whyteboard/" depends=('python' 'wxpython') provides=() conflicts=() makedepends=() optdepends=('imagemagick: convert filetypes') source=(http://whyteboard.googlecode.com/files/$pkgname-$pkgver.tar.gz) noextract=() md5sums=('6bfa6318bd3d7c13965470255747609b') build() { mkdir -p ${startdir}/pkg/usr cd ${startdir}/pkg/usr mkdir -p bin lib/$pkgname share/doc/$pkgname share/applications cd ${startdir}/extras cp whyteboard.desktop ${startdir}/pkg/usr/share/applications cp whyteboard.png ${startdir}/pkg/usr/lib/$pkgname cd ${startdir}/src/whyteboard-$pkgver cp -r *.py $(find -maxdepth 1 -mindepth 1 -type d) ${startdir}/pkg/usr/lib/$pkgname cp *.txt ${startdir}/pkg/usr/share/doc/$pkgname cd ${startdir}/pkg/usr/bin ln -s ../lib/$pkgname/whyteboard.py whyteboard }