[ITP] moc (2.6.r3005)
Jon Turney
jon.turney@dronecode.org.uk
Mon Feb 13 18:25:43 GMT 2023
On 09/02/2023 12:54, Takashi Yano via Cygwin-apps wrote:
> NAME="moc"
> VERSION=2.6.r3005
> RELEASE=1
[...]
> SVN_URI="svn://svn.daper.net/moc/trunk"
> SVN_REV="3005"
> inherit svn
You could (and probably should) write this as
SVN_REV=${VERSION##*.r}
so you don't have to remember to update it in both places.
(See 'Remove matching prefix pattern' in the section 'Parameter
Expansion' in 'man bash')
Otherwise, looks good.
More information about the Cygwin-apps
mailing list