summaryrefslogtreecommitdiff
path: root/extra/qtcurve-kde4/PKGBUILD
blob: cb31d70406b9a0a1587f35673a38557c73ff44b6 (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
# $Id: PKGBUILD 140653 2011-10-17 18:59:52Z ronald $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Pierre Schmitz <pierre@archlinux.de>

pkgname=qtcurve-kde4
pkgver=1.8.9
pkgrel=1
arch=('i686' 'x86_64' 'mips64el')
groups=('qtcurve')
license=('GPL')
pkgdesc='A configurable set of widget styles for KDE and Gtk'
url='http://www.kde-look.org/content/show.php?content=40492'
depends=('kdebase-workspace')
makedepends=('cmake' 'automoc4')
source=("http://craigd.wikispaces.com/file/view/QtCurve-KDE4-${pkgver}.tar.bz2"
        'bypass-kde-config.patch')
sha1sums=('93bc8ce3e5bed506521a8839a254f7076b4bc988'
          '8005c8bf0e9c5d75e80b417a01513bd45853274c')
build() {
	cd "${srcdir}"/QtCurve-KDE4-${pkgver}
	# Bypass KDE prefix detection by kde4-config, see:
	# http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=541667
	patch -p1 -i "${srcdir}"/bypass-kde-config.patch

	cd "${srcdir}"
	mkdir build
	cd build
	cmake ../QtCurve-KDE4-${pkgver} \
		-DCMAKE_BUILD_TYPE=Release \
		-DCMAKE_INSTALL_PREFIX=/usr
	make
}

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