# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $ # Maintainer: JJDaNiMoTh # Contributor: Angelo "Encelo" Theodorou pkgname=oregano pkgver=0.69.0 pkgrel=1 pkgdesc="Schematic capture and circuit simulator" arch=('i686' 'x86_64') url="https://gforge.lug.fi.uba.ar/projects/arrakis/" license=("GPL") depends=('libgnomeui' 'libgnomeprintui' 'gtksourceview') makedepends=('scons') install=oregano.install source=(https://gforge.lug.fi.uba.ar/frs/download.php/83/$pkgname-$pkgver.tar.bz2) md5sums=('ee83df59dce2e23a74d5bbc027b059d0') build() { cd $startdir/src/$pkgname-0.60.0 sed -i 's|-I./src/engines|-I./src/engines -I/opt/gnome/include|' src/SConscript || return 1 sed -i -e "s|#include |#include \n#include |" src/print.c || return 1 scons RunUpdateMimeDatabase=no PREFIX=/usr DESTDIR=$startdir/pkg/ install || return 1 install -d $startdir/pkg/usr/share/gnome/help/oregano/{C,es,fr} install -m644 help/C/*.xml $startdir/pkg/usr/share/gnome/help/oregano/C install -m644 help/es/*.xml $startdir/pkg/usr/share/gnome/help/oregano/es install -m644 help/fr/*.xml $startdir/pkg/usr/share/gnome/help/oregano/fr # Removed omf files. # install -d $startdir/pkg/usr/share/omf/oregano # install -m644 help/C/*.omf $startdir/pkg/usr/share/omf/oregano # install -m644 help/es/*.omf $startdir/pkg/usr/share/omf/oregano # install -m644 help/fr/*.omf $startdir/pkg/usr/share/omf/oregano }