comparison xfce/xfwm4/xfwm4.sh @ 442:70d31f15de7a

xfce/xfwm4: initial import, closes #1504
author David Demelier <markand@malikania.fr>
date Fri, 05 Apr 2019 12:24:41 +0200
parents
children ca639101cecc
comparison
equal deleted inserted replaced
441:a2066bb49b5f 442:70d31f15de7a
1 #!/bin/sh
2 #
3 # Copyright (c) 2019 David Demelier <markand@malikania.fr>
4 #
5 # Permission to use, copy, modify, and/or distribute this software for any
6 # purpose with or without fee is hereby granted, provided that the above
7 # copyright notice and this permission notice appear in all copies.
8 #
9 # THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10 # WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11 # MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12 # ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13 # WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14 # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15 # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
16 #
17
18 PKGNAME=xfwm4
19 PKGVERSION=4.12.0
20 PKGREVISION=1
21 PKGLICENSE="GPLv2"
22 PKGSUMMARY="Xfce window manager"
23 PKGDOWNLOAD="http://archive.xfce.org/xfce/4.12/src/$PKGNAME-$PKGVERSION.tar.bz2"
24 PKGDEPENDS="core/dbus
25 desktop/libwnck2
26 desktop/startup-notification
27 graphics/gtk2
28 lib/dbus-glib
29 x11/libdrm
30 x11/libsm
31 x11/libx11
32 x11/libxcomposite
33 x11/libxext
34 x11/libxrandr
35 x11/libxrender
36 xfce/libxfce4ui
37 xfce/libxfce4util
38 xfce/xfconf"
39
40 : ${CHOST:=$(uname -m)-linux-musl}
41 : ${CBUILD:=$(uname -m)-linux-musl}
42 : ${CC:=clang}
43 : ${CFLAGS:=-O2}
44 : ${LDFLAGS:=}
45 : ${LIBS:=}
46
47 build()
48 {
49 rm -rf $PKGNAME-$PKGVERSION
50 tar xvaf $PKGNAME-$PKGVERSION.tar.bz2
51 pushd $PKGNAME-$PKGVERSION
52
53 CC="$CC" \
54 CFLAGS="$CFLAGS" \
55 LDFLAGS="$LDFLAGS" \
56 LIBS="$LIBS" \
57 ./configure \
58 --build=$CBUILD \
59 --host=$CHOST \
60 --prefix=/usr
61 make
62 make install DESTDIR=$DESTDIR itlocaledir=/usr/share/locale
63
64 popd
65 rm -rf $PKGNAME-$PKGVERSION
66 }