desktop/kde-gtk-config/PKGBUILD
totte 961cfc61e8 Merge branch 'unstable' into testing
Conflicts:
	apper/PKGBUILD
	avogadro/PKGBUILD
	calligra-l10n/PKGBUILD
	calligra/PKGBUILD
	digikam/PKGBUILD
	freerdp/PKGBUILD
	kapudan/PKGBUILD
	kde-baseapps-konsole/PKGBUILD
	kde-gtk-config/PKGBUILD
	kde-l10n/PKGBUILD
	kde-plasma-themes/PKGBUILD
	kde-runtime/PKGBUILD
	kde-sc.md5
	kde-workspace/PKGBUILD
	kdeedu-kalzium/PKGBUILD
	kdegames-kigo/PKGBUILD
	kdegames-libkdegames/PKGBUILD
	kdemultimedia-thumbnailers/PKGBUILD
	kdenetwork-kopete/PKGBUILD
	kdenetwork-kopete/kdenetwork.install
	kdepimlibs/PKGBUILD
	kdeplasma-applets-networkmanagement/PKGBUILD
	kdeplasma-applets-plasma-nm/PKGBUILD
	kdeutils-ark/PKGBUILD
	kdewebdev/PKGBUILD
	kscreen/PKGBUILD
	libkscreen/PKGBUILD
	libxklavier/PKGBUILD
	nepomuk-core/PKGBUILD
	partitionmanager/PKGBUILD
	support-pkg-meanwhile/PKGBUILD
	system-config-printer/PKGBUILD
	tools-pkg-akabeiclient/PKGBUILD
	tools-pkg-akabeicore/PKGBUILD
	tribe-partitionmanager/PKGBUILD
	tribe/PKGBUILD
	xscreensaver/PKGBUILD
2014-03-10 12:40:09 +01:00

45 lines
1.2 KiB
Bash

# Maintainer: Manuel tortosa <manutortosa@chakra-project.org>
pkgname=kde-gtk-config
pkgver=2.2.1
pkgrel=3
pkgdesc="A KCM for Configuring the GTK2 and GTK3 look&feel"
arch=('x86_64')
url="https://projects.kde.org/projects/kdereview/kde-gtk-config"
license=('GPL')
depends=('kde-runtime')
makedepends=('cmake' 'automoc4' 'gtk2' 'gtk3')
optdepends=('gtk2: GTK+ v2 support'
'gtk3: GTK+ v3 support')
conflicts=('kde-gtk-config-git' 'chakra-gtk-config' 'chakra-gtk-config-git')
provides=('chakra-gtk-config')
replaces=('chakra-gtk-config')
groups=('gtk-integration')
source=("http://download.kde.org/stable/$pkgname/$pkgver/src/$pkgname-$pkgver.tar.xz"
appearancegtk_consistent_fix.patch)
install=$pkgname.install
md5sums=('d155ed431d509e54a60383a70b700e1c'
'd843bdd4fb14621d4b79e709446c2f1f')
prepare(){
cd $pkgbase-$pkgver
# fix: Be consistent regarding the loading and saving of the boolean properties
patch -Np1 -i ${srcdir}/appearancegtk_consistent_fix.patch
}
build() {
cd "$srcdir"
mkdir build
cd build
cmake ../$pkgname-$pkgver \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
make
}
package(){
cd "$srcdir/build"
make DESTDIR="$pkgdir" install
}