# 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"
