summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c8325f87be0253b5d8430c6e8db130b3e5df508e (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
# Maintainer: Phantasm <phantasm@centrum.cz>
# Contributor: Mark Wagie <mark dot wagie at tutanota dot com>
pkgname=kvantum-theme-matcha-git
_gitname=Matcha-kde
pkgver=r11.a3b247b
pkgrel=1
pkgdesc="Matcha theme for Kvantum"
arch=('any')
url="https://github.com/vinceliuice/Matcha-kde"
license=('GPL3')
depends=('kvantum')
makedepends=('git')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}" 'matcha-kde')
source=('git+https://github.com/vinceliuice/Matcha-kde.git')
sha256sums=('SKIP')

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

package() {
	cd "$srcdir/$_gitname"
	install -d "$pkgdir/usr/share"
	cp -r Kvantum "$pkgdir/usr/share"
}