updated on Mon Jan 16 00:01:41 UTC 2012
[aur-mirror.git] / mtaskbar / PKGBUILD
blob8fdeddb91803b55d038772c80c92f1b41756051f
1 # Contributor: Douglas Soares de Andrade <dsandrade@gmail.com>
2 # Contributor: failure <ljofre@gmail.com>
4 pkgname=mtaskbar
5 pkgver=0.7
6 pkgrel=1
7 pkgdesc="A modified TaskBar for the KDE 3.4 kicker panel which supports thumbnail images of application windows"
8 arch=('i686' 'x86_64')
9 url="http://www.uni-weimar.de/~wolff3/index_taskbar.html"
10 license=('GPL')
11 depends=('x-server' 'kdelibs3')
12 options=('libtool')
13 source=(http://www.uni-weimar.de/~wolff3/kdelook/$pkgname-$pkgver.tar.bz2 mtaskbar-gcc4.patch mtaskbar-desktop.patch)
14 md5sums=('53fdd1b7cd97b3f66c68d2de9d507914' 'be529ce0fcd7c946140f3aec84471a65'\
15          '8d2f41507ec8d5395031bb7ecc8a75fd')
17 build() {
18         . /etc/profile.d/qt.sh
19         export PATH=$QTDIR/bin:$PATH
20         # Using the patches to make it work against gcc>=4. Thanks gentoo
21         # people for the patches ! :o)
22         patch -Np0 < ../mtaskbar-gcc4.patch
23         patch -Np0 < ../mtaskbar-desktop.patch
24         
25         cd $startdir/src/$pkgname-$pkgver/mtaskbar
26         ./configure --prefix=/opt/kde
27         make || return 1
28         make DESTDIR=$startdir/pkg install
29