summaryrefslogtreecommitdiff
path: root/community/qtcurve-gtk2/PKGBUILD
blob: f02f92c5c549e017a39d58c994b423426029fa12 (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
36
37
38
# $Id: PKGBUILD 76418 2012-09-17 15:35:37Z svenstaro $
# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
# Contributor: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Pierre Schmitz <pierre@archlinux.de>

pkgname=qtcurve-gtk2
pkgver=1.8.15
pkgrel=2
pkgdesc="A configurable set of widget styles for KDE and Gtk"
arch=('i686' 'x86_64')
url="http://www.kde-look.org/content/show.php?content=40492"
license=('GPL')
depends=('gtk2')
makedepends=('cmake')
groups=('qtcurve')
options=('!libtool')
source=("http://craigd.wikispaces.com/file/view/QtCurve-Gtk2-${pkgver}.tar.bz2"
         cairo_flush_fix.patch)
md5sums=('00054b1923f995fa55e0573730b9f3a6'
         '3aec00bd00af49ed42a47855ec37f670')

build() {
  cd "${srcdir}"

  patch -Np1 -i ${srcdir}/cairo_flush_fix.patch -d QtCurve-Gtk2-${pkgver}

  mkdir -p build
  cd build/
  cmake ../QtCurve-Gtk2-${pkgver} \
      -DCMAKE_BUILD_TYPE=Release \
      -DCMAKE_INSTALL_PREFIX=/usr
  make
}

package() {
  cd "${srcdir}"/build
  make DESTDIR="${pkgdir}" install
}