X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@mail.alpinelinux.org Received: from mail-yw0-f54.google.com (mail-yw0-f54.google.com [209.85.213.54]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id 628961423EEE for ; Sun, 3 Jul 2011 18:20:15 +0000 (UTC) Received: by ywf7 with SMTP id 7so2294796ywf.13 for ; Sun, 03 Jul 2011 11:20:14 -0700 (PDT) X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Received: by 10.236.115.163 with SMTP id e23mr5999646yhh.287.1309717214601; Sun, 03 Jul 2011 11:20:14 -0700 (PDT) Received: by 10.236.176.74 with HTTP; Sun, 3 Jul 2011 11:20:14 -0700 (PDT) In-Reply-To: <1309703716-18526-1-git-send-email-fabian@affolter-engineering.ch> References: <1309703716-18526-1-git-send-email-fabian@affolter-engineering.ch> Date: Sun, 3 Jul 2011 13:20:14 -0500 Message-ID: Subject: Re: [alpine-devel] [PATCH] Initial APKBUILD for mr From: William Pitcock To: Fabian Affolter Cc: alpine-devel@lists.alpinelinux.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable hi, On Sun, Jul 3, 2011 at 9:35 AM, Fabian Affolter wrote: > Package description: > The mr command can checkout, update, or perform other actions on > a set of repositories as if they were one combined respository. > It supports any combination of subversion, git, cvs, mercurial, > bzr, darcs, cvs, and fossil repositories, and support for other > revision control systems can easily be added. > > It is extremely configurable via simple shell scripting. Some > examples of things it can do include: > > - Update a repository no more frequently than once every twelve hours. > - Run an arbitrary command before committing to a repository. > - When updating a git repository, pull from two different upstreams > =A0and merge the two together. > - Run several repository updates in parallel, greatly speeding up the > =A0update process. > - Remember actions that failed due to a laptop being offline, so they > =A0can be retried when it comes back online. > --- > =A0testing/mr/APKBUILD | =A0 45 +++++++++++++++++++++++++++++++++++++++++= ++++ > =A01 files changed, 45 insertions(+), 0 deletions(-) > =A0create mode 100644 testing/mr/APKBUILD > > diff --git a/testing/mr/APKBUILD b/testing/mr/APKBUILD > new file mode 100644 > index 0000000..393d13e > --- /dev/null > +++ b/testing/mr/APKBUILD > @@ -0,0 +1,45 @@ > +# Contributor: Fabian Affolter > +# Maintainer: > +pkgname=3Dmr > +pkgver=3D1.04 > +pkgrel=3D0 > +pkgdesc=3D"A multiple repository management tool" > +url=3D"http://kitenet.net/~joey/code/mr/" > +arch=3D"noarch" > +license=3D"GPL2+" > +depends=3D"perl" > +depends_dev=3D"" > +makedepends=3D"" > +install=3D"" > +subpackages=3D"$pkgname-doc" > +source=3D"http://ftp.de.debian.org/debian/pool/main/m/mr/"$pkgname"_"$pk= gver".tar.gz" > + > +_builddir=3D"$srcdir"/$pkgname > + > +build() { > + =A0 =A0 =A0 cd "$_builddir" > + =A0 =A0 =A0 make || return 1 > +} > + > +package() { > + =A0 =A0 =A0 cd "$_builddir" > + =A0 =A0 =A0 install -Dm755 $pkgname "$pkgdir"/usr/bin/$pkgname || retur= n 1 > + =A0 =A0 =A0 cd "$_builddir"/lib > + =A0 =A0 =A0 for file in git-fake-bare git-svn unison; do > + =A0 =A0 =A0 =A0 =A0 =A0 =A0 install -Dpm 0644 $file \ > + =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 "$pkgdir"/usr/share/$pkgnam= e/$file =A0|| return 1 > + =A0 =A0 =A0 done > +} > + > +doc() { > + =A0 =A0 =A0 cd "$_builddir" > + =A0 =A0mkdir -p "$subpkgdir"/usr/share/man || return 1 > + =A0 =A0mv "$_builddir"/*.1 "$subpkgdir"/usr/share/man/ || return 1 > + =A0 =A0 =A0 # Sample configuration files > + =A0 =A0 =A0 for file in mrconfig mrconfig.complex; do > + =A0 =A0 =A0 =A0 =A0 =A0 =A0 install -Dpm 0644 $file \ > + =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 "$subpkgdir"/usr/share/doc/= $pkgname/$file =A0|| return 1 > + =A0 =A0 =A0 done > +} > + > +md5sums=3D"9ddd9e5b3a90bcb08ac773ddb1cea512 =A0mr_1.04.tar.gz" > -- > 1.7.4.5 > this has been committed. however, since there is no maintainer field set, it cannot enter main even though it works fine. william --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---