updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / baulkterm / PKGBUILD
blob20e4b49c842aacd0b5e33d6c0a75a66a965d5d13
1 pkgname=baulkterm
2 pkgver=20090119
3 pkgrel=1
4 pkgdesc="BaulkTerm is a terminal emulator written in pure QT4 and is part of the Baulk tiling application manager."
5 arch=('i686' 'x86_64')
6 url="http://baulk.sf.net"
7 license=('GPL')
8 depends=('qt')
9 makedepends=('git' 'cmake>=2.6.0' 'doxygen' 'graphviz')
10 provides=('baulk')
11 conflicts=('baulk')
12 source=()
13 md5sums=()
15 _gitroot="git://gitorious.org/baulk/baulk.git"
16 _gitname="baulkTerm"
18 build() {
19         cd $srcdir
21         msg "Perusing git handles..."
22         if [[ -d $_gitname ]]; then
23                 ( cd $_gitname && git pull origin )
24         else
25                 git clone $_gitroot $_gitname
26         fi
28         msg "Git tea is ready, or it spilt all over you."
29         msg "Building..."
31         rm -rf $_gitname-build
32         cp -r $_gitname $_gitname-build
33         cd $_gitname-build/src
35         cmake -DCMAKE_INSTALL_PREFIX=/usr -DBuildBaulkTermBinary=true || return 1
36         make || return 1
37         make DESTDIR=$pkgdir install || return 1