updated on Mon Jan 16 20:00:43 UTC 2012
[aur-mirror.git] / ksimus-boolean / PKGBUILD
blobf6d12d3f28889b145aff2a45d07cb8657f8e7798
1 # Contributor: thorsten w. <p@thorsten-wissmann.de>
2 pkgname=ksimus-boolean
3 pkgver=0.3.6
4 pkgrel=0
5 pkgdesc="Boolean Functions for KSimus"
6 arch=('i686' 'x86_64')
7 url="http://ksimus.berlios.de/"
8 license=('GPL')
9 depends=('ksimus')
10 makedepends=( )
11 backup=( )
12          #fix-gcc44-static-template.patch
13 source=( ftp://ftp.berlios.de/pub/ksimus/kde3/ksimus-boolean-3-0.3.6.tar.gz
14          configure-disable-arts.patch 
15          )
17 md5sums=( ae3db75b13a947c8ebcc952326893f83
18           0bc7a40304d6e178684afc16fc1e314f
19          )
21 build() {
22   # patching configure file to disable arts
23   patch $srcdir/ksimus-boolean-$pkgver/configure configure-disable-arts.patch
24   cd $srcdir/ksimus-boolean-$pkgver || return 1
25   #patch -p1 < $srcdir/fix-gcc44-static-template.patch || return 1
26   #CONFIGOPTIONS=(
27   #      --prefix=/opt
28   #      --with-qt-dir=/opt/qt
29   #       --with-qt-includes=/opt/qt/include/
30   #)
31   #./configure  ${CONFIGOPTIONS[@]} || return 1
32   # HAA ! i took the config-params from klogic :D
33   ./configure --without-arts --prefix=${pkgdir}/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 --includedir=/opt/kde/include --exec-prefix=/opt/kde/ || return 1
35   make || return 1
36   # exec-prefix is different, when installing
37   make install exec_prefix=${pkgdir}/opt/kde || return 1
38