summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2016-04-07 22:43:55 -0400
committerMike Gilbert <floppym@gentoo.org>2016-04-07 22:46:10 -0400
commit3b663adb4abdbc2213564f76e43461a29cf0a188 (patch)
treeb4eb88464eb48b7491fded91275aa3bca178d949 /www-plugins
parentwww-client/google-chrome: bump (diff)
downloadgentoo-3b663adb4abdbc2213564f76e43461a29cf0a188.tar.gz
gentoo-3b663adb4abdbc2213564f76e43461a29cf0a188.tar.bz2
gentoo-3b663adb4abdbc2213564f76e43461a29cf0a188.zip
www-plugins/chrome-binary-plugins: Remove version suffix
Package-Manager: portage-2.2.28_p64
Diffstat (limited to 'www-plugins')
-rw-r--r--www-plugins/chrome-binary-plugins/chrome-binary-plugins-49.0.2623.110.ebuild (renamed from www-plugins/chrome-binary-plugins/chrome-binary-plugins-49.0.2623.110_p1.ebuild)11
-rw-r--r--www-plugins/chrome-binary-plugins/chrome-binary-plugins-50.0.2661.66_beta.ebuild (renamed from www-plugins/chrome-binary-plugins/chrome-binary-plugins-50.0.2661.66_beta1.ebuild)11
-rw-r--r--www-plugins/chrome-binary-plugins/chrome-binary-plugins-51.0.2700.0_alpha.ebuild (renamed from www-plugins/chrome-binary-plugins/chrome-binary-plugins-51.0.2700.0_alpha1.ebuild)11
3 files changed, 12 insertions, 21 deletions
diff --git a/www-plugins/chrome-binary-plugins/chrome-binary-plugins-49.0.2623.110_p1.ebuild b/www-plugins/chrome-binary-plugins/chrome-binary-plugins-49.0.2623.110.ebuild
index 4babbfc63bbc..23cd900adc0e 100644
--- a/www-plugins/chrome-binary-plugins/chrome-binary-plugins-49.0.2623.110_p1.ebuild
+++ b/www-plugins/chrome-binary-plugins/chrome-binary-plugins-49.0.2623.110.ebuild
@@ -13,20 +13,17 @@ case ${PV} in
*_alpha*)
SLOT="unstable"
CHROMEDIR="opt/google/chrome-${SLOT}"
- MY_PV=${PV/_alpha/-}
+ MY_PV=${PV%_alpha}-1
;;
*_beta*)
SLOT="beta"
CHROMEDIR="opt/google/chrome-${SLOT}"
- MY_PV=${PV/_beta/-}
+ MY_PV=${PV%_beta}-1
;;
- *_p*)
+ *)
SLOT="stable"
CHROMEDIR="opt/google/chrome"
- MY_PV=${PV/_p/-}
- ;;
- *)
- die "Invalid value for \${PV}: ${PV}"
+ MY_PV=${PV}-1
;;
esac
diff --git a/www-plugins/chrome-binary-plugins/chrome-binary-plugins-50.0.2661.66_beta1.ebuild b/www-plugins/chrome-binary-plugins/chrome-binary-plugins-50.0.2661.66_beta.ebuild
index 1dbafa6a762d..b246cc856ff6 100644
--- a/www-plugins/chrome-binary-plugins/chrome-binary-plugins-50.0.2661.66_beta1.ebuild
+++ b/www-plugins/chrome-binary-plugins/chrome-binary-plugins-50.0.2661.66_beta.ebuild
@@ -13,20 +13,17 @@ case ${PV} in
*_alpha*)
SLOT="unstable"
CHROMEDIR="opt/google/chrome-${SLOT}"
- MY_PV=${PV/_alpha/-}
+ MY_PV=${PV%_alpha}-1
;;
*_beta*)
SLOT="beta"
CHROMEDIR="opt/google/chrome-${SLOT}"
- MY_PV=${PV/_beta/-}
+ MY_PV=${PV%_beta}-1
;;
- *_p*)
+ *)
SLOT="stable"
CHROMEDIR="opt/google/chrome"
- MY_PV=${PV/_p/-}
- ;;
- *)
- die "Invalid value for \${PV}: ${PV}"
+ MY_PV=${PV}-1
;;
esac
diff --git a/www-plugins/chrome-binary-plugins/chrome-binary-plugins-51.0.2700.0_alpha1.ebuild b/www-plugins/chrome-binary-plugins/chrome-binary-plugins-51.0.2700.0_alpha.ebuild
index 1dbafa6a762d..b246cc856ff6 100644
--- a/www-plugins/chrome-binary-plugins/chrome-binary-plugins-51.0.2700.0_alpha1.ebuild
+++ b/www-plugins/chrome-binary-plugins/chrome-binary-plugins-51.0.2700.0_alpha.ebuild
@@ -13,20 +13,17 @@ case ${PV} in
*_alpha*)
SLOT="unstable"
CHROMEDIR="opt/google/chrome-${SLOT}"
- MY_PV=${PV/_alpha/-}
+ MY_PV=${PV%_alpha}-1
;;
*_beta*)
SLOT="beta"
CHROMEDIR="opt/google/chrome-${SLOT}"
- MY_PV=${PV/_beta/-}
+ MY_PV=${PV%_beta}-1
;;
- *_p*)
+ *)
SLOT="stable"
CHROMEDIR="opt/google/chrome"
- MY_PV=${PV/_p/-}
- ;;
- *)
- die "Invalid value for \${PV}: ${PV}"
+ MY_PV=${PV}-1
;;
esac