blob: bcb4757cda336a11283ad3d3a759378346639f7c (
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
|
# Contributor: Stuart Cardall <developer@it-offshore.co.uk>
# Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
pkgname=gnome-colors
pkgver=5.5.1
pkgrel=2
pkgdesc="gnome-colors icon themes meta package (all themes)"
url="https://github.com/gnome-colors/gnome-colors"
arch="noarch"
license="GPL-2.0-only"
subpackages="$pkgname-common
gnome-brave-icon-theme:brave
gnome-dust-icon-theme:dust
gnome-human-icon-theme:human
gnome-illustrious-icon-theme:illustrious
gnome-noble-icon-theme:noble
gnome-wine-icon-theme:wine
gnome-wise-icon-theme:wise
"
depends="$pkgname-common gnome-brave-icon-theme gnome-dust-icon-theme gnome-human-icon-theme
gnome-illustrious-icon-theme gnome-noble-icon-theme gnome-wine-icon-theme gnome-wise-icon-theme"
# moved to https://github.com/gnome-colors/gnome-colors
# but github has no releases yet
source="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/gnome-colors/gnome-colors-$pkgver.tar.gz"
prepare() {
mkdir $builddir
ls -1 | egrep -v "$pkgver|.patch" | xargs -I{} mv {} $builddir/
}
package() {
find gnome* -name 'xchat*' | while read i; do
ln -s "${i##*/}" "${i/xchat/hexchat}" || break
done
mkdir -p "$pkgdir/$pkgname"
}
_app() {
local app="$1" final_name= color=
vmsg="variation of the" cmsg="icons for all"
case "$app" in
brave) color="Blue $vmsg";;
colors-common) color="Common $cmsg";;
dust) color="Chocolate $vmsg";;
human) color="Orange $vmsg";;
illustrious) color="Pink $vmsg";;
noble) color="Purple $vmsg";;
wine) color="Red $vmsg";;
wise) color="Green $vmsg";;
esac
pkgdesc="$color GNOME-Colors icon theme"
if [ "$app" != "colors-common" ]; then
depends="$pkgname-common"
fi
cd "$builddir"
mkdir -p "$subpkgdir/usr/share/icons"
mv "gnome-$app" "$subpkgdir/usr/share/icons/"
}
brave() { _app brave 'brave*'; }
common() { _app colors-common 'colors-common*'; }
dust() { _app dust 'dust*'; }
human() { _app human 'human*'; }
illustrious() { _app illustrious 'illustrious*'; }
noble() { _app noble 'noble*'; }
wine() { _app wine 'wine*'; }
wise() { _app wise 'wise*'; }
sha512sums="23d1fb9b96cd4287acc0f540c8a7abed1b9f16d7e2bc952beedc365cfd71a3a0134382a7f4bb1c01c62dc376acb6aaf81332167869ec6e8c036679e89d325ff3 gnome-colors-5.5.1.tar.gz"
|