annotate x11/xcb-proto/xcb-proto.sh @ 1050:04aff963363f

system/pm-utils: initial import, closes #1069
author David Demelier <markand@malikania.fr>
date Fri, 30 Aug 2019 22:37:36 +0200
parents ddab65a5b3f5
children 6710613b88b9
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1019
ddab65a5b3f5 vanilla: use /bin/busybox sh as default shell
David Demelier <markand@malikania.fr>
parents: 902
diff changeset
1 #!/bin/busybox sh
201
8786a3791cc9 x11/xcb-proto: initial import, closes #1347
David Demelier <markand@malikania.fr>
parents:
diff changeset
2 #
8786a3791cc9 x11/xcb-proto: initial import, closes #1347
David Demelier <markand@malikania.fr>
parents:
diff changeset
3 # Copyright (c) 2019 David Demelier <markand@malikania.fr>
8786a3791cc9 x11/xcb-proto: initial import, closes #1347
David Demelier <markand@malikania.fr>
parents:
diff changeset
4 #
8786a3791cc9 x11/xcb-proto: initial import, closes #1347
David Demelier <markand@malikania.fr>
parents:
diff changeset
5 # Permission to use, copy, modify, and/or distribute this software for any
8786a3791cc9 x11/xcb-proto: initial import, closes #1347
David Demelier <markand@malikania.fr>
parents:
diff changeset
6 # purpose with or without fee is hereby granted, provided that the above
8786a3791cc9 x11/xcb-proto: initial import, closes #1347
David Demelier <markand@malikania.fr>
parents:
diff changeset
7 # copyright notice and this permission notice appear in all copies.
8786a3791cc9 x11/xcb-proto: initial import, closes #1347
David Demelier <markand@malikania.fr>
parents:
diff changeset
8 #
8786a3791cc9 x11/xcb-proto: initial import, closes #1347
David Demelier <markand@malikania.fr>
parents:
diff changeset
9 # THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
8786a3791cc9 x11/xcb-proto: initial import, closes #1347
David Demelier <markand@malikania.fr>
parents:
diff changeset
10 # WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
8786a3791cc9 x11/xcb-proto: initial import, closes #1347
David Demelier <markand@malikania.fr>
parents:
diff changeset
11 # MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
8786a3791cc9 x11/xcb-proto: initial import, closes #1347
David Demelier <markand@malikania.fr>
parents:
diff changeset
12 # ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
8786a3791cc9 x11/xcb-proto: initial import, closes #1347
David Demelier <markand@malikania.fr>
parents:
diff changeset
13 # WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
8786a3791cc9 x11/xcb-proto: initial import, closes #1347
David Demelier <markand@malikania.fr>
parents:
diff changeset
14 # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
8786a3791cc9 x11/xcb-proto: initial import, closes #1347
David Demelier <markand@malikania.fr>
parents:
diff changeset
15 # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
8786a3791cc9 x11/xcb-proto: initial import, closes #1347
David Demelier <markand@malikania.fr>
parents:
diff changeset
16 #
8786a3791cc9 x11/xcb-proto: initial import, closes #1347
David Demelier <markand@malikania.fr>
parents:
diff changeset
17
8786a3791cc9 x11/xcb-proto: initial import, closes #1347
David Demelier <markand@malikania.fr>
parents:
diff changeset
18 PKGNAME=xcb-proto
8786a3791cc9 x11/xcb-proto: initial import, closes #1347
David Demelier <markand@malikania.fr>
parents:
diff changeset
19 PKGVERSION=1.13
8786a3791cc9 x11/xcb-proto: initial import, closes #1347
David Demelier <markand@malikania.fr>
parents:
diff changeset
20 PKGREVISION=1
8786a3791cc9 x11/xcb-proto: initial import, closes #1347
David Demelier <markand@malikania.fr>
parents:
diff changeset
21 PKGLICENSE="CUSTOM"
8786a3791cc9 x11/xcb-proto: initial import, closes #1347
David Demelier <markand@malikania.fr>
parents:
diff changeset
22 PKGSUMMARY="XML-XCB protocol descriptions"
8786a3791cc9 x11/xcb-proto: initial import, closes #1347
David Demelier <markand@malikania.fr>
parents:
diff changeset
23 PKGDOWNLOAD="https://xcb.freedesktop.org/dist/$PKGNAME-$PKGVERSION.tar.gz"
902
a133976e0783 vanilla: remove all origins, closes #2203
David Demelier <markand@malikania.fr>
parents: 606
diff changeset
24 PKGDEPENDS="python"
201
8786a3791cc9 x11/xcb-proto: initial import, closes #1347
David Demelier <markand@malikania.fr>
parents:
diff changeset
25
8786a3791cc9 x11/xcb-proto: initial import, closes #1347
David Demelier <markand@malikania.fr>
parents:
diff changeset
26 build()
8786a3791cc9 x11/xcb-proto: initial import, closes #1347
David Demelier <markand@malikania.fr>
parents:
diff changeset
27 {
8786a3791cc9 x11/xcb-proto: initial import, closes #1347
David Demelier <markand@malikania.fr>
parents:
diff changeset
28 rm -rf $PKGNAME-$PKGVERSION
606
25cecc6dca48 vanilla: use POSIX shell and busybox tar
David Demelier <markand@malikania.fr>
parents: 549
diff changeset
29 tar xvf $PKGNAME-$PKGVERSION.tar.gz
25cecc6dca48 vanilla: use POSIX shell and busybox tar
David Demelier <markand@malikania.fr>
parents: 549
diff changeset
30 cd $PKGNAME-$PKGVERSION
201
8786a3791cc9 x11/xcb-proto: initial import, closes #1347
David Demelier <markand@malikania.fr>
parents:
diff changeset
31
549
bad483aace64 vanilla: use prefix= instead
David Demelier <markand@malikania.fr>
parents: 541
diff changeset
32 ./configure --prefix=
201
8786a3791cc9 x11/xcb-proto: initial import, closes #1347
David Demelier <markand@malikania.fr>
parents:
diff changeset
33 make
8786a3791cc9 x11/xcb-proto: initial import, closes #1347
David Demelier <markand@malikania.fr>
parents:
diff changeset
34 make install DESTDIR=$DESTDIR
8786a3791cc9 x11/xcb-proto: initial import, closes #1347
David Demelier <markand@malikania.fr>
parents:
diff changeset
35
606
25cecc6dca48 vanilla: use POSIX shell and busybox tar
David Demelier <markand@malikania.fr>
parents: 549
diff changeset
36 cd ..
201
8786a3791cc9 x11/xcb-proto: initial import, closes #1347
David Demelier <markand@malikania.fr>
parents:
diff changeset
37 rm -rf $PKGNAME-$PKGVERSION
8786a3791cc9 x11/xcb-proto: initial import, closes #1347
David Demelier <markand@malikania.fr>
parents:
diff changeset
38 }