blob: 97cafe19b0d36654e22d4fbf2f2cbd781588aaeb (
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
|
# Maintainer: Mark Wagie <mark dot wagie at proton dot me>
pkgname=(
'orchis-theme-git'
'orchis-dracula-theme-git'
'orchis-nord-theme-git'
)
pkgbase=orchis-theme-git
pkgver=2024.05.01.r8.g1e6b061c
pkgrel=1
pkgdesc="A Material Design theme for GNOME/GTK based desktop environments."
arch=('any')
url="https://github.com/vinceliuice/Orchis-theme"
license=('GPL-3.0-or-later')
makedepends=('git' 'sassc')
optdepends=('gnome-themes-extra: GTK2 theme support'
'gtk-engine-murrine: GTK2 theme support'
'kvantum-theme-orchis: Matching Kvantum theme'
'tela-circle-icon-theme: Recommended icon theme')
options=('!strip')
install="${pkgbase%-git}.install"
source=('git+https://github.com/vinceliuice/Orchis-theme.git')
sha256sums=('SKIP')
pkgver() {
cd Orchis-theme
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
package_orchis-theme-git() {
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
cd Orchis-theme
install -d "$pkgdir/usr/share/themes"
./install.sh -t all --tweaks primary -d "$pkgdir/usr/share/themes"
# Wallpapers
install -Dm644 wallpaper/*.jpg -t \
"$pkgdir/usr/share/backgrounds/orchis/"
# Firefox theme
install -d "$pkgdir/usr/share/doc/${pkgname%-git}"
cp -r src/firefox "$pkgdir/usr/share/doc/${pkgname%-git}/"
}
package_orchis-dracula-theme-git() {
pkgdesc+=" (dracula variant)"
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
cd Orchis-theme
install -d "$pkgdir/usr/share/themes"
./install.sh -t all --tweaks primary dracula -d "$pkgdir/usr/share/themes"
}
package_orchis-nord-theme-git() {
pkgdesc+=" (nord variant)"
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
cd Orchis-theme
install -d "$pkgdir/usr/share/themes"
./install.sh -t all --tweaks primary nord -d "$pkgdir/usr/share/themes"
}
|