updated on Mon Jan 16 12:07:49 UTC 2012
[aur-mirror.git] / ksimus / PKGBUILD
blob066fad7d29b53833329719d9876b6cc6c5fcf03e
1 # Contributor: thorsten w. <p@thorsten-wissmann.de>
2 pkgname=ksimus
3 pkgver=0.3.6
4 pkgrel=2
5 pkgdesc="KDE3 tool for simulation, automatization and visualization of technical processes."
6 arch=('i686' 'x86_64')
7 url="http://ksimus.berlios.de/"
8 license=('GPL')
9 depends=('kdelibs3')
10 makedepends=( )
11 backup=( )
12 source=( ftp://ftp.berlios.de/pub/ksimus/kde3/ksimus-3-$pkgver-2.tar.gz 
13          configure-disable-arts.patch 
14          fix-gcc44-static-template.patch
15          )
17 md5sums=('d990a4a71531c54229decef302358bd0'
18          '0bc7a40304d6e178684afc16fc1e314f'
19          '1eb234f921e77bbcfa1fcccc2389a2ad'
20         )
22 build() {
23   # patching configure file to disable arts
24   patch $srcdir/ksimus-$pkgver/configure configure-disable-arts.patch
25   cd $srcdir/ksimus-$pkgver || return 1
26   patch -p1 < $srcdir/fix-gcc44-static-template.patch || return 1
27   #CONFIGOPTIONS=(
28   #      --prefix=/opt
29   #      --with-qt-dir=/opt/qt
30   #       --with-qt-includes=/opt/qt/include/
31   #)
32   #./configure  ${CONFIGOPTIONS[@]} || return 1
33   # HAA ! i took the config-params from klogic :D
34       ./configure --without-arts --prefix=${startdir}/pkg/opt/kde/ --with-qt-dir=/opt/qt/ --with-qt-includes=/opt/qt/include/ --with-qt-libraries=/opt/qt/lib/ --with-extra-includes=/opt/kde/include/ --with-extra-libs=/opt/kde/lib/ --with-gnu-ld 
36   make || return 1
37   make install || return 1
38