updated on Wed Jan 18 08:00:29 UTC 2012
[aur-mirror.git] / svte-hg / PKGBUILD
blobe29ad3aae68bbad38f94b673db4e168e0be88c21
1 # Maintainer: Calvin Morrison <mutantturkey@gmail.com>
2 # Contributor:  Dannny <danny.a95@gmail.com>
4 pkgname=svte-hg
5 pkgver=20100717
6 pkgrel=2
7 pkgdesc="simple virtual terminal emulator: A minimal, tabbed, VTE-based terminal"
8 arch=('i686' 'x86_64')
9 url="http://code.google.com/p/svte/"
10 license=('GPL')
11 depends=('gtk2' 'vte')
12 makedepends=('mercurial')
13 conflicts=('svte')
15 _hgroot=http://svte.googlecode.com/hg/
16 _hgrepo=svte
18 build() {
19   cd $srcdir
21         if [ -d ${_hgrepo} ]; then
22                 cd ${startdir}/src/${_hgrepo}
23                 hg pull -u
24         else
25                 hg clone ${_hgroot}${_hgrepo} || return 1
26                 cd ${startdir}/src/${_hgrepo}
27         fi
29   msg "Mercurial clone done or server timeout"
30   msg "Starting make..."
32         make || return 1
33         make DESTDIR=${pkgdir} install