-
Notifications
You must be signed in to change notification settings - Fork 8
/
PKGBUILD
43 lines (35 loc) · 989 Bytes
/
PKGBUILD
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
pkgbase=cherry-kde-git
pkgname=(cherry-kde-git kvantum-theme-cherry-git)
_pkgname=cherry-kde
pkgver=2.2
pkgrel=1
pkgdesc="Clean, Flat, Δ Theme for KDE Plasma Desktop"
arch=('any')
url="https://github.com/nullxception/${_pkgname}"
license=('GPL3')
makedepends=('git')
conflicts=("cherry-kde-theme")
options=(!strip)
source=("git+${url}.git")
sha256sums=('SKIP')
pkgver() {
cd "$srcdir/$_pkgname"
git describe --long --tags | sed -r 's/([^-]*-g)/r\1/;s/-/./g'
}
package_cherry-kde-git() {
optdepends=('kvantum-theme-cherry-git: Cherry theme for Kvantum (recommended)')
cd "$_pkgname"
./install.sh \
--prefix="${pkgdir}/usr" \
--clear-cache=false \
--components=aurorae,colors,global,plasma,wallpaper
}
package_kvantum-theme-cherry-git() {
depends=(kvantum-qt5)
pkgdesc="Cherry theme for Kvantum"
cd "$_pkgname"
./install.sh \
--prefix="${pkgdir}/usr" \
--clear-cache=false \
--components=kvantum
}