summaryrefslogtreecommitdiffstats
path: root/extra/fvwm/Pkgfile
blob: 44d0efbed2cee61ae12ba30f781380904c921145 (plain)
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
# Description: Gestionnaire de fenêtres tres flexible et plein de patch... :)
# URL: http://www.fvwm.org/
# Maintainer: NuTyX packager team
# Packager: Skippythekango at yahoo dot fr
# Depends on: librsvg, xorg
# Run on: librsvg

name=fvwm
version=2.5.30
release=1
group=app
source=(ftp://ftp.fvwm.org/pub/fvwm/version-2/$name-$version.tar.gz \
	http://fvwm.tuxfamily.org/pub/wiki/portage/files/01-fvwm-translucent-menus.patch \
	http://fvwm.tuxfamily.org/pub/wiki/portage/files/02-fvwm-menu-xlock-xlockmore-compat.diff \
	http://fvwm.tuxfamily.org/pub/wiki/portage/files/03-ColourBorders.patch \
	http://fvwm.tuxfamily.org/pub/wiki/portage/files/04-ResizeOutlineThin.patch \
	http://fvwm.tuxfamily.org/pub/wiki/portage/files/05-Conditionals.patch \
	http://fvwm.tuxfamily.org/pub/wiki/portage/files/06-FlatSeparators.patch \
	http://fvwm.tuxfamily.org/pub/wiki/portage/files/07-BorderUnderTitle.patch \
	http://fvwm.tuxfamily.org/pub/wiki/portage/files/08-InactiveFont.patch \
	http://fvwm.tuxfamily.org/pub/wiki/portage/files/09-FluxRoundedCorners.patch \
	http://fvwm.tuxfamily.org/pub/wiki/portage/files/10-TopBorder.patch \
	http://fvwm.tuxfamily.org/pub/wiki/portage/files/11-ButtonWidth.patch \
	http://fvwm.tuxfamily.org/pub/wiki/portage/files/12-MultiBorder.patch \
	http://fvwm.tuxfamily.org/pub/wiki/portage/files/13-FvwmButtonsTips.patch \
	http://fvwm.tuxfamily.org/pub/wiki/portage/files/14-FvwmIconMan.patch \
	http://fvwm.tuxfamily.org/pub/wiki/portage/files/15-Hover.patch \
	http://fvwm.tuxfamily.org/pub/wiki/portage/files/16-FirstItemUnderPointer.patch \
	http://fvwm.tuxfamily.org/pub/wiki/portage/files/17-TextOffset.patch \
	http://fvwm.tuxfamily.org/pub/wiki/portage/files/18-ThinGeometryProxy.patch \
	http://fvwm.tuxfamily.org/pub/wiki/MenuTranslucency.patch \
	http://nutyx.meticul.eu/files/patchs/$name/fvwm.desktop)

build()
{
cd $name-$version

patch -p0 < $SRC/01-fvwm-translucent-menus.patch
patch -p0 < $SRC/03-ColourBorders.patch
patch -p0 < $SRC/04-ResizeOutlineThin.patch
patch -p0 < $SRC/05-Conditionals.patch
patch -p0 < $SRC/06-FlatSeparators.patch
patch -p0 < $SRC/07-BorderUnderTitle.patch
patch -p0 < $SRC/08-InactiveFont.patch
patch -p0 < $SRC/09-FluxRoundedCorners.patch
patch -p0 < $SRC/10-TopBorder.patch
patch -p0 < $SRC/11-ButtonWidth.patch
patch -p0 < $SRC/12-MultiBorder.patch
patch -p0 < $SRC/13-FvwmButtonsTips.patch
patch -p0 < $SRC/14-FvwmIconMan.patch
patch -p0 < $SRC/15-Hover.patch
patch -p0 < $SRC/16-FirstItemUnderPointer.patch
patch -p0 < $SRC/17-TextOffset.patch
patch -p0 < $SRC/18-ThinGeometryProxy.patch

./configure --prefix=/usr \
	--sysconfdir=/etc \
	--libexecdir=/usr/lib \
	--with-xft-prefix=/usr \
	--with-fontconfig=/usr \
	--disable-bidi \
	--disable-gtk \
	--disable-iconv \
    --enable-imlib
make
make DESTDIR=$PKG install

install -D -m644 $SRC/fvwm.desktop $PKG/usr/share/xsessions/fvwm.desktop

}