updated on Wed Jan 25 20:08:56 UTC 2012
[aur-mirror.git] / xfwm4-git / PKGBUILD
blob5ede647e7f9b4ddbe7def7360c9a3515be73bf31
1 # Maintainer: cute.tec@gmail.com
3 pkgname=xfwm4-git
4 pkgver=20100610
5 pkgrel=1
6 pkgdesc="Xfce window manager"
7 arch=('i686' 'x86_64')
8 license=('GPL2')
9 url="http://git.xfce.org/xfce/xfwm4"
10 groups=('xfce4-git')
11 depends=('libxfce4ui-git' 'hicolor-icon-theme' 'libwnck')
12 optdepends=()
13 makedepends=('pkgconfig' 'git')
14 provides=('xfwm4')
15 conflicts=('xfwm4')
16 source=()
17 md5sums=()
19 _gitname=xfwm4
20 _gitroot=git://git.xfce.org/xfce/xfwm4
22 build() {
23 cd $startdir/src/
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 ../
29 else
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..."
39 ./autogen.sh
40 ./configure --enable-maintainer-mode --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib --localstatedir=/var
42 make || return 1
43 make DESTDIR=${pkgdir} install || return 1
46 # vim:set ts=2 sw=2 et: