summaryrefslogtreecommitdiff
path: root/extra/gtk-qt-engine/PKGBUILD
blob: 247195fa4ea681277c231ca64ac06f7b1b98dd09 (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
# $Id: PKGBUILD 143698 2011-11-28 13:17:55Z giovanni $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Jake VanderKolk <jakevanderkolk@gmail.com>

pkgname=gtk-qt-engine
pkgver=1.1
pkgrel=3
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' '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
}

package() {
  cd "${srcdir}/${pkgname}"

  make DESTDIR="${pkgdir}" install
}