diff --git a/install/apps/multimedia/burnertools b/install/apps/multimedia/burnertools new file mode 100644 index 0000000..d78a905 --- /dev/null +++ b/install/apps/multimedia/burnertools @@ -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 diff --git a/install/apps/multimedia/menu b/install/apps/multimedia/menu index 2a755e6..db6113c 100644 --- a/install/apps/multimedia/menu +++ b/install/apps/multimedia/menu @@ -6,6 +6,7 @@ options+=("GStreamer" "") options+=("Audio Player" "") options+=("Video Player" "") options+=("Video Tools" "") +options+=("Burner Tools" "") defaultitem="" @@ -22,6 +23,7 @@ case $sel in "Audio Player") script install/apps/multimedia/audioplayer;; "Video Player") script install/apps/multimedia/videoplayer;; "Video Tools") script install/apps/multimedia/videotools;; + "Burner Tools") script install/apps/multimedia/burnertools;; esac exit 0