blob: 375fc436d95d3baa52d24e4f3015807e7436ab4d (
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
|
# Maintainer: Mark Wagie <mark dot wagie at proton dot me>
pkgname=(
'colloid-icon-theme-git'
'colloid-dracula-theme-git'
'colloid-nord-icon-theme-git'
'colloid-cursors-git'
)
pkgbase=colloid-icon-theme-git
pkgver=2024.02.28.r1.ga671b46
pkgrel=1
pkgdesc="Icon theme for Linux desktops"
arch=('any')
url="https://github.com/vinceliuice/Colloid-icon-theme"
license=('GPL-3.0-or-later')
depends=('gtk-update-icon-cache' 'hicolor-icon-theme')
makedepends=('git')
options=('!strip')
source=('git+https://github.com/vinceliuice/Colloid-icon-theme.git')
sha256sums=('SKIP')
pkgver() {
cd Colloid-icon-theme
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
prepare() {
cd Colloid-icon-theme
# Disable running gtk-update-icon-cache
sed -i '/gtk-update-icon-cache/d' install.sh
}
package_colloid-icon-theme-git() {
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
cd Colloid-icon-theme
install -d "$pkgdir/usr/share/icons"
./install.sh -t all -d "$pkgdir/usr/share/icons"
}
package_colloid-dracula-theme-git() {
pkgdesc="Dracula icon theme for Linux desktops"
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
cd Colloid-icon-theme
install -d "$pkgdir/usr/share/icons"
./install.sh -s dracula -t all -d "$pkgdir/usr/share/icons"
}
package_colloid-nord-icon-theme-git() {
pkgdesc="Nord icon theme for Linux desktops"
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
cd Colloid-icon-theme
install -d "$pkgdir/usr/share/icons"
./install.sh -s nord -t all -d "$pkgdir/usr/share/icons"
}
package_colloid-cursors-git() {
pkgdesc="An x-cursor theme inspired by Colloid theme and based on capitaine-cursors"
depends=()
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
cd Colloid-icon-theme/cursors
install -d "$pkgdir"/usr/share/icons/Colloid{-cursors,-dark-cursors}
cp -r dist/* "$pkgdir/usr/share/icons/Colloid-cursors/"
cp -r dist-dark/* "$pkgdir/usr/share/icons/Colloid-dark-cursors/"
}
|