Plasma 5: Add KDE-Apps Category Menus
This commit is contained in:
parent
a0b2ee3732
commit
1b4846f4b5
2 changed files with 91 additions and 1 deletions
install/desktop/plasma5
|
@ -3,7 +3,7 @@
|
|||
|
||||
options=()
|
||||
|
||||
items=$(for i in $(-Sqs kde-meta); do echo ${i#kde-meta-};done)
|
||||
items=$(for i in $(pacman -Sqs kde-meta); do echo ${i#kde-meta-};done)
|
||||
for item in $items; do
|
||||
case $item in
|
||||
"kdebase") options+=("$item" "" on);;
|
||||
|
|
90
install/desktop/plasma5/packages
Normal file
90
install/desktop/plasma5/packages
Normal file
|
@ -0,0 +1,90 @@
|
|||
#!/bin/bash
|
||||
. ./lib
|
||||
|
||||
options=()
|
||||
|
||||
package=""
|
||||
items=$(pacman -Sqg $package)
|
||||
for item in $items; do
|
||||
case $item in
|
||||
"dolphin" | \
|
||||
"kdepasswd" | \
|
||||
"kdialog" | \
|
||||
"kfind" | \
|
||||
"workspace" | \
|
||||
"ksystemlog" | \
|
||||
"kuser" | \
|
||||
"ark" | \
|
||||
"kgamma" | \
|
||||
"ksnapshot" | \
|
||||
"okular" | \
|
||||
"audiocd-kio" | \
|
||||
"ffmpegthumbs" | \
|
||||
"kmix" | \
|
||||
"mplayerthumbs" | \
|
||||
"filesharing" | \
|
||||
"zeroconf-ioslave" | \
|
||||
"kate" | \
|
||||
"thumbnailers" | \
|
||||
"akregator" | \
|
||||
"kaddressbook" | \
|
||||
"kalarm" | \
|
||||
"kleopatra" | \
|
||||
"kmail" | \
|
||||
"knotes" | \
|
||||
"kontact" | \
|
||||
"korganizer" | \
|
||||
"kdebase-dolphin" | \
|
||||
"kdebase-kdepasswd" | \
|
||||
"kdebase-kdialog" | \
|
||||
"kdebase-kfind" | \
|
||||
"kdebase-workspace" | \
|
||||
"konsole" | \
|
||||
"kwrite" | \
|
||||
"kcron" | \
|
||||
"kdeadmin-ksystemlog" | \
|
||||
"kdeadmin-kuser" | \
|
||||
"kdeutils-ark" | \
|
||||
"filelight" | \
|
||||
"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" | \
|
||||
"kdepim-akregator" | \
|
||||
"kdepim-kaddressbook" | \
|
||||
"kdepim-kalarm" | \
|
||||
"kdepim-kleopatra" | \
|
||||
"kdepim-kmail" | \
|
||||
"kdepim-knotes" | \
|
||||
"kdepim-kontact" | \
|
||||
"kdepim-korganizer" | \
|
||||
"kdeartwork-"*) options+=("$item" "" on);;
|
||||
*) 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
|
Loading…
Add table
Reference in a new issue