# Maintainer: Arnaud Fortier pkgname=fvwm-patched pkgver=2.5.25 pkgrel=2 pkgdesc="A multiple large virtual desktop window manager originally derived from twm patched with http://abdn.ac.uk/~u15dm4/fvwm/ and some other" url="http://www.fvwm.org" depends=('imlib' 'fribidi' 'perl' 'libstroke' 'libxpm' 'libxinerama' 'readline' 'libxft' 'termcap-compat' 'librsvg') conflicts=('fvwm' 'fvwm-devel') provide=('fvwm''fvwm-devel') options=('docs') source=(ftp://ftp.fvwm.org/pub/fvwm/version-2/fvwm-$pkgver.tar.bz2 $pkgname.desktop 01-fvwm-translucent-menus.patch 02-fvwm-menu-xlock-xlockmore-compat.patch 03-ColourBorders.patch 04-ResizeOutlineThin.patch 05-Conditionals.patch 06-FlatSeparators.patch 07-BorderUnderTitle.patch 08-InactiveFont.patch 09-FluxRoundedCorners.patch 10-TopBorder.patch 11-ButtonWidth.patch 12-MultiBorder.patch 13-FvwmButtonsTips.patch 14-FvwmIconMan.patch 15-Hover.patch 16-FirstItemUnderPointer.patch 17-TextOffset.patch 18-ThinGeometryProxy.patch README.translucency) md5sums=('f220489bd5619f10d2673c2d4d38436b' 'e298c89dd8f7315c90d839dbac068670' '4b68e51fe69d9e6b124deaa0156bca7a' 'd91fb7d2af57653fc93a70e6e1c0a0ea' '8afc398a1072ef4dd5f9ff258c3bb6fa' 'b1f104496906aea86d7cfe600ccd8be8' 'fdb78083da0f0149ce4f32392e58a95e' 'a8d359437e5e152a83a69f17a49e992a' 'a4e89818e29436165e99e49819f48464' '24be0e9b84289c2279226eb3a205a9c6' '5e9d451ce6ab5bc13d9082a185963e20' '3b4c3c63943c39615d5d1c9143a95763' 'a8312189b8e5d9d2c294d7cce66fe271' '19500b8bdd9dc36909e8f0b7df49cbac' '2fad482843638c385a4066275b82cdca' '64ce6e92d9466e40c462431a76232ddc' '951bd67053093e8a0c253c2ed8af95aa' 'c12d238cbefc25bd19879401c327e6fe' 'd41d8cd98f00b204e9800998ecf8427e' '9df3958e5b2e1f3c5ed3721e2f3a5cdd' '9e8e5c601353e0933820fc4f2f543c13' ) arch=('i686' 'x86_64') license=('GPL') build() { cd $startdir/src/fvwm-$pkgver for i in 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 do case $i in "02")patch -p1 < $startdir/src/${i}*;; *)patch -p0 < $startdir/src/${i}*;; esac done ./configure --prefix=/usr \ --sysconfdir=/etc \ --libexecdir=/usr/lib \ --with-xft-prefix=/usr \ --with-fontconfig=/usr \ --with-stroke \ --enable-perllib \ --enable-xinerama \ --enable-bidi \ --enable-nls --enable-iconv \ --enable-xft make || return 1 make DESTDIR=$startdir/pkg install mkdir -p $startdir/pkg/etc/fvwm cp sample.fvwmrc/* $startdir/pkg/etc/fvwm rm -f $startdir/pkg/etc/fvwm/{Makefile,Makefile.am,Makefile.in} install -Dm 644 ../$pkgname.desktop \ $startdir/pkg/etc/X11/sessions/$pkgname.desktop }