updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / mt-git / PKGBUILD
blob08cd108eb68b7f279de8261c40665c51ef6daff5
1 # Maintainer: Calvin Morrison <mutantturkey@gmail.com>
2 # Contributor:  Dannny <danny.a95@gmail.com>
4 pkgname=mt-git
5 pkgver=20100425
6 pkgrel=1
7 pkgdesc="mt - multi term, a minimal GTK and VTE based terminal aiming to be clean and concise"
8 arch=('any')
9 url="http://github.com/mutantturkey/mt/"
10 license=('GPL' 'MIT/X')
11 depends=('gtk2' 'vte')
12 makedepends=('git')
13 provides=('mt')
14 conflicts=('mt')
16 _gitroot=git://github.com/mutantturkey/mt.git
17 _gitname=mt
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