diff options
author | root <root@rshg054.dnsready.net> | 2013-04-28 01:12:25 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-04-28 01:12:25 -0700 |
commit | f38edbff3878008c8b2ae1ca8a496c349763017b (patch) | |
tree | 4f9ff6891842a0a6dcd9c0c8424ec8f16527e023 /community/kde-gtk-config | |
parent | a27a6af53095da314eca1d33911f72775dfc2bce (diff) |
Sun Apr 28 01:11:42 PDT 2013
Diffstat (limited to 'community/kde-gtk-config')
-rw-r--r-- | community/kde-gtk-config/PKGBUILD | 36 | ||||
-rw-r--r-- | community/kde-gtk-config/kde-gtk-config.install | 11 |
2 files changed, 47 insertions, 0 deletions
diff --git a/community/kde-gtk-config/PKGBUILD b/community/kde-gtk-config/PKGBUILD new file mode 100644 index 000000000..88840a813 --- /dev/null +++ b/community/kde-gtk-config/PKGBUILD @@ -0,0 +1,36 @@ +# $Id: PKGBUILD 89140 2013-04-27 07:58:51Z lcarlier $ +# Maintainer: Laurent Carlier <lordheavym@gmail.com> +# 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 -p 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 +} diff --git a/community/kde-gtk-config/kde-gtk-config.install b/community/kde-gtk-config/kde-gtk-config.install new file mode 100644 index 000000000..6905e303e --- /dev/null +++ b/community/kde-gtk-config/kde-gtk-config.install @@ -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 |