summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ea4fe7296abda3630c62d380a8f14898b7041f88 (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
# Maintainer: spider-mario <spidermario@free.fr>
pkgname=qgnomeplatform-git
pkgver=0.7.0.r28.g7790df2
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')
depends=('gtk3' 'qt5-wayland' 'adwaita-qt-git')
makedepends=('cmake' '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() {
	mkdir -p build
	cd build
	cmake -DCMAKE_INSTALL_PREFIX=/usr "$srcdir"/QGnomePlatform
	make
}

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