# $Id: PKGBUILD,v 1.43 2008/07/14 01:06:07 Pierre Exp $ # Maintainer: Pierre Schmitz pkgname=qtcurve-kde3 pkgver=0.68.1 pkgrel=1 arch=('i686' 'x86_64') groups=('qtcurve') license='GPL' pkgdesc='A configurable set of widget styles for KDE and Gtk' source=("http://home.freeuk.com/cpdrummond/QtCurve-KDE3-${pkgver}.tar.bz2" 'kdeglobals') url='http://www.kde-look.org/content/show.php?content=40492' depends=('kdelibs3') makedepends=('cmake') md5sums=('2451c8e624f8e07bfaf5584f4208c9d7' '05a6294c7f0e239e698e7e5224fc8e7f') build() { . /etc/profile.d/qt3.sh . /etc/profile.d/kde3.sh cd $srcdir mkdir build cd build cmake ../QtCurve-KDE3-${pkgver} \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/opt/kde make make DESTDIR=$pkgdir install # remove kcontrol plugins rm -f $pkgdir/opt/kde/lib/kde3/kstyle_qtcurve_config.* # set default theme install -D -m644 $srcdir/kdeglobals $pkgdir/opt/kde/share/config/kdeglobals }