summaryrefslogtreecommitdiffstats
path: root/meta-xfce/classes/xfce.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta-xfce/classes/xfce.bbclass')
-rw-r--r--meta-xfce/classes/xfce.bbclass7
1 files changed, 6 insertions, 1 deletions
diff --git a/meta-xfce/classes/xfce.bbclass b/meta-xfce/classes/xfce.bbclass
index 2350c2703f..f4ef55643b 100644
--- a/meta-xfce/classes/xfce.bbclass
+++ b/meta-xfce/classes/xfce.bbclass
@@ -1,5 +1,10 @@
1def xfce_verdir(v):
2 import re
3 m = re.match("^([0-9]+)\.([0-9]+)", v)
4 return "%s.%s" % (m.group(1), m.group(2))
5
1HOMEPAGE = "http://www.xfce.org" 6HOMEPAGE = "http://www.xfce.org"
2SRC_URI = "http://archive.xfce.org/src/xfce/${BPN}/${@'${PV}'[0:3]}/${BPN}-${PV}.tar.bz2" 7SRC_URI = "http://archive.xfce.org/src/xfce/${BPN}/${@xfce_verdir("${PV}")}/${BPN}-${PV}.tar.bz2"
3 8
4inherit autotools gettext gtk-icon-cache pkgconfig 9inherit autotools gettext gtk-icon-cache pkgconfig
5 10