summaryrefslogtreecommitdiff
path: root/PKGBUILD
blob: 1ffc9cfa5dacfd4d7b98096e24e45ac2fb0adee4 (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
# Maintainer: Aqua-sama <aqua@iserlohn-fortress.net>

pkgname=DeclarativeWidgets-git
pkgver=r322.4126c30
pkgrel=1
pkgdesc="Library and tools for creating QtWidget UIs using QML"
url="https://github.com/KDAB/DeclarativeWidgets"
license=('GPL')
arch=('x86_64')
depends=(qt5-declarative)
makedepends=(qt5-tools)
source=("git+https://github.com/KDAB/DeclarativeWidgets")
md5sums=('SKIP')

pkgver() {
        cd DeclarativeWidgets
        echo r$(git rev-list --count HEAD)-$(git rev-parse --short HEAD) | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}

build() {
	cd DeclarativeWidgets
        qmake -r declarativewidgets.pro
        make
}

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