[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#22242: Help constructing source URL
From: |
Leo Famulari |
Subject: |
bug#22242: Help constructing source URL |
Date: |
Sat, 26 Dec 2015 11:48:26 -0500 |
User-agent: |
Mutt/1.5.24 (2015-08-30) |
On Sat, Dec 26, 2015 at 08:46:38AM +0100, Ricardo Wurmus wrote:
>
> Leo Famulari <address@hidden> writes:
>
> > Our tinyproxy package needs to be updated to use the current source URL.
> >
> > The current URL is:
> > https://download.banu.com/tinyproxy/1.8/tinyproxy-1.8.3.tar.gz
> >
> > I don't know how to abstract the "1.8" directory to account for other
> > versions.
>
> How about this:
>
> (string-append "https://download.banu.com/tinyproxy/"
> (version-major+minor version)
> "/tinyproxy-" version ".tar.gz")
Thanks! I've updated the package definition using this method.
>
> ~~ Ricardo
>