updated on Tue Jan 17 12:00:36 UTC 2012
[aur-mirror.git] / pekwm-git / PKGBUILD
blob2ae8ad6fb40cbd80f9de01953c497dfe5792e79d
1 # Contributor: Sickhate
2 # Contributor: KittyKatt <kittykatt AT silverirc.com>
3 pkgname='pekwm-git'
4 pkgver='20110420'
5 pkgrel=1
6 pkgdesc="A small, fast, functional, and flexible window manager - GIT Version"
7 url="http://pekwm.org/"
8 arch=('i686' 'x86_64')
9 depends=('libjpeg' 'libpng' 'libxft' 'libxinerama' 'libxpm' 'libxrandr' 'gcc-libs')
10 makedepends=('git')
11 license=('GPL')
12 provides=('pekwm')
13 replaces=('pekwm' 'pekwm-svn')
14 conflicts=('pekwm-svn' 'pekwm')
15 source=('pekwm-git.desktop')
16 md5sums=('bde0d7769985deb9df47be1aecc733f8')
18 gitroot='http://www.pekwm.org/git/pekwm.git'
19 gitname='pekwm'
21 build() {
23   cd $startdir/src
25   msg "Connecting to projects.pekdon.net GIT server...."
27   if [ -d $startdir/src/$gitname ] ; then
28     cd $gitname && git pull origin || return 1
29   msg "The local files are updated."
30       else
31     env GIT_SSL_NO_VERIFY=true git clone $gitroot || return 1
32       cd $gitname
33     fi
35   msg "GIT checkout done"
36   msg "Starting make..."
37     
38   ./autogen.sh
39    # Default settings:
40   #    --enable-shape --disable-xinerama --enable-menus \
41   #    --enable-harbour --disable-pcre --disable-debug  \
42   #    --enable-xft --enable-image-xpm --enable-image-jpeg \
43   #    --enable-image-png --enable-xrandr
44   ./configure --prefix=/usr --sysconfdir=/etc --enable-xinerama
45  /usr/bin/make || return 1
46   /usr/bin/make DESTDIR=$startdir/pkg install
47   install -D -m644 $startdir/$pkgname.desktop \
48                    $startdir/pkg/etc/X11/sessions/$pkgname.desktop