summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoshua Haase (xihh)2016-03-17 16:33:42 -0600
committerJoshua Haase (xihh)2016-03-17 16:33:42 -0600
commit74c5fd47377f388046bc1807cc14f8a0e08fe434 (patch)
tree0634bf4543b2559d40b92921cfcdbe2b96087d6b
downloadaur-74c5fd47377f388046bc1807cc14f8a0e08fe434.tar.gz
First commit for myrepos-git.
-rw-r--r--.SRCINFO34
-rw-r--r--PKGBUILD59
2 files changed, 93 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..a12491cc9f8
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,34 @@
+pkgbase = myrepos-git
+ pkgdesc = Multiple Repository management tool
+ pkgver = 1.20160122
+ pkgrel = 1
+ url = http://myrepos.branchable.com
+ arch = any
+ license = GPL2
+ makedepends = git
+ depends = perl
+ optdepends = bzr: support for bzr repositories
+ optdepends = cvs: support for cvs repositories
+ optdepends = darcs: support for darcs repositories
+ optdepends = git-annex: support for git-annex clones
+ optdepends = gitk: support for visualizing git repository history
+ optdepends = git: support for git repositories
+ optdepends = mercurial: support for mercurial repositories
+ optdepends = perl-html-parser: support for webcheckout
+ optdepends = perl-libwww: support for webcheckout
+ optdepends = perl-uri: support for webcheckout heuristically guessing partial URLs
+ optdepends = repo: support for repo repositories
+ optdepends = svn: support for subversion repositories
+ optdepends = unison: support for unison as a vcs
+ optdepends = vcsh: support for vcsh
+ provides = mr
+ provides = myrepos
+ provides = webcheckout
+ conflicts = mr
+ conflicts = myrepos
+ conflicts = webcheckout
+ source = myrepos::git+https://github.com/joeyh/myrepos
+ sha256sums = SKIP
+
+pkgname = myrepos-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..b940f584644
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,59 @@
+# Maintainer: Joshua Haase <hahj87@gmail.com>
+# Contributor: Matjaž Mozetič (https://github.com/sysadminmatmoz)
+# Contributor: Vincent Demeester (vincent@sbr.pm)
+# Contributor: Nicolas Pouillard (http://nicolaspouillard.fr)
+# Contributor: Peter Simons <simons@cryp.to>
+# Contributor: Andreas Hilboll <andreas@hilboll.de>
+# Contributor: kljohann@gmail.com
+# Contributor: Andy Weidenbaum <archbaum@gmail.com>
+
+pkgname=myrepos-git
+pkgver=1.20160122
+pkgver() {
+ cd "$srcdir/${pkgname%-git}"
+ printf "%s" "$(git describe --tags | sed 's/\([^-]*-\)g/r\1/;s/-/./g')"
+}
+pkgrel=1
+pkgdesc="Multiple Repository management tool"
+arch=('any')
+depends=('perl')
+makedepends=('git')
+optdepends=('bzr: support for bzr repositories'
+ 'cvs: support for cvs repositories'
+ 'darcs: support for darcs repositories'
+ 'git-annex: support for git-annex clones'
+ 'gitk: support for visualizing git repository history'
+ 'git: support for git repositories'
+ 'mercurial: support for mercurial repositories'
+ 'perl-html-parser: support for webcheckout'
+ 'perl-libwww: support for webcheckout'
+ 'perl-uri: support for webcheckout heuristically guessing partial URLs'
+ 'repo: support for repo repositories'
+ 'svn: support for subversion repositories'
+ 'unison: support for unison as a vcs'
+ 'vcsh: support for vcsh')
+url="http://myrepos.branchable.com"
+license=('GPL2')
+source=("${pkgname%-git}::git+https://github.com/joeyh/${pkgname%-git}")
+sha256sums=('SKIP')
+provides=('mr' 'myrepos' 'webcheckout')
+conflicts=('mr' 'myrepos' 'webcheckout')
+
+build() {
+ cd "$srcdir/${pkgname%-git}"
+ make
+}
+
+check() {
+ cd "$srcdir/${pkgname%-git}"
+ make test
+}
+
+package() {
+ cd "$srcdir/${pkgname%-git}"
+ make DESTDIR="$pkgdir" PREFIX=/usr install
+ install -D README -t "$pkgdir/usr/share/doc/mr/"
+ install -D mrconfig "$pkgdir/usr/share/doc/mr/"mrconfig.example
+ install -D mrconfig.complex "$pkgdir/usr/share/doc/mr/"mrconfig.complex.example
+
+}