Finally add the new KCM from KDE

This commit is contained in:
Manuel 2012-11-23 19:56:27 +00:00
parent dff463c26f
commit a540c6b142
2 changed files with 47 additions and 0 deletions

36
kde-gtk-config/PKGBUILD Normal file
View File

@ -0,0 +1,36 @@
# KDE Packages for Chakra
#
# maintainer: Manuel tortosa <manutortosa@chakra-project.org>
pkgname=kde-gtk-config
pkgver=2.1.1
pkgrel=1
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')
source=("ftp://ftp.kde.org/pub/kde/stable/$pkgname/$pkgver/src/$pkgname-$pkgver.tar.bz2")
install=$pkgname.install
md5sums=('7b211c59c46293de8baaf3d74156d64c')
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
}

View File

@ -0,0 +1,11 @@
post_install() {
xdg-icon-resource forceupdate --theme hicolor &> /dev/null
}
post_upgrade() {
post_install
}
post_remove() {
post_install
}