summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..5873e5d658b
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,31 @@
+# Maintainer: Abdó Roig-Maranges <abdo.roig@gmail.com>
+
+pkgname=git-remote-hg-git
+pkgver=0.3
+pkgrel=1
+provides=("git-remote-hg")
+conflicts=("git-remote-hg")
+pkgdesc="Transparent bidirectional bridge between Git and Mercurial"
+arch=('any')
+url="https://github.com/fingolfin/git-remote-hg"
+license=('GPL2')
+depends=('git' 'mercurial')
+makedepends=('asciidoc')
+source=("git+https://github.com/fingolfin/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'
+}
+
+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: