summaryrefslogtreecommitdiff
path: root/community/qtcurve-qt4/PKGBUILD
blob: 078bf49d963000d68c5f3d1fd9efb7dbba1b9212 (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
# $Id: PKGBUILD 78820 2012-10-25 06:47:28Z foutrelis $
# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
# Contributor: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Pierre Schmitz <pierre@archlinux.de>

pkgname=qtcurve-qt4
pkgver=1.8.15
pkgrel=1
arch=('i686' 'x86_64')
groups=('qtcurve')
license=('GPL')
pkgdesc='A configurable set of widget styles for KDE and Gtk'
url='https://github.com/QtCurve/qtcurve-qt4'
depends=('kdebase-workspace')
makedepends=('cmake' 'automoc4')
replaces=('qtcurve-kde4')
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/QtCurve/qtcurve-qt4/archive/${pkgver}.tar.gz")
md5sums=('ee0b35fe428807b0dc2b0c57e5eb4f38')

build() {
	cd ${pkgname}-${pkgver}

    sed -i "s/QApplication/QCoreApplication/g" tools/gen_image_header_qt4.cpp
	mkdir build
	cd build
	cmake .. \
		-DCMAKE_BUILD_TYPE=Release \
		-DCMAKE_INSTALL_PREFIX=/usr
	make
}

package() {
	cd ${pkgname}-${pkgver}/build
	make DESTDIR="${pkgdir}" install
}