summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c6c2848788f535e7282d27561f5cc3f88191404f (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: gigas002 <gigas002@pm.me>

pkgname=plasma5-themes-sweet-kde-git
_pkgname=Sweet-kde
pkgver=r24.9e36d3a
pkgrel=4
pkgdesc="Sweet KDE Plasma theme"
arch=('x86_64')
url="https://github.com/EliverLara/$_pkgname"
license=('GPL3')
makedepends=('git')
depends=()
provides=("plasma5-themes-sweet-kde-git")
conflicts=('sweet-kde' 'sweet-kde-git' 'sweet-kde-theme-git')
options=('!strip')
source=("git+$url.git")
sha256sums=('SKIP')

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

package() {
	install -d $pkgdir/usr/share/plasma/desktoptheme
	cp -R $srcdir/Sweet-kde/ $pkgdir/usr/share/plasma/desktoptheme/Sweet
	install -d $pkgdir/usr/share/plasma/desktoptheme/Sweet
}