aboutsummaryrefslogtreecommitdiffstats
path: root/community/faenza-icon-theme/APKBUILD
blob: 271364fc0573a5c86d8d33ed471c262a1cfecae4 (plain) (blame)
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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
# Contributor:
# Maintainer:
pkgname=faenza-icon-theme
pkgver=1.3.1
pkgrel=5
pkgdesc="icons designed to go in tandem with equinox themes"
options="!check" # No testsuite, just icons
arch="noarch"
url="http://tiheum.deviantart.com/art/Faenza-Icons-173323228"
license="GPL-3.0-or-later"
subpackages="$pkgname-extras

	$pkgname-abiword
	$pkgname-audacious
	$pkgname-audacity
	$pkgname-evince
	$pkgname-firefox
	$pkgname-geany
	$pkgname-gimp
	$pkgname-glade
	$pkgname-gnome-panel:gnome_panel
	$pkgname-gnome-session:gnome_session
	$pkgname-gnumeric
	$pkgname-gparted
	$pkgname-hexchat
	$pkgname-imagemagick
	$pkgname-inkscape
	$pkgname-libreoffice-calc:lo_calc
	$pkgname-libreoffice-common:lo_common
	$pkgname-libreoffice-draw:lo_draw
	$pkgname-libreoffice-impress:lo_impress
	$pkgname-libreoffice-main:lo_main
	$pkgname-libreoffice-math:lo_math
	$pkgname-libreoffice-writer:lo_writer
	$pkgname-libreoffice
	$pkgname-midori
	$pkgname-mplayer
	$pkgname-pidgin
	$pkgname-shotwell
	$pkgname-thunar
	$pkgname-transmission
	$pkgname-vim
	$pkgname-vlc
	$pkgname-wine
	$pkgname-wireshark
	$pkgname-xbmc
	$pkgname-xchat
	$pkgname-xfce4-appfinder:xfce4_appfinder
	$pkgname-xfce4-panel:xfce4_panel
	$pkgname-xterm
	$pkgname-lxterminal
	$pkgname-gucharmap
	$pkgname-xarchiver
	$pkgname-gvim
	$pkgname-filezilla
	$pkgname-bash
	$pkgname-thunar
	$pkgname-xscreensaver

	$pkgname-deadbeef
	$pkgname-dia
	$pkgname-emacs
	$pkgname-evolution
	$pkgname-hardinfo
	$pkgname-thunderbird
	$pkgname-totem
	$pkgname-deluge
	$pkgname-ibus
	$pkgname-gdm
	$pkgname-nautilus
	"


source="https://launchpad.net/~tiheum/+archive/equinox/+files/faenza-icon-theme_$pkgver.tar.gz"

builddir="$srcdir"/$pkgname-${pkgver%.[0-9]}

package() {
	mkdir -p "$pkgdir"/usr/share/icons
	cp -dpRf Faenza* "$pkgdir"/usr/share/icons
	find "$pkgdir"/usr/share/icons -name 'xchat*' | while read i; do
		ln -s "${i##*/}" "${i/xchat/hexchat}" || break
	done
}

_app() {
	local app="$1" glob=
	shift
	pkgdesc="$pkgname - $app"
	replaces="$pkgname"
	if [ -n "$app" ]; then
		install_if="$pkgname=$pkgver-r$pkgrel $app"
	else
		install_if=
	fi
	cd "$pkgdir"
	for glob in "$@"; do
		find . -name "$glob" | while read path; do
			mkdir -p "$subpkgdir/${path%/*}"
			mv "$pkgdir/$path" "$subpkgdir/$path"
		done
	done
}

abiword()	{ _app abiword 'abiword*'; }
audacious()	{ _app audacious 'audacious*'; }
audacity()	{ _app audacity 'audacity*'; }
evince()	{ _app evince 'evince*'; }
firefox()	{ _app firefox '*firefox*'; }
geany()		{ _app geany 'geany*'; }
gimp()		{ _app gimp 'gimp*'; }
glade()		{ _app glade 'glade*'; }
gnome_panel()	{ _app gnome-panel 'gnome-panel*'; }
gnome_session()	{ _app gnome-session 'gnome-session*'; }
gnumeric()	{ _app gnumeric 'gnumeric*'; }
gparted()	{ _app gparted 'gparted*'; }
hexchat()	{ depends="$pkgname-xchat";  _app hexchat 'hexchat*'; }
imagemagick()	{ _app imagemagick 'imagemagick*'; }
inkscape()	{ _app inkscape 'inkscape*'; }
lo_base() 	{ _app libreoffice-base 'libreoffice*-base*'; }
lo_calc()	{ _app libreoffice-calc 'libreoffice*-calc*'; }
lo_common()	{ _app libreoffice-common 'libreoffice*-startcenter*'; }
lo_draw()	{ _app libreoffice-draw 'libreoffice*-draw*'; }
lo_impress()	{ _app libreoffice-impress 'libreoffice*-impress*'; }
lo_main()	{ _app libreoffice-main 'libreoffice*-main*'; }
lo_math()	{ _app libreoffice-math 'libreoffice*-math*'; }
lo_writer()	{ _app libreoffice-writer 'libreoffice*-writer*'; }
libreoffice()	{ _app libreoffice 'libreoffice*'; }
midori()	{ _app midori 'midori*'; }
mplayer()	{ _app mplayer 'mplayer*'; }
pidgin()	{ _app pidgin 'pidgin*'; }
shotwell()	{ _app shotwell 'shotwell*'; }
thunar()	{ _app thunar 'thunar*'; }
transmission()	{ _app transmission 'transmission*'; }
vim()		{ _app vim 'vim*'; }
vlc()		{ _app vlc 'vlc*'; }
wine()		{ _app wine '*wine*'; }
wireshark()	{ _app wireshark 'wireshark*'; }
xbmc()		{ _app xbmc 'xbmc*'; }
xchat()		{ _app xchat 'xchat*'; }
xfce4_appfinder() { _app xfce4-appfinder 'xfce4-appfinder*'; }
xfce4_panel()	{ _app xfce4-panel 'xfce4-panel*'; }
xterm()		{ _app xterm 'xterm*'; }
lxterminal() { _app lxterminal 'lxterminal*'; }
gucharmap()	{ _app gucharmap 'gucharmap*'; }
xarchiver() { _app xarchiver 'xarchiver*'; }
gvim()		{ _app gvim 'gvim*'; }
filezilla()	{ _app filezilla 'filezilla*'; }
bash()		{ _app bash 'bash*'; }
thunar()	{ _app thunar 'Thunar*'; }
xscreensaver()	{ _app xscreensaver 'xscreensaver*'; }

# testing
deadbeef()	{ _app deadbeef 'deadbeef*'; }
dia()		{ _app dia 'dia*'; }
emacs()		{ _app emacs 'emacs*'; }
evolution()	{ _app evolution '*evolution*'; }
hardinfo()	{ _app hardinfo 'hardinfo*'; }
thunderbird()	{ _app thunderbird '*thunderbird*'; }
totem()		{ _app totem 'totem*'; }
deluge()	{ _app deluge 'deluge*'; }
ibus()		{ _app ibus 'ibus*'; }
gdm()		{ _app gdm 'gdm*'; }
nautilus()	{ _app nautilus 'nautilus*'; }


#unsupported apps
extras()	{ _app "" \
	'*adobe*' \
	'*chess*' \
	'*crom*' \
	'*ubuntu*' \
	'WorldOfGoo*' \
	'amue*' \
	'blender*' \
	'bluefish*' \
	'bluegriffon' \
	'brasero*' \
	'bug-buddy*' \
	'chromium-browser' \
	'clementine*' \
	'comix' \
	'computerjanitor*' \
	'desura*' \
	'docky*' \
	'dropbox*' \
	'eclipse*' \
	'emesene' \
	'emsene*' \
	'eog.*' \
	'exaile*' \
	'f-spot*' \
	'fedora*' \
	'filezilla' \
	'frostwire*' \
	'gajim*' \
	'gbrainy*' \
	'gcstar*' \
	'glippy*' \
	'gnome-activity' \
	'gnome-aisleriot' \
	'gnome-do*' \
	'gnome-freecell' \
	'gnome-glines' \
	'gnome-gnect*' \
	'gnome-gnibbles' \
	'gnome-iagno' \
	'gnome-klotski' \
	'gnome-lightsoff' \
	'gnome-mahjong*' \
	'gnome-mines*' \
	'gnome-mines*' \
	'gnome-quadrapassel' \
	'gnome-robots' \
	'gnome-samegnome' \
	'gnome-sudoku' \
	'gnome-swell-foop' \
	'gnome-tali*' \
	'gnome-tetravex' \
	'google-chrome' \
	'googleearth*' \
	'guayadeque*' \
	'gwibber*' \
	'haguichi*' \
	'homebank*' \
	'icedove' \
	'iceweasel' \
	'jdownloader' \
	'jockey*' \
	'library-internet-radio' \
	'logviewer' \
	'miro*' \
	'mono*' \
	'mypaint*' \
	'netbeans*' \
	'nvidia-settings*' \
	'ooo-*' \
	'ooo-*' \
	'openttd*' \
	'opera*' \
	'picasa*' \
	'pino*' \
	'pithos*' \
	'pitivi*' \
	'ppa.*' \
	'rhythmbox' \
	'rythmbox*' \
	'shutter*' \
	'skype*' \
	'softwarecenter-debian' \
	'spotify*' \
	'steam*' \
	'stellarium*' \
	'synapse*' \
	'telepathy*' \
	'tomboy*' \
	'tvtime*' \
	'wxbanker*' \
	'xine' \
	'xournal*' \

}

sha512sums="0c017ddbaa2dba485341d3bb1e321fafad026aafc893fa2519ddfd3fe0475fc8d011c99ce3de581c9b1c6aa7d250312673dda7c10bb12783db2d45816646ddc9  faenza-icon-theme_1.3.1.tar.gz"