blob: dc8ceab14be182302985a368189c1b94b1a05131 (
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
|
# Contributor: Vsevolod Balashov <vsevolod@balashov.name>
# Contributor: Egor Kuropatkin <egor.k8n@gmail.com>
# Contributor: Egor Laufer <egor.l4r@gmail.com>
#
name=hg-git
pkgname=$name-hg
pkgver=1860.d6672f726bcf
pkgrel=1
pkgdesc="the Hg-Git mercurial plugin"
arch=(any)
url="http://hg-git.github.io/"
license=('GPL2')
depends=('mercurial' 'python-dulwich')
makedepends=('mercurial' 'python-setuptools-scm')
provides=('hg-git')
conflicts=('hg-git')
source=('hg+https://foss.heptapod.net/mercurial/hg-git'
'hggit.rc')
md5sums=('SKIP'
'592a454e09f498074c57a5b7e383e808')
pkgver() {
cd "$srcdir/$name"
hg identify -ni | awk 'BEGIN{OFS=".";} {print $2,$1}'
}
package() {
cd $srcdir/$name
python setup.py install --prefix=/usr --root=$pkgdir
install -m0644 -D "${srcdir}/hggit.rc" "${pkgdir}/etc/mercurial/hgrc.d/hggit.rc"
}
|