summaryrefslogtreecommitdiff
path: root/extra/gtk-qt-engine/PKGBUILD
blob: ab50578bf000810c19c449de923fa51646b98584 (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
# $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' 'mips64el')
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
}