summaryrefslogtreecommitdiff
path: root/kde-base/add-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/add-kde-l10n.sh
parent5acba24490a47edca8a38013461675a41f442f53 (diff)
Added already splitted ebuilds for KDE
Diffstat (limited to 'kde-base/add-kde-l10n.sh')
-rwxr-xr-xkde-base/add-kde-l10n.sh23
1 files changed, 23 insertions, 0 deletions
diff --git a/kde-base/add-kde-l10n.sh b/kde-base/add-kde-l10n.sh
new file mode 100755
index 00000000..7cbc6e3c
--- /dev/null
+++ b/kde-base/add-kde-l10n.sh
@@ -0,0 +1,23 @@
+#!/bin/sh
+
+SOURCE_DIR="kde-l10n-it"
+SOURCE_VER="4.3.0"
+DEST_VER="4.3.0"
+
+for arg in $@; do
+
+ echo "doing ${arg}"
+
+ mkdir "kde-l10n-${arg}"
+ [[ "${?}" != "0" ]] && echo "error at mkdir ${arg}" && exit 1
+
+ source="${SOURCE_DIR}/${SOURCE_DIR}-${SOURCE_VER}.ebuild"
+ dest="kde-l10n-${arg}/kde-l10n-${arg}-${DEST_VER}.ebuild"
+
+ echo "copying ${source} to ${dest}"
+
+ cp ${source} ${dest}
+ [[ "${?}" != "0" ]] && echo "error at cp ${source} ${dest}" && exit 2
+ ebuild ${dest} manifest
+
+done