summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2017-04-30 13:35:13 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2017-05-01 09:48:58 +0200
commit2ccfbb0fd792136cbc7e3480214daee70dcc50d5 (patch)
tree930827fff6a256cf3ff1941e033aff03325778cb /eclass
parentkde4-base.eclass: Add SRC_URI for KDE PIM 4.14.11_pre20160611 snapshots (diff)
downloadgentoo-2ccfbb0fd792136cbc7e3480214daee70dcc50d5.tar.gz
gentoo-2ccfbb0fd792136cbc7e3480214daee70dcc50d5.tar.bz2
gentoo-2ccfbb0fd792136cbc7e3480214daee70dcc50d5.zip
kde4-meta.eclass: Limit _pre extra mangling to 20160211 snapshot
Diffstat (limited to 'eclass')
-rw-r--r--eclass/kde4-meta.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/kde4-meta.eclass b/eclass/kde4-meta.eclass
index bcbee1a9f1b..e07161d2160 100644
--- a/eclass/kde4-meta.eclass
+++ b/eclass/kde4-meta.eclass
@@ -184,7 +184,7 @@ kde4-meta_src_extract() {
if [[ ${PV} =~ 4.4.11 ]]; then
postfix="bz2"
KMTARPARAMS+=" --bzip2"
- elif [[ ${PV} =~ _pre ]]; then
+ elif [[ ${PV} =~ _pre20160211 ]]; then
postfix="gz"
KMTARPARAMS+=" --gz"
else
@@ -200,7 +200,7 @@ kde4-meta_src_extract() {
# Detect real toplevel dir from tarball name - it will be used upon extraction
# and in _list_needed_subdirectories
topdir="${tarball%.tar.*}/"
- if [[ ${topdir} =~ _pre ]]; then
+ if [[ ${topdir} =~ _pre20160211 ]]; then
topdir="${topdir%-$PV*}/"
fi