# Maintainer: Calvin Morrison # Contributor: Dannny pkgname=mt-git pkgver=20100426 pkgrel=1 pkgdesc="mt - multi tabbed, a minimal GTK and VTE based terminal aiming to b e clean and concise" arch=('any') url="http://github.com/mutantturkey/mt/" license=('GPL' 'MIT/X') depends=('gtk2' 'vte') makedepends=('git') provides=('mt') conflicts=('mt') _gitroot=git://github.com/mutantturkey/mt.git _gitname=mt build() { cd $srcdir msg "connecting to github's GIT server...." if [ -d $startdir/src/$_gitname ] ; then cd $_gitname && git-pull origin msg "The local files are updated." else git clone $_gitroot fi msg "GIT checkout done" cd "$srcdir/$_gitname" make || return 1 make DESTDIR="$pkgdir" install || return 1 }