Commit 42baa46b authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm pack: cleanup reaper

parent 31e17c81
......@@ -9,16 +9,15 @@ epm assure xdg-desktop-menu xdg-utils || fatal
# reaper711_linux_x86_64.tar.xz
BASENAME=$(basename $TAR .tar.xz)
VERSION=$(echo $BASENAME | sed -e 's|reaper||' | sed -e 's|_linux_*.tar.xz||')
VERSION=$(echo $BASENAME | sed -e 's|^reaper||' | sed -e 's|_linux_.*||')
ln -s $TAR $BASENAME.tar.xz
erc unpack $BASENAME.tar.xz || fatal
subst "s|xdg-desktop-menu install \$2 |xdg-desktop-menu install --mode user --noupdate |" reaper_linux_x86_64/install-reaper.sh
subst "s|--size 256|--size 256 --noupdate|" reaper_linux_x86_64/install-reaper.sh
erc unpack $TAR || fatal
SUBDIR="$(echo reaper*)"
subst "s|xdg-desktop-menu install \$2 |xdg-desktop-menu install --mode user --noupdate |" $SUBDIR/install-reaper.sh
subst "s|--size 256|--size 256 --noupdate|" $SUBDIR/install-reaper.sh
# subst 's|cd "$(dirname "$0")"||' install-reaper.sh
sh reaper_linux_x86_64/install-reaper.sh --install $(pwd)/opt --integrate-desktop --quiet
sh $SUBDIR/install-reaper.sh --install $(pwd)/opt --integrate-desktop --quiet || fatal
mkdir -p usr/share/applications
mkdir -p usr/share/icons/hicolor/256x256/apps/
......
......@@ -6,4 +6,4 @@ SPEC="$2"
PRODUCTDIR=/opt/REAPER
. $(dirname $0)/common.sh
add_bin_link_command $PRODUCT $PRODUCTDIR/$PRODUCT
add_bin_link_command
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment