summaryrefslogtreecommitdiff
path: root/extra/gtk-qt-engine/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/gtk-qt-engine/PKGBUILD')
-rw-r--r--extra/gtk-qt-engine/PKGBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/extra/gtk-qt-engine/PKGBUILD b/extra/gtk-qt-engine/PKGBUILD
new file mode 100644
index 000000000..81cd26667
--- /dev/null
+++ b/extra/gtk-qt-engine/PKGBUILD
@@ -0,0 +1,26 @@
+# $Id: PKGBUILD 67433 2010-02-07 00:15:22Z giovanni $
+# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
+# Contributor: Jake VanderKolk <jakevanderkolk@gmail.com>
+
+pkgname=gtk-qt-engine
+pkgver=1.1
+pkgrel=2
+pkgdesc="A GTK engine which makes your GTK2 Apps match your QT theme"
+arch=('i686' 'x86_64')
+license=('GPL')
+url="http://code.google.com/p/gtk-qt-engine/"
+depends=('libbonoboui' 'kdelibs')
+makedepends=('cmake>=2.4.7' 'automoc4' 'pkgconfig')
+source=(http://gtk-qt-engine.googlecode.com/files/${pkgname}-${pkgver}.tar.bz2)
+md5sums=('de8048baef7dfe6c97cd97c463d66152')
+
+build() {
+ cd "${srcdir}/${pkgname}"
+
+ cmake . -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_SKIP_RPATH=ON \
+ -DCMAKE_{SHARED,MODULE,EXE}_LINKER_FLAGS='-Wl,--no-undefined -Wl,--as-needed' \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make || return 1
+ make DESTDIR="${pkgdir}" install || return 1
+}