summaryrefslogtreecommitdiff
path: root/kde-base/do-kde-l10n.sh
diff options
context:
space:
mode:
authorBlackNoxis <steven.darklight@gmail.com>2014-02-15 23:46:04 +0200
committerBlackNoxis <steven.darklight@gmail.com>2014-02-15 23:46:04 +0200
commitbf9f773fb3fcefed199cd8af38b65f77b347c80c (patch)
tree29763323c9faaaae5ccf3a86084f0ca2a33a0413 /kde-base/do-kde-l10n.sh
parent5acba24490a47edca8a38013461675a41f442f53 (diff)
Added already splitted ebuilds for KDE
Diffstat (limited to 'kde-base/do-kde-l10n.sh')
-rwxr-xr-xkde-base/do-kde-l10n.sh27
1 files changed, 27 insertions, 0 deletions
diff --git a/kde-base/do-kde-l10n.sh b/kde-base/do-kde-l10n.sh
new file mode 100755
index 00000000..dbe0ff53
--- /dev/null
+++ b/kde-base/do-kde-l10n.sh
@@ -0,0 +1,27 @@
+#!/bin/sh
+
+# The purpose of this script it to generate new ebuilds for
+# kde l10n pacakges based on using prior version as
+# a template.
+#
+# Two variables must be manually supplied to the script:
+# EXISTING_VER: An existing version to be used as a template
+# NEW_VER: The new version number to be generated.
+
+EXISTING_VER="4.12.1"
+NEW_VER="4.12.2"
+BROKEN_ONES=""
+
+for X in `find -name kde-l10n-*${EXISTING_VER}*.ebuild`; do
+ echo
+ echo " ________ DOING "${X}" ________"
+ echo
+ if [ ! -e ${X/${EXISTING_VER}/${NEW_VER}} ]; then
+ cp ${X} ${X/${EXISTING_VER}/${NEW_VER}} || exit 1
+ fi
+ ebuild ${X} manifest
+ if [ "${?}" != "0" ]; then
+ BROKEN_ONES+=" ${X}"
+ fi
+done
+echo "BROKEN: ${BROKEN_ONES}"