1 # Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org
5 pkgdesc="A multiple large virtual desktop window manager originally derived from twm."
7 url="http://www.fvwm.org"
8 license=('GPL' 'custom')
9 depends=('imlib' 'fribidi' 'perl' 'libstroke' 'libxpm' 'librsvg' 'libxinerama' 'libxcursor')
10 makedepends=('libxslt')
11 provides=('fvwm-devel')
12 conflicts=('fvwm-devel' 'fvwm')
13 makedepends=('cvs' 'libxslt')
14 options=('!emptydirs')
15 source=(fvwm2.desktop)
16 md5sums=('e52a6ef25a936dcf3ad0e58f2e9ed0ea')
20 _cvsroot=":pserver:anonymous:guest@cvs.fvwm.org:/home/cvs"
25 msg "Connecting to $_cvsmod.sourceforge.net CVS server...."
26 cvs -z9 -d $_cvsroot/$_cvsmod co -D $pkgver -f $_cvsmod || return 1
29 autoheader || return 1
30 automake --add-missing || return 1
31 autoreconf || return 1
33 msg "CVS checkout done or server timeout"
34 msg "Starting make..."
36 rm -rf ../$_cvsmod-build
37 cp -r ../$_cvsmod ../$_cvsmod-build
40 ./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib --with-stroke-library
45 cd "${srcdir}/${_cvsmod}-build"
46 make DESTDIR="${pkgdir}" install
48 install -d "${pkgdir}/etc/fvwm"
49 rm -rf sample.fvwmrc/CVS
50 install -D -m644 sample.fvwmrc/* "${pkgdir}/etc/fvwm"
51 rm -f "${pkgdir}"/etc/fvwm/Makefile*
52 install -D -m644 ../fvwm2.desktop "${pkgdir}/usr/share/xsessions/fvwm2.desktop"
53 install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"