PKGBUILDs/extra/qtcurve-kde3/PKGBUILD

36 lines
970 B
Bash
Raw Normal View History

2009-10-10 02:23:22 +00:00
# $Id: PKGBUILD,v 1.43 2008/07/14 01:06:07 Pierre Exp $
# Maintainer: Pierre Schmitz <pierre@archlinux.de>
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
}