xfce-app.bbclass: SRC_URI calculation supports multiple digit version numbers

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
This commit is contained in:
Andreas Müller 2014-10-01 14:07:28 +02:00 committed by Martin Jansa
parent 9cd59344e5
commit 14d3f7c83c

View File

@ -1,4 +1,4 @@
inherit xfce
SRC_URI = "http://archive.xfce.org/src/apps/${BPN}/${@'${PV}'[0:3]}/${BPN}-${PV}.tar.bz2"
SRC_URI = "http://archive.xfce.org/src/apps/${BPN}/${@xfce_verdir("${PV}")}/${BPN}-${PV}.tar.bz2"