aboutsummaryrefslogtreecommitdiffstats
path: root/community/adapta-kde/APKBUILD
blob: d5df1bdea6eb37bcc4283dde7f7ab2cc81ed276c (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
# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer:
pkgname=adapta-kde
pkgver=20180828
pkgrel=1
pkgdesc="Adapta theme for KDE Plasma 5"
url="https://github.com/PapirusDevelopmentTeam/adapta-kde"
arch="noarch"
license="GPL-3.0-or-later"
subpackages="kvantum-theme-adapta:_kvantum:noarch"
source="$pkgname-$pkgver.tar.gz::https://github.com/PapirusDevelopmentTeam/adapta-kde/archive/$pkgver.tar.gz"

package() {
	mkdir -p "$pkgdir"/usr/share

	cp -r plasma \
			aurorae \
			color-schemes \
			konsole \
			yakuake \
			"$pkgdir"/usr/share
}

_kvantum() {
	depends="kvantum"
	pkgdesc="Adapta theme for KDE Plasma 5 under Kvantum"
	install_if="$pkgname=$pkgver-r$pkgrel kvantum"

	mkdir -p "$subpkgdir"/usr/share
	cp -r "$builddir"/Kvantum "$subpkgdir"/usr/share
}
sha512sums="e4265a1a22a270c17b8b99d3b0289a4221c84159d148a687f8c6dd6cb883dba43302afbdb0c9d6d6810e6500a1b84c17f3e65c758a9ad5eeabd6e454bea41dca  adapta-kde-20180828.tar.gz"