blob: 41441a8197d4b2c3046125c29ee6bddd3e05cfa2 (
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
46
47
48
|
# Maintainer: Shohei Maruyama<cheat.sc.linux@outlook.com>
pkgname=(plasma6-themes-otto-git kvantum-theme-otto-git)
pkgver=r14.fd67d36
pkgrel=4
pkgdesc="Otto Theme for Kde Plasma"
arch=('any')
url="https://gitlab.com/jomada/otto"
license=('GPL3')
depends=()
makedepends=('git')
conflicts=()
source=("git+${url}.git")
sha512sums=('SKIP')
pkgver() {
cd otto
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package_plasma6-themes-otto-git() {
conflicts=('otto-kde-git' 'plasma5-themes-otto-git')
replaces=('otto-kde-git' 'plasma5-themes-otto-git')
optdepends=(
'konsole: For the Konsole color scheme'
'kvantum-theme-otto-git: Otto theme for kvantum (recommended)'
)
cd otto
install -d "${pkgdir}/usr/share"
install -d "${pkgdir}/usr/share/plasma"
install -d "${pkgdir}/usr/share/plasma/desktoptheme"
cp -r look-and-feel "${pkgdir}/usr/share/plasma"
cp -r Otto "${pkgdir}/usr/share/plasma/desktoptheme"
cp -r color-schemes "${pkgdir}/usr/share"
cp -r konsole "${pkgdir}/usr/share"
}
package_kvantum-theme-otto-git() {
pkgdesc="Otto theme for kvantum"
depends=(kvantum)
cd otto
install -d "${pkgdir}/usr/share"
cp -r kvantum "${pkgdir}/usr/share/Kvantum"
}
|