summaryrefslogtreecommitdiffstats
path: root/qgtkstyle-svn/PKGBUILD
blob: facd9944cfc708cc86ba0eeaec9a8f2d5d1671d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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
}