updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / evilpoison-git / PKGBUILD
blob79e8ed32df1df9a0e4b2cd871022567e94e3d5ee
1 # Contributor: Alex Brown <alexpbrown9@gmail.com>
2 pkgname=evilpoison-git
3 pkgver=20090630
4 pkgrel=1
5 pkgdesc="A non-wimp window manager for X11 based loosely on EvilWM and RatPoison "
6 arch=('i686')
7 url="http://clivecrous.lighthouseapp.com/projects/11269/home"
8 license=('custom')
9 depends=('libx11' 'libxinerama')
10 makedepends=('git')
11 provides=('evilpoison')
12 source=()
13 md5sums=()
15 _gitroot="git://github.com/clivecrous/evilpoison.git"
16 _gitname="evilpoison"
18 build() {
19   cd "$srcdir"
20   
21   msg "Connecting to GIT server..."
22   if [[ -d $_gitname ]]; then
23     (cd $_gitname && git pull origin)
24   else
25     git clone $_gitroot $_gitname
26   fi
27   msg "GIT checkout done or server timeout"
28   
29   msg "Starting make..."
30   cd $_gitname
31   make || return 1
33   install -D -m775 src/evilpoison $startdir/pkg/usr/bin/evilpoison 
34   install -D -m644 doc/README $startdir/pkg/usr/share/licenses/$pkgname/README