1 # Maintainer: cute.tec@gmail.com
6 pkgdesc="Xfce window manager"
9 url="http://git.xfce.org/xfce/xfwm4"
11 depends=('libxfce4ui-git' 'hicolor-icon-theme' 'libwnck')
13 makedepends=('pkgconfig' 'git')
20 _gitroot=git://git.xfce.org/xfce/xfwm4
24 msg "Getting sources..."
26 if [[ -d $_gitname ]] ; then
27 cd $_gitname && git pull origin || return 1
28 msg "The local files are updated." && cd ../
30 git clone $_gitroot $_gitname|| return 1
33 [ -d $_gitname-build ] && rm -r $_gitname-build
34 cp $_gitname $_gitname-build -r || return 1
35 cd $_gitname-build || return 1
37 msg "Starting build..."
40 ./configure --enable-maintainer-mode --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib --localstatedir=/var
43 make DESTDIR=${pkgdir} install || return 1
46 # vim:set ts=2 sw=2 et: