summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c70c26cdf6015368b6ae36d29cd42fd2c8a83676 (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: KokaKiwi <kokakiwi+aur@kokakiwi.net>

_themename=Lavender
pkgname=plasma5-theme-${_themename,,}-git
pkgver=r5.8cd7222
pkgrel=1
pkgdesc='A KDE theme inspired by lavender'
url='https://github.com/rkstrdee/Lavender'
license=('GPL3')
arch=('any')
makedepends=('git')
optdepends=('plasma-desktop: for plasma theme'
            'konsole: for konsole colorscheme')
source=("$pkgname::git+$url.git")
sha256sums=('SKIP')

pkgver() {
  cd "$pkgname"

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

package() {
  cd "$pkgname"

  install -dm0755 "$pkgdir/usr/share/plasma"
  cp -rt "$pkgdir/usr/share/plasma" plasma/*

  install -dm0755 "$pkgdir/usr/share/konsole"
  cp -rt "$pkgdir/usr/share/konsole" konsole/*
}