1 # Maintainer: Bernhard Schuster "drahnr" <schuster[dot]bernhard[AT]gmail[dot]com>
6 pkgdesc="Schematic capture and circuit simulator"
8 url="https://gitorious.org/oregano"
10 depends=('libgnomeui' 'libgnomeprintui' 'gtksourceview')
16 git clone http://git.gitorious.org/oregano/oregano.git
17 cd ${startdir}/src/${pkgname}
19 # I don't know why this is here, it builds just fine
20 # sed -i 's|-I./src/engines|-I./src/engines -I/opt/gnome/include|' src/SConscript || return 1
21 # sed -i -e "s|#include <libgnomeprint/gnome-print.h>|#include <libgnomeprint/gnome-print.h>\n#include #<libgnomeprint/gnome-print-paper.h>|" src/print.c || return 1
23 scons RunUpdateMimeDatabase=no PREFIX=/usr DESTDIR=${startdir}/pkg/ install || return 1
25 install -d ${startdir}/pkg/usr/share/gnome/help/oregano/{C,es,fr}
26 install -m644 help/C/*.xml ${startdir}/pkg/usr/share/gnome/help/oregano/C
27 install -m644 help/es/*.xml ${startdir}/pkg/usr/share/gnome/help/oregano/es
28 install -m644 help/fr/*.xml ${startdir}/pkg/usr/share/gnome/help/oregano/fr
31 # install -d $startdir/pkg/usr/share/omf/oregano
32 # install -m644 help/C/*.omf $startdir/pkg/usr/share/omf/oregano
33 # install -m644 help/es/*.omf $startdir/pkg/usr/share/omf/oregano
34 # install -m644 help/fr/*.omf $startdir/pkg/usr/share/omf/oregano