mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
32 lines
1.5 KiB
Bash
32 lines
1.5 KiB
Bash
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
|
|
# Maintainer: JJDaNiMoTh <jjdanimoth.aur@gmail.com>
|
|
# Contributor: Angelo "Encelo" Theodorou <encelo@users.sourceforge.net>
|
|
|
|
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 <libgnomeprint/gnome-print.h>|#include <libgnomeprint/gnome-print.h>\n#include <libgnomeprint/gnome-print-paper.h>|" 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
|
|
}
|