summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b244c87e204ceddd81eea3a3f05dc27ca1853f72 (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
35
36
# Maintainer: ArcanusNEO <admin@transcliff.eu.org>
# Contributor: Mark Wagie <mark dot wagie at tutanota dot com>
# Contributor: librewish
pkgname=kvantum-theme-whitesur-git
_gitname=WhiteSur-kde
pkgver=r114.2b4bcc7
pkgrel=1
pkgdesc="WhiteSur theme for Kvantum"
arch=('any')
url="https://github.com/vinceliuice/${_gitname}"
license=('GPL3')
depends=('kvantum')
makedepends=('git')
provides=(
  "${pkgname%-git}"
  'whitesur-kvantum-theme'
)
conflicts=(
  "${pkgname%-git}"
  'whitesur-kvantum-theme'
  'plasma5-themes-whitesur'
  'whitesur-kde-theme'
)
source=("git+${url}.git")
b2sums=('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"
}