Mercurial > vanilla
annotate themes/hicolor-icon-theme/hicolor-icon-theme.sh @ 669:97da3728a2f8
core/bash-completion: fix CMake config directory
author | David Demelier <markand@malikania.fr> |
---|---|
date | Wed, 31 Jul 2019 21:05:00 +0200 |
parents | 25cecc6dca48 |
children | ddab65a5b3f5 |
rev | line source |
---|---|
468
107e26766c26
themes/hicolor-icon-theme: initial import, closes #1555
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
1 #!/bin/sh |
107e26766c26
themes/hicolor-icon-theme: initial import, closes #1555
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
2 # |
107e26766c26
themes/hicolor-icon-theme: initial import, closes #1555
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
3 # Copyright (c) 2019 David Demelier <markand@malikania.fr> |
107e26766c26
themes/hicolor-icon-theme: initial import, closes #1555
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
4 # |
107e26766c26
themes/hicolor-icon-theme: initial import, closes #1555
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
5 # Permission to use, copy, modify, and/or distribute this software for any |
107e26766c26
themes/hicolor-icon-theme: initial import, closes #1555
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
6 # purpose with or without fee is hereby granted, provided that the above |
107e26766c26
themes/hicolor-icon-theme: initial import, closes #1555
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
7 # copyright notice and this permission notice appear in all copies. |
107e26766c26
themes/hicolor-icon-theme: initial import, closes #1555
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
8 # |
107e26766c26
themes/hicolor-icon-theme: initial import, closes #1555
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
9 # THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES |
107e26766c26
themes/hicolor-icon-theme: initial import, closes #1555
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
10 # WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF |
107e26766c26
themes/hicolor-icon-theme: initial import, closes #1555
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
11 # MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR |
107e26766c26
themes/hicolor-icon-theme: initial import, closes #1555
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
12 # ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES |
107e26766c26
themes/hicolor-icon-theme: initial import, closes #1555
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
13 # WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN |
107e26766c26
themes/hicolor-icon-theme: initial import, closes #1555
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
14 # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF |
107e26766c26
themes/hicolor-icon-theme: initial import, closes #1555
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
15 # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
107e26766c26
themes/hicolor-icon-theme: initial import, closes #1555
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
16 # |
107e26766c26
themes/hicolor-icon-theme: initial import, closes #1555
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
17 |
107e26766c26
themes/hicolor-icon-theme: initial import, closes #1555
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
18 PKGNAME=hicolor-icon-theme |
107e26766c26
themes/hicolor-icon-theme: initial import, closes #1555
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
19 PKGVERSION=0.17 |
107e26766c26
themes/hicolor-icon-theme: initial import, closes #1555
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
20 PKGREVISION=1 |
107e26766c26
themes/hicolor-icon-theme: initial import, closes #1555
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
21 PKGLICENSE="GPLv2" |
107e26766c26
themes/hicolor-icon-theme: initial import, closes #1555
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
22 PKGSUMMARY="fallback theme for icon theme implementation" |
107e26766c26
themes/hicolor-icon-theme: initial import, closes #1555
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
23 PKGDOWNLOAD="http://icon-theme.freedesktop.org/releases/$PKGNAME-$PKGVERSION.tar.xz" |
107e26766c26
themes/hicolor-icon-theme: initial import, closes #1555
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
24 |
107e26766c26
themes/hicolor-icon-theme: initial import, closes #1555
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
25 build() |
107e26766c26
themes/hicolor-icon-theme: initial import, closes #1555
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
26 { |
107e26766c26
themes/hicolor-icon-theme: initial import, closes #1555
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
27 rm -rf $PKGNAME-$PKGVERSION |
606
25cecc6dca48
vanilla: use POSIX shell and busybox tar
David Demelier <markand@malikania.fr>
parents:
549
diff
changeset
|
28 tar xvf $PKGNAME-$PKGVERSION.tar.xz |
25cecc6dca48
vanilla: use POSIX shell and busybox tar
David Demelier <markand@malikania.fr>
parents:
549
diff
changeset
|
29 cd $PKGNAME-$PKGVERSION |
468
107e26766c26
themes/hicolor-icon-theme: initial import, closes #1555
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
30 |
549
bad483aace64
vanilla: use prefix= instead
David Demelier <markand@malikania.fr>
parents:
540
diff
changeset
|
31 ./configure --prefix= |
468
107e26766c26
themes/hicolor-icon-theme: initial import, closes #1555
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
32 make |
107e26766c26
themes/hicolor-icon-theme: initial import, closes #1555
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
33 make install DESTDIR=$DESTDIR |
107e26766c26
themes/hicolor-icon-theme: initial import, closes #1555
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
34 |
606
25cecc6dca48
vanilla: use POSIX shell and busybox tar
David Demelier <markand@malikania.fr>
parents:
549
diff
changeset
|
35 cd .. |
468
107e26766c26
themes/hicolor-icon-theme: initial import, closes #1555
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
36 rm -rf $PKGNAME-$PKGVERSION |
107e26766c26
themes/hicolor-icon-theme: initial import, closes #1555
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
37 } |