aboutsummaryrefslogtreecommitdiff
path: root/PKGBUILD
blob: 01553102f5bc6422ecb1737bb435ba14c7cf1807 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Maintainer: Calvin Morrison <mutantturkey@gmail.com>
# Contributor:  Dannny <danny.a95@gmail.com>

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
}