updated on Tue Jan 10 08:08:34 UTC 2012
[aur-mirror.git] / sb-git / PKGBUILD
blobc9a0caa3faaef8e37333039ff7157dcb3372f652
1 # Maintainer: Calvin Morrison <mutantturkey@gmail.com>
2 # Contributor:  Dannny <danny.a95@gmail.com>
4 pkgname=sb-git
5 pkgver=20100506
6 pkgrel=1
7 pkgdesc="sb - a simple tabbed webkit browser, aims to suckless, while still being a full featured browser for the modern desktop."
8 arch=('i686' 'x86_64')
9 url="http://github.com/mutantturkey/sb/"
10 license=('GPL' 'MIT/X')
11 depends=('gtk2' 'libwebkit' 'dmenu-vertical' 'moreutils')
12 makedepends=('git')
13 provides=('sb')
14 conflicts=('sb')
16 _gitroot=git://github.com/mutantturkey/sb.git
17 _gitname=sb
19 build() {
20   cd $srcdir
22   msg "connecting to github's GIT server...."
24   if [ -d $startdir/src/$_gitname ] ; then
25     cd $_gitname && git-pull origin
26     msg "The local files are updated."
27   else
28     git clone $_gitroot
29   fi
31   msg "GIT checkout done"
33   cd "$srcdir/$_gitname"
34   make || return 1
35   make DESTDIR="$pkgdir" install || return 1