summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a1c6af68ff9b1f9940b617ec2955eb7c3f796fcd (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
# Maintainer: spider-mario <spidermario@free.fr>
pkgname=qgnomeplatform-git
pkgver=0.6.90.r0.gc1d80c9
pkgrel=1
pkgdesc="Qt Platform Theme aimed to accomodate as much of GNOME settings as possible"
arch=('i686' 'x86_64')
url="https://github.com/FedoraQt/QGnomePlatform"
license=('LGPL2.1')
# TODO: change to non-git adwaita-qt once 1.2 is released
depends=('gtk3' 'qt5-wayland' 'adwaita-qt-git>=1.1.4.r22.gef1ba6a')
makedepends=('git')
provides=('qgnomeplatform')
conflicts=('qgnomeplatform')
source=('git+https://github.com/FedoraQt/QGnomePlatform.git')
md5sums=('SKIP')

pkgver() {
	cd QGnomePlatform
	git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}

build() {
	cd QGnomePlatform
	qmake-qt5
	make
}

check() {
	cd QGnomePlatform
	make -k check
}

package() {
	cd QGnomePlatform
	make INSTALL_ROOT="$pkgdir/" install
}