blob: d0461d64f08522da055cfc4ee9b6fe5da971b27c (
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
|
# Maintainer: Yiyao Yu <yuydevel at protonmail dot com>
# Author: Himprakash Deka <himprakashd at gmail dot com>
pkgname=utterly-nord-plasma
pkgver=2.1
pkgrel=3
pkgdesc='A Global theme for Plasma 5 with transparency, blur, rounded edges for
window borders and widgets, Nord Color Palette and inspired wallpaper and a
reasonable desktop layout with a top panel, dock and a Android 12 like clock
widget.'
url='https://github.com/HimDek/Utterly-Nord-Plasma'
_commit='81da69e4c87fe00e446f335b44c5c0244e773189'
arch=('any')
license=('GPL2')
depends=('plasma-desktop')
makedepends=('git')
optdepends=('kvantum: kvantum application style',
'konsole: konsole color scheme'
'sddm: sddm login theme'
'utterly-round-plasma-style: complementing kwin style')
source=("${pkgname}::git+${url}.git#commit=${_commit}")
sha256sums=('SKIP')
_theme_base='Utterly-Nord'
_package_and_rename() {
local _src="$1"
local _dst="$2"
mkdir -p "${_dst}"
cd "${_src}"
find -type f -exec \
install -Dm 644 '{}' "${_dst}/{}" \;
}
package() {
cd "${srcdir}/${pkgname}"
# colors
mkdir -p "${pkgdir}/usr/share/color-schemes/"
install -Dm 644 *.colors "${pkgdir}/usr/share/color-schemes/"
# Konsole
mkdir -p "${pkgdir}/usr/share/konsole/"
install -Dm 644 *.colorscheme "${pkgdir}/usr/share/konsole/"
# look-and-feel
_package_and_rename \
"${srcdir}/${pkgname}/look-and-feel" \
"${pkgdir}/usr/share/plasma/look-and-feel/${_theme_base}"
_package_and_rename \
"${srcdir}/${pkgname}/look-and-feel-solid" \
"${pkgdir}/usr/share/plasma/look-and-feel/${_theme_base}-Solid"
_package_and_rename \
"${srcdir}/${pkgname}/look-and-feel-light" \
"${pkgdir}/usr/share/plasma/look-and-feel/${_theme_base}-Light"
_package_and_rename \
"${srcdir}/${pkgname}/look-and-feel-light-solid" \
"${pkgdir}/usr/share/plasma/look-and-feel/${_theme_base}-Light-Solid"
# wallpaper
_package_and_rename \
"${srcdir}/${pkgname}/wallpaper" \
"${pkgdir}/usr/share/wallpapers/${_theme_base}"
# kvantum
_package_and_rename \
"${srcdir}/${pkgname}/kvantum" \
"${pkgdir}/usr/share/Kvantum/${_theme_base}"
_package_and_rename \
"${srcdir}/${pkgname}/kvantum-solid" \
"${pkgdir}/usr/share/Kvantum/${_theme_base}-Solid"
_package_and_rename \
"${srcdir}/${pkgname}/kvantum-light" \
"${pkgdir}/usr/share/Kvantum/${_theme_base}-Light"
_package_and_rename \
"${srcdir}/${pkgname}/kvantum-light-solid" \
"${pkgdir}/usr/share/Kvantum/${_theme_base}-Light-Solid"
# sddm
_package_and_rename \
"${srcdir}/${pkgname}/sddm" \
"${pkgdir}/usr/share/sddm/themes/${_theme_base}"
}
# vim:set et ts=2 sw=2 tw=79:
|