obosdi-pkg/install/desktop/kde4/kdeapps

96 lines
2 KiB
Text
Raw Normal View History

2015-08-20 14:37:06 -06:00
#!/bin/bash
. ./lib
options=()
#kde-agent
#kdepim-kleopatra
#kdeutils-kgpg
items=$(pacman -Sqg kde-applications)
for item in $items; do
case $item in
"dolphin" | \
"kdepasswd" | \
"kdialog" | \
"kfind" | \
"workspace" | \
"ksystemlog" | \
"kuser" | \
"ark" | \
"kwalletmanager" | \
"kgamma" | \
"ksnapshot" | \
"okular" | \
"audiocd-kio" | \
"ffmpegthumbs" | \
"kmix" | \
"mplayerthumbs" | \
"filesharing" | \
"zeroconf-ioslave" | \
"kate" | \
"thumbnailers" | \
"kdebase-dolphin" | \
"kdebase-kdepasswd" | \
"kdebase-kdialog" | \
"kdebase-kfind" | \
"kdebase-workspace" | \
"konsole" | \
"kwrite" | \
"kcron" | \
"kdeadmin-ksystemlog" | \
"kdeadmin-kuser" | \
"kdeutils-ark" | \
"kdeutils-kwalletmanager" | \
"kcalc" | \
"kcharselect" | \
"print-manager" | \
"kdegraphics-kgamma" | \
"kdegraphics-ksnapshot" | \
"kdegraphics-okular" | \
"kdemultimedia-audiocd-kio" | \
"kdemultimedia-ffmpegthumbs" | \
"kdemultimedia-kmix" | \
"kdemultimedia-mplayerthumbs" | \
"kdenetwork-filesharing" | \
"kdenetwork-zeroconf-ioslave" | \
"kate" | \
"kdesdk-thumbnailers" | \
"kleopatra" | \
"kdepim-kleopatra" | \
"kdeartwork-"*) options+=("$item" "" on);;
"akregator" | \
"kaddressbook" | \
"kalarm" | \
"kmail" | \
"knotes" | \
"kontact" | \
"korganizer" | \
"kdepim-akregator" | \
"kdepim-kaddressbook" | \
"kdepim-kalarm" | \
"kdepim-kmail" | \
"kdepim-knotes" | \
"kdepim-kontact" | \
"kdepim-korganizer" | \
"kdeartwork-"*) options+=("$item" "(recommended)" off);;
*) options+=("$item" "" off);;
esac
done
sel=$(whiptail --backtitle "$apptitle" --title "$package Install :" --checklist "" --cancel-button "Back" 0 0 0 \
"${options[@]}" \
3>&1 1>&2 2>&3)
if [ ! "$?" = "0" ]; then
exit 1
fi
for itm in $sel; do
pkg="$pkg $(echo $itm | sed 's/"//g')"
done
instpkg "$pkg" "$aurpkg"
exit 0