summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d00c5423bb23cb79b8f74a5441e3c329a1eba737 (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: zetaPRIME <qmanxt at gmail dot com>
pkgname=qt5ct-refresh-git
_realname=qt5ct-refresh
pkgver=r6.d2190b9
pkgrel=1
pkgdesc="Simple utility to force-refresh qt5ct style settings"
arch=('any')
url="https://gitlab.com/zetaPRIME/qt5ct-refresh/"
license=('Unlicense')
depends=('qt5-base')
makedepends=('git' 'qt5-tools')
provides=('qt5ct-refresh')
conflicts=('qt5ct-refresh')
source=($_realname::git+https://gitlab.com/zetaPRIME/qt5ct-refresh.git)
md5sums=('SKIP')

pkgver() {
  cd $_realname
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}	

build() {
	cd $_realname
	qmake qt5ct-refresh.pro
	make
}

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