updated on Fri Jan 13 04:01:25 UTC 2012
[aur-mirror.git] / kbfx / PKGBUILD
blob44eebe3ff81f379a08fa5ca83bb7eba1a535a5b4
1 # Contributor: Darwin Bautista <djclue917@gmail.com>
3 pkgname=kbfx
4 pkgver=0.4.9.3.1
5 pkgrel=2
6 pkgdesc="An alternative to the classical K Menu button and menu"
7 arch=('i686' 'x86_64')
8 url="http://www.kbfx.net/staticpages/index.php?page=20060224122953187"
9 license=('GPL')
10 depends=('kdelibs>=3.5.7' 'strigi=0.3.11')
11 makedepends=('cmake')
12 conflicts=('kbfx-devel' 'kbfx-cvs')
13 options=(libtool)
14 install=kbfx.install
15 source=(http://downloads.sourceforge.net/sourceforge/kbfx/kbfx-${pkgver}.tar.bz2)
16 md5sums=('47bb5328a3f6dd2cc3f21279b9d0435c')
18 build() {
19   cd ${startdir}/src/kbfx-${pkgver}/
21   # Source the KDE and QT profiles
22   [ -f /etc/profile.d/kde.sh ] && source /etc/profile.d/kde.sh
23   [ -f /etc/profile.d/qt.sh ] && source /etc/profile.d/qt.sh
25   cmake -DCMAKE_INSTALL_PREFIX=/opt/kde -DLIB_INSTALL_DIR=/opt/kde/lib \
26     -DCMAKE_BUILD_TYPE=Release -DUSE_STRIGI=ON -DUSE_MENUDRAKE=OFF -DUSE_KDE4=OFF
28   make || return 1
29   make DESTDIR=${startdir}/pkg install