aboutsummaryrefslogtreecommitdiff
path: root/PKGBUILD
blob: e29ad3aae68bbad38f94b673db4e168e0be88c21 (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=svte-hg
pkgver=20100717
pkgrel=2
pkgdesc="simple virtual terminal emulator: A minimal, tabbed, VTE-based terminal"
arch=('i686' 'x86_64')
url="http://code.google.com/p/svte/"
license=('GPL')
depends=('gtk2' 'vte')
makedepends=('mercurial')
conflicts=('svte')

_hgroot=http://svte.googlecode.com/hg/
_hgrepo=svte

build() {
  cd $srcdir

  	if [ -d ${_hgrepo} ]; then
		cd ${startdir}/src/${_hgrepo}
		hg pull -u
	else
		hg clone ${_hgroot}${_hgrepo} || return 1
		cd ${startdir}/src/${_hgrepo}
	fi

  msg "Mercurial clone done or server timeout"
  msg "Starting make..."

	make || return 1
	make DESTDIR=${pkgdir} install


}