blob: a9d41feb425bd6353ea8a09215d8ba928a669726 (
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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
|
# Maintainer: Mark Wagie <mark dot wagie at proton dot me>
pkgname=(
'colloid-gtk-theme-git'
'colloid-catppuccin-gtk-theme-git'
'colloid-dracula-gtk-theme-git'
'colloid-everforest-gtk-theme-git'
'colloid-gruvbox-gtk-theme-git'
'colloid-nord-gtk-theme-git'
)
pkgbase=colloid-gtk-theme-git
pkgver=2024.06.18.r21.g482c350
pkgrel=1
pkgdesc="Gtk theme for Linux"
arch=('any')
url="https://github.com/vinceliuice/Colloid-gtk-theme"
license=('GPL-3.0-or-later')
makedepends=('git' 'sassc')
optdepends=('gtk-engine-murrine: GTK2 theme support'
'colloid-icon-theme: Matching icon theme'
'colloid-cursors: Matching cursor theme')
options=('!strip')
install="${pkgname%-git}.install"
source=('git+https://github.com/vinceliuice/Colloid-gtk-theme.git')
sha256sums=('SKIP')
pkgver() {
cd Colloid-gtk-theme
git describe --long --tags --abbrev=7 | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
prepare() {
cd Colloid-gtk-theme
# Don't call clean_theme function
sed -i 's/clean_theme && install_theme/install_theme/g' install.sh
}
package_colloid-gtk-theme-git() {
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
cd Colloid-gtk-theme
install -d "$pkgdir/usr/share/themes"
./install.sh -t all -d "$pkgdir/usr/share/themes"
./install.sh -t all -s compact -d "$pkgdir/usr/share/themes"
# Firefox theme
install -d "$pkgdir/usr/share/doc/${pkgname%-git}"
cp -r src/other/firefox "$pkgdir/usr/share/doc/${pkgname%-git}/"
}
package_colloid-catppuccin-gtk-theme-git() {
pkgdesc="Gtk Catppuccin theme for Linux"
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
cd Colloid-gtk-theme
install -d "$pkgdir/usr/share/themes"
./install.sh -t all --tweaks catppuccin -d "$pkgdir/usr/share/themes"
./install.sh -t all -s compact --tweaks catppuccin -d "$pkgdir/usr/share/themes"
}
package_colloid-dracula-gtk-theme-git() {
pkgdesc="Gtk Dracula theme for Linux"
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
cd Colloid-gtk-theme
install -d "$pkgdir/usr/share/themes"
./install.sh -t all --tweaks dracula -d "$pkgdir/usr/share/themes"
./install.sh -t all -s compact --tweaks dracula -d "$pkgdir/usr/share/themes"
}
package_colloid-everforest-gtk-theme-git() {
pkgdesc="Gtk Everforest theme for Linux"
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
cd Colloid-gtk-theme
install -d "$pkgdir/usr/share/themes"
./install.sh -t all --tweaks everforest -d "$pkgdir/usr/share/themes"
./install.sh -t all -s compact --tweaks everforest -d "$pkgdir/usr/share/themes"
}
package_colloid-gruvbox-gtk-theme-git() {
pkgdesc="Gtk Gruvbox theme for Linux"
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
cd Colloid-gtk-theme
install -d "$pkgdir/usr/share/themes"
./install.sh -t all --tweaks gruvbox -d "$pkgdir/usr/share/themes"
./install.sh -t all -s compact --tweaks gruvbox -d "$pkgdir/usr/share/themes"
}
package_colloid-nord-gtk-theme-git() {
pkgdesc="Gtk Nord theme for Linux"
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
cd Colloid-gtk-theme
install -d "$pkgdir/usr/share/themes"
./install.sh -t all --tweaks nord -d "$pkgdir/usr/share/themes"
./install.sh -t all -s compact --tweaks nord -d "$pkgdir/usr/share/themes"
}
|