mate/mate-backgrounds/mate-backgrounds.sh

Fri, 15 Nov 2019 20:05:00 +0100

author
David Demelier <markand@malikania.fr>
date
Fri, 15 Nov 2019 20:05:00 +0100
changeset 1207
c9592a9a949b
parent 1107
7791d3dbfecf
child 1216
6710613b88b9
permissions
-rw-r--r--

python/python2: add DEPRECATED tag

1019
ddab65a5b3f5 vanilla: use /bin/busybox sh as default shell
David Demelier <markand@malikania.fr>
parents: 606
diff changeset
1 #!/bin/busybox sh
492
a89c2ee9ff94 mate/mate-backgrounds: initial import, closes #1448
David Demelier <markand@malikania.fr>
parents:
diff changeset
2 #
a89c2ee9ff94 mate/mate-backgrounds: initial import, closes #1448
David Demelier <markand@malikania.fr>
parents:
diff changeset
3 # Copyright (c) 2019 David Demelier <markand@malikania.fr>
a89c2ee9ff94 mate/mate-backgrounds: initial import, closes #1448
David Demelier <markand@malikania.fr>
parents:
diff changeset
4 #
a89c2ee9ff94 mate/mate-backgrounds: initial import, closes #1448
David Demelier <markand@malikania.fr>
parents:
diff changeset
5 # Permission to use, copy, modify, and/or distribute this software for any
a89c2ee9ff94 mate/mate-backgrounds: initial import, closes #1448
David Demelier <markand@malikania.fr>
parents:
diff changeset
6 # purpose with or without fee is hereby granted, provided that the above
a89c2ee9ff94 mate/mate-backgrounds: initial import, closes #1448
David Demelier <markand@malikania.fr>
parents:
diff changeset
7 # copyright notice and this permission notice appear in all copies.
a89c2ee9ff94 mate/mate-backgrounds: initial import, closes #1448
David Demelier <markand@malikania.fr>
parents:
diff changeset
8 #
a89c2ee9ff94 mate/mate-backgrounds: initial import, closes #1448
David Demelier <markand@malikania.fr>
parents:
diff changeset
9 # THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
a89c2ee9ff94 mate/mate-backgrounds: initial import, closes #1448
David Demelier <markand@malikania.fr>
parents:
diff changeset
10 # WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
a89c2ee9ff94 mate/mate-backgrounds: initial import, closes #1448
David Demelier <markand@malikania.fr>
parents:
diff changeset
11 # MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
a89c2ee9ff94 mate/mate-backgrounds: initial import, closes #1448
David Demelier <markand@malikania.fr>
parents:
diff changeset
12 # ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
a89c2ee9ff94 mate/mate-backgrounds: initial import, closes #1448
David Demelier <markand@malikania.fr>
parents:
diff changeset
13 # WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
a89c2ee9ff94 mate/mate-backgrounds: initial import, closes #1448
David Demelier <markand@malikania.fr>
parents:
diff changeset
14 # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
a89c2ee9ff94 mate/mate-backgrounds: initial import, closes #1448
David Demelier <markand@malikania.fr>
parents:
diff changeset
15 # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
a89c2ee9ff94 mate/mate-backgrounds: initial import, closes #1448
David Demelier <markand@malikania.fr>
parents:
diff changeset
16 #
a89c2ee9ff94 mate/mate-backgrounds: initial import, closes #1448
David Demelier <markand@malikania.fr>
parents:
diff changeset
17
a89c2ee9ff94 mate/mate-backgrounds: initial import, closes #1448
David Demelier <markand@malikania.fr>
parents:
diff changeset
18 PKGNAME=mate-backgrounds
a89c2ee9ff94 mate/mate-backgrounds: initial import, closes #1448
David Demelier <markand@malikania.fr>
parents:
diff changeset
19 PKGVERSION=1.22.0
a89c2ee9ff94 mate/mate-backgrounds: initial import, closes #1448
David Demelier <markand@malikania.fr>
parents:
diff changeset
20 PKGREVISION=1
1107
7791d3dbfecf vanilla: consolidate licenses and many options
David Demelier <markand@malikania.fr>
parents: 1019
diff changeset
21 PKGLICENSE="GPLv20"
492
a89c2ee9ff94 mate/mate-backgrounds: initial import, closes #1448
David Demelier <markand@malikania.fr>
parents:
diff changeset
22 PKGSUMMARY="MATE collection of backgrounds"
a89c2ee9ff94 mate/mate-backgrounds: initial import, closes #1448
David Demelier <markand@malikania.fr>
parents:
diff changeset
23 PKGDOWNLOAD="https://pub.mate-desktop.org/releases/1.22/$PKGNAME-$PKGVERSION.tar.xz"
a89c2ee9ff94 mate/mate-backgrounds: initial import, closes #1448
David Demelier <markand@malikania.fr>
parents:
diff changeset
24
a89c2ee9ff94 mate/mate-backgrounds: initial import, closes #1448
David Demelier <markand@malikania.fr>
parents:
diff changeset
25 build()
a89c2ee9ff94 mate/mate-backgrounds: initial import, closes #1448
David Demelier <markand@malikania.fr>
parents:
diff changeset
26 {
a89c2ee9ff94 mate/mate-backgrounds: initial import, closes #1448
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
492
a89c2ee9ff94 mate/mate-backgrounds: initial import, closes #1448
David Demelier <markand@malikania.fr>
parents:
diff changeset
30
549
bad483aace64 vanilla: use prefix= instead
David Demelier <markand@malikania.fr>
parents: 530
diff changeset
31 ./configure --prefix=
492
a89c2ee9ff94 mate/mate-backgrounds: initial import, closes #1448
David Demelier <markand@malikania.fr>
parents:
diff changeset
32 make
a89c2ee9ff94 mate/mate-backgrounds: initial import, closes #1448
David Demelier <markand@malikania.fr>
parents:
diff changeset
33 make install DESTDIR=$DESTDIR
a89c2ee9ff94 mate/mate-backgrounds: initial import, closes #1448
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 ..
492
a89c2ee9ff94 mate/mate-backgrounds: initial import, closes #1448
David Demelier <markand@malikania.fr>
parents:
diff changeset
36 rm -rf $PKGNAME-$PKGVERSION
a89c2ee9ff94 mate/mate-backgrounds: initial import, closes #1448
David Demelier <markand@malikania.fr>
parents:
diff changeset
37 }

mercurial