1 # $Id: pkgbuild-mode.el,v 1.23 2007/10/20 16:02:14 juergen Exp $
6 pkgdesc="Drawtool is a simple application that reads in simple vector geometry from stdin and displays it in a gtk window."
7 url="http://www.earth.li/projectpurple/progs/drawtool.html"
16 source=(http://www.earth.li/projectpurple/files/$pkgname-$pkgver.tar.gz
17 plot.patch macromenu.patch events.patch)
18 md5sums=('97ffd36c555d67f58fa50615afc28772'
19 '8b19e4319827612429034107f17a5d1a'
20 '9b5410f4ab034ecc541079d4531a5b8f'
21 'fe801de70bf8f9c6df41d93e718cd413')
23 cd $startdir/src/$pkgname-$pkgver
25 patch -p1 plot.c < $startdir/plot.patch
26 patch -p1 macromenu.c < $startdir/macromenu.patch
27 patch -p1 events.c < $startdir/events.patch
30 install -d $pkgdir/usr/bin $pkgdir/usr/share/drawtool/
31 install -t $pkgdir/usr/bin src/drawtool logo/logo
32 install -t $pkgdir/usr/share/drawtool sample.drawtoolrc
33 cp -a macros $pkgdir/usr/share/drawtool/
34 cp -a docs $pkgdir/usr/share/drawtool/
35 cp -a psdrawtool $pkgdir/usr/share/drawtool/
36 cp -a perltool $pkgdir/usr/share/drawtool/
37 cp -a utils $pkgdir/usr/share/drawtool/
38 cp -a svgdrawtool $pkgdir/usr/share/drawtool/