summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 59a96a6ae44b750f164cc15de681424e9ac2b41d (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
pkgname=gtkplatform
pkgver=0.2.4+11+g1149f4f
pkgrel=1
pkgdesc="Run Qt applications using gtk+ as a windowing system"
arch=('x86_64')
url="https://github.com/CrimsonAS/gtkplatform"
license=('LGPL3' 'GPL2')
conflicts=('qt-gtk-platform-plugin')
depends=('gtk3' 'libnotify' 'qt5-base')
makedepends=('git')
_commit=1149f4f77523f650e542f83e9a1985e0b9f00a05
source=(
	"git+$url.git#commit=$_commit"
)
sha512sums=('SKIP')

pkgver() {
	cd $pkgname

	git describe --tags --long | sed 's/^v//; s/-/+/g'
}

build() {
	cd $pkgname

	qmake DESTDIR=$srcdir
	make
}

package() {
	cd $pkgname

	make INSTALL_ROOT="$pkgdir" install
}