Add burner tools

This commit is contained in:
MatMoul 2016-10-22 20:23:18 +02:00
parent fbe85347b3
commit 13da577c1c
2 changed files with 28 additions and 0 deletions

View file

@ -0,0 +1,26 @@
#!/bin/bash
. ./lib
options=()
options+=("k3b" "" off)
options+=("xfburn" "" off)
options+=("libisoburn" "(xorriso-tcltk)" off)
options+=("gnomebaker" "(AUR)" off)
sel=$(whiptail --backtitle "$apptitle" --title "Burner applications :" --checklist "Choose what you want" --cancel-button "Back" 0 0 0 \
"${options[@]}" \
3>&1 1>&2 2>&3)
if [ ! "$?" = "0" ]; then
exit 1
fi
for itm in $sel; do
case $itm in
'"gnomebaker"') aurpkg="$aurpkg $(echo $itm | sed 's/"//g')";;
*) pkg="$pkg $(echo $itm | sed 's/"//g')";;
esac
done
instpkg "$pkg" "$aurpkg"
exit 0

View file

@ -6,6 +6,7 @@ options+=("GStreamer" "")
options+=("Audio Player" "") options+=("Audio Player" "")
options+=("Video Player" "") options+=("Video Player" "")
options+=("Video Tools" "") options+=("Video Tools" "")
options+=("Burner Tools" "")
defaultitem="" defaultitem=""
@ -22,6 +23,7 @@ case $sel in
"Audio Player") script install/apps/multimedia/audioplayer;; "Audio Player") script install/apps/multimedia/audioplayer;;
"Video Player") script install/apps/multimedia/videoplayer;; "Video Player") script install/apps/multimedia/videoplayer;;
"Video Tools") script install/apps/multimedia/videotools;; "Video Tools") script install/apps/multimedia/videotools;;
"Burner Tools") script install/apps/multimedia/burnertools;;
esac esac
exit 0 exit 0