summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8468e19aeea874145d7ec475901aa8999836d9a0 (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
# Maintainer: Abdó Roig-Maranges <abdo.roig@gmail.com>

pkgname=git-remote-hg-git
pkgver=r285.f050de1
pkgrel=1
epoch=2
provides=("git-remote-hg")
conflicts=("git-remote-hg")
pkgdesc="Transparent bidirectional bridge between Git and Mercurial"
arch=('any')
url="https://github.com/mnauw/git-remote-hg"
license=('GPL2')
depends=('git' 'mercurial')
makedepends=('asciidoc')
source=("git+https://github.com/mnauw/git-remote-hg.git")
md5sums=('SKIP')

pkgver() {
  cd "${srcdir}/git-remote-hg"
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build () {
  cd "$srcdir/git-remote-hg"
  make all doc
}

package () {
  cd "$srcdir/git-remote-hg"
  make prefix=/usr DESTDIR="$pkgdir" install install-doc
}

# vim:set ts=2 sw=2 et: