summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b91d4dc45c95cc9aa3e016b348ba0db00d891e2b (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
#Maintainer: Maxim Petrov <maximpetrov [at] yahoo.com>
pkgname=hgtui-hg

_hgrepo="hgtui"
source=("hg+https://bitbucket.org/hgtui/$_hgrepo")

pkgver=378
pkgrel=2
pkgdesc="Textual user interface frontend for DSCM mercurial"
arch=('any')
url="http://code.google.com/p/hgtui/"
license=('GPL')
makedepends=('mercurial' 'gettext')
depends=('python2' 'python2-lxml' 'mercurial' 'ncurses')
provides=('hgtui')
conflicts=('hgtui')
install=

md5sums=("SKIP")

package() {
  cd "$srcdir/$_hgrepo"
  python2 setup.py install --root="${pkgdir}/"
  make -C po build
  DESTDIR=${pkgdir} make -C po install
  make -C po clean
}

pkgver() {
  cd "$srcdir/$_hgrepo"
  hg identify -n
}