Date: Saturday, April 27, 2013 @ 09:47:54 Author: lcarlier Revision: 89136
Initial commit Added: kde-gtk-config/ kde-gtk-config/repos/ kde-gtk-config/trunk/ kde-gtk-config/trunk/PKGBUILD kde-gtk-config/trunk/kde-gtk-config.install ------------------------+ PKGBUILD | 35 +++++++++++++++++++++++++++++++++++ kde-gtk-config.install | 11 +++++++++++ 2 files changed, 46 insertions(+) Added: kde-gtk-config/trunk/PKGBUILD =================================================================== --- kde-gtk-config/trunk/PKGBUILD (rev 0) +++ kde-gtk-config/trunk/PKGBUILD 2013-04-27 07:47:54 UTC (rev 89136) @@ -0,0 +1,35 @@ +# $Id$ +# Contributor: birdflesh <antkoul at gmail dot com> + +pkgname=kde-gtk-config +pkgver=2.2.1 +pkgrel=1 +pkgdesc="GTK2 and GTK3 Configurator for KDE" +arch=('i686' 'x86_64') +url="https://projects.kde.org/kde-gtk-config" +license=('GPL3') +depends=('kdelibs') +makedepends=('cmake' 'automoc4' 'gtk2' 'gtk3') +optdepends=('gtk2: GTK+ v2 support' + 'gtk3: GTK+ v3 support') +source=("http://download.kde.org/stable/$pkgname/$pkgver/src/$pkgname-$pkgver.tar.xz") +md5sums=('d155ed431d509e54a60383a70b700e1c') +install=$pkgname.install + +build() { + cd "$srcdir" + + mkdir build && cd build + + cmake ../$pkgname-$pkgver \ + -DQT_QMAKE_EXECUTABLE=qmake-qt4 \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr + make +} + +package(){ + cd "$srcdir/build" + + make DESTDIR="$pkgdir" install +} Added: kde-gtk-config/trunk/kde-gtk-config.install =================================================================== --- kde-gtk-config/trunk/kde-gtk-config.install (rev 0) +++ kde-gtk-config/trunk/kde-gtk-config.install 2013-04-27 07:47:54 UTC (rev 89136) @@ -0,0 +1,11 @@ +post_install() { +xdg-icon-resource forceupdate --theme hicolor &> /dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} \ No newline at end of file