summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAbdo Roig-Maranges2016-04-04 00:14:40 +0200
committerAbdo Roig-Maranges2016-04-04 00:16:26 +0200
commit67f1ddeab476e4ac004975e54934eca1148c6914 (patch)
tree8beb0cb38c689668bd366b9ba311dfb69c79e8e8
downloadaur-67f1ddeab476e4ac004975e54934eca1148c6914.tar.gz
Initial commit
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD31
2 files changed, 48 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..670e54e7a7d
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+pkgbase = git-remote-hg-git
+ pkgdesc = Transparent bidirectional bridge between Git and Mercurial
+ pkgver = 0.3
+ pkgrel = 1
+ url = https://github.com/fingolfin/git-remote-hg
+ arch = any
+ license = GPL2
+ makedepends = asciidoc
+ depends = git
+ depends = mercurial
+ provides = git-remote-hg
+ conflicts = git-remote-hg
+ source = git+https://github.com/fingolfin/git-remote-hg.git
+ md5sums = SKIP
+
+pkgname = git-remote-hg-git
+
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: