1 # Contributor: Sickhate
2 # Contributor: KittyKatt <kittykatt AT silverirc.com>
6 pkgdesc="A small, fast, functional, and flexible window manager - GIT Version"
7 url="http://pekwm.org/"
9 depends=('libjpeg' 'libpng' 'libxft' 'libxinerama' 'libxpm' 'libxrandr' 'gcc-libs')
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'
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."
31 env GIT_SSL_NO_VERIFY=true git clone $gitroot || return 1
35 msg "GIT checkout done"
36 msg "Starting make..."
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