summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 108c105cff60c08aa9e1446ee2ee2b543e2414bd (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
# Maintainer:
# Contributor: Mark Wagie <mark dot wagie at tutanota dot com>
pkgname=kvantum-theme-vimix-git
_gitname=vimix-kde
pkgver=2021.09.05.r6.g39dc03a
pkgrel=1
pkgdesc="Vimix theme for Kvantum"
arch=('any')
url="https://github.com/vinceliuice/vimix-kde"
license=('GPL3')
depends=('kvantum-qt5')
makedepends=('git')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}" 'vimix-kde')
source=('git+https://github.com/vinceliuice/vimix-kde.git')
sha256sums=('SKIP')

pkgver() {
  cd "$srcdir/$_gitname"
  git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}

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