updated on Sun Jan 15 08:01:04 UTC 2012
[aur-mirror.git] / sawfish-pager-git / PKGBUILD
blobbeb4e2f13bf82021424943a02305db75274263ff
1 # Contributor: Thomas Dziedzic < gostrc at gmail >
2 # Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
4 pkgname=sawfish-pager-git
5 pkgver=20110507
6 pkgrel=1
7 pkgdesc='A pager for the git-version of sawfish'
8 arch=('i686' 'x86_64')
9 url='http://sawfish.wikia.com'
10 license=('GPL')
11 depends=('sawfish-git')
12 makedepends=('git' 'rep-gtk-git' 'gettext')
13 provides=('sawfish-pager')
14 conflicts=('sawfish-pager')
15 options=('!libtool')
16 source=()
17 md5sums=()
19 _gitroot='git://git.tuxfamily.org/gitroot/sawfishpager/pager.git'
20 _gitname='pager'
22 build() {
23   msg "Connecting to GIT server...."
25   if [ -d $_gitname ] ; then
26     (cd $_gitname && git pull origin)
27   else
28     git clone $_gitroot
29   fi
31   msg "GIT checkout done or server timeout"
32   msg "Starting make..."
34   [ -d $_gitname-build ] && rm -rf $_gitname-build
35   git clone $_gitname $_gitname-build
36   cd $_gitname-build
38   ./autogen.sh 
39   ./configure --prefix=/usr 
40   make 
42 package() {
43   cd $_gitname-build
44   make DESTDIR="$pkgdir" install 
45