aboutsummaryrefslogtreecommitdiffstats
path: root/testing/vimix-kde/APKBUILD
blob: 1446c2bf76c4087efceebbc6b318e72ea20059cd (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
37
38
39
40
41
42
43
44
45
# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer: Leo <thinkabit.ukim@gmail.com>
pkgname=vimix-kde
pkgver=20200525
pkgrel=0
_commit=8ecc8db7657ed9c28aeeaf0e19dc9c7304b1e437
pkgdesc="Vimix theme for the KDE Plasma desktop"
options="!check"
url="https://github.com/vinceliuice/vimix-kde"
arch="noarch"
license="GPL-3.0-or-later"
depends="bash"
subpackages="
	vimix-dark-amethyst-plasma:_plasma:noarch
	vimix-dark-amethyst-kvantum:_kvantum:noarch
	"
source="$pkgname-$pkgver.tar.gz::https://github.com/vinceliuice/vimix-kde/archive/$_commit.tar.gz
	respect-DESTDIR.patch
	"
builddir="$srcdir/vimix-kde-$_commit"

package() {
	DESTDIR="$pkgdir" ./install.sh \
		--theme amethyst \
		--color dark
}

_plasma() {
	pkgdesc="Plasma assets for Vimix Dark Amethyst"
	install_if="vimix-amethyst-dark plasma-desktop"

	amove usr/share/aurorae/themes/Vimix-Amethyst
	amove usr/share/color-schemes/VimixDarkAmethyst.colors
	amove usr/share/plasma/desktoptheme/Vimix-Amethyst
}

_kvantum() {
	pkgdesc="Kvantum theme for Vimix Dark Amethyst"
	install_if="vimix-amethyst-dark kvantum"

	amove usr/share/Kvantum/Vimix-Dark-Amethyst
}

sha512sums="0805d47216b6a7ee7b4a4202f83faa2fe3e095703aacedf4e42cdf25348f03987a77f930b9759169006d5cd38f53b1f8cfc45af7b864d719119c737e022abbab  vimix-kde-20200525.tar.gz
85b8a91cb10dd59a4a371fed7b8e63ebb2ad3082856a41aadc8aa588f556ffacf018cbf1c2586d71b078e6d704e96f2d643d7b9805997577d3904a2462d152e9  respect-DESTDIR.patch"