On Tue, Jun 05, 2007 at 10:25:25PM -0400, Justin Pryzby wrote:
> On Wed, Jun 06, 2007 at 01:24:11AM +0200, Daniel Leidert wrote:
> > Hi,
> > 
> > I'm again stuck with a debian/watch file. In this special case I try to
> > write watch files for garlic and garlic-doc. The sources can be found
> > at:
> > 
> > http://garlic.mefos.hr/sources/
> > 
> > So I tried the following:
> > 
> > version=3
> > http://garlic.mefos.hr/sources/garlic-([\d\.]+)/garlic-([\d\.]+).tar.gz
> I don't know if there's a better way:
> 
> |version=3
> |opts=downloadurlmangle=s:\./([^/]+)$:$1/$1.tar.gz:      \
> |  http://garlic.mefos.hr/sources/                       \
> |  ./garlic-([\d.]+)
Well, I don't know if this is better, but:

|version=3
|  http://garlic.mefos.hr/sources/([^-]*-[^-]*)/ \
|  ./garlic-([\d.]*).tar.gz


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to