summaryrefslogtreecommitdiff
path: root/community/gtk-kde4/PKGBUILD
blob: 9891313aea798d076bd908f4aa131d8744db619d (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
# $Id: PKGBUILD 57913 2011-11-04 12:08:54Z lcarlier $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Viliam Pucik <viliam dot pucik at gmail dot com>

pkgname=gtk-kde4
pkgver=0.9.5b
pkgrel=2
pkgdesc='Allows you to change style, icons, font of GTK applications in KDE4.'
arch=('i686' 'x86_64' 'mips64el')
url='http://kde-look.org/content/show.php?content=74689'
license=('GPL')
depends=('kdebase-workspace' 'gtk-engines')
makedepends=('cmake' 'automoc4')
provides=('gtk-qt-engine')
source=("http://betta.houa.org/no-site/${pkgname}(src)${pkgver}.tar.gz"
        'fix-permission.patch')
md5sums=('d5998e4ccd4bd4b4d6a61e7afe8bbecb'
         'f52fa3288c728e5fad72c5d136b49bc5')

build() {
  cd ${pkgname}

  patch -p1 -i ${srcdir}/fix-permission.patch
  cmake -DCMAKE_BUILD_TYPE=Release \
        -DCMAKE_INSTALL_PREFIX=/usr

  make
}

package() {
  cd ${pkgname}

  make DESTDIR=${pkgdir} install
}