diff options
author | Abdo Roig-Maranges | 2018-08-15 10:16:57 +0200 |
---|---|---|
committer | Abdo Roig-Maranges | 2018-08-15 10:16:57 +0200 |
commit | 646f9470ae4ebdad14d29e410400e5073b27beb2 (patch) | |
tree | 900b6b5a11a9f81efad7bf8c42a45a4554a46daf | |
parent | e0ac342181feed04b6608787caf5cf8f685a571f (diff) | |
download | aur-646f9470ae4ebdad14d29e410400e5073b27beb2.tar.gz |
use a fork again, as felipec repo is long out of date
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 7 |
2 files changed, 6 insertions, 5 deletions
@@ -2,7 +2,7 @@ pkgbase = git-remote-hg-git pkgdesc = Transparent bidirectional bridge between Git and Mercurial pkgver = 0.3.r1.g822c6e4 pkgrel = 1 - epoch = 1 + epoch = 2 url = https://github.com/felipec/git-remote-hg arch = any license = GPL2 @@ -11,7 +11,7 @@ pkgbase = git-remote-hg-git depends = mercurial provides = git-remote-hg conflicts = git-remote-hg - source = git+https://github.com/felipec/git-remote-hg.git + source = git+https://github.com/mnauw/git-remote-hg.git md5sums = SKIP pkgname = git-remote-hg-git @@ -3,7 +3,7 @@ pkgname=git-remote-hg-git pkgver=0.3.r1.g822c6e4 pkgrel=1 -epoch=1 +epoch=2 provides=("git-remote-hg") conflicts=("git-remote-hg") pkgdesc="Transparent bidirectional bridge between Git and Mercurial" @@ -12,11 +12,12 @@ url="https://github.com/felipec/git-remote-hg" license=('GPL2') depends=('git' 'mercurial') makedepends=('asciidoc') -source=("git+https://github.com/felipec/git-remote-hg.git") +source=("git+https://github.com/mnauw/git-remote-hg.git") md5sums=('SKIP') pkgver() { - git --git-dir="$srcdir/git-remote-hg/.git" describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g;s/^v//g' + cd "${srcdir}/git-remote-hg" + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } build () { |