summaryrefslogtreecommitdiffstats
path: root/qgtkstyle-svn/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'qgtkstyle-svn/PKGBUILD')
-rw-r--r--qgtkstyle-svn/PKGBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/qgtkstyle-svn/PKGBUILD b/qgtkstyle-svn/PKGBUILD
new file mode 100644
index 0000000..facd994
--- /dev/null
+++ b/qgtkstyle-svn/PKGBUILD
@@ -0,0 +1,35 @@
+# Contributor: simo91 <simo91.linux@gmail.com>
+# Maintainer: Cristian Maureira <saint@archlinux.cl>
+
+pkgname=qgtkstyle-svn
+pkgver=898
+pkgrel=1
+pkgdesc="An engine to create a GTK+ layer for Qt-based applications."
+arch=('i686' 'x86_64')
+url="http://labs.trolltech.com/page/Projects/Styles/GtkStyle"
+license=('GPL3')
+conflicts=('gtk-qt-engine')
+depends=('qt>=4.4.0' 'gconf')
+makedepends=('subversion')
+source=()
+md5sums=()
+install=qgtkstyle.install
+
+_svntrunk=svn://labs.trolltech.com/svn/styles/gtkstyle
+_svnmod=qgtkstyle
+
+build() {
+ cd "$srcdir"
+ if [ -d $_svnmod/.svn ]; then
+ (cd $_svnmod && svn up -r $pkgver)
+ else
+ svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
+ fi
+ msg "SVN checkout done or server timeout"
+ msg "Starting make..."
+ cd $_svnmod
+ # Build
+ qmake
+ make || return 1
+ make INSTALL_ROOT="$pkgdir" install
+}