wok view get-playonlinux/stuff/get-playonlinux @ rev 23097

updated libqwt5-qt4 and libqwt5-qt4-dev (5.2.0 -> 5.2.3)
author Hans-G?nter Theisgen
date Thu Mar 12 06:52:43 2020 +0100 (2020-03-12)
parents eea42880f1a2
children
line source
1 #!/bin/sh -e
3 PACKAGE="playonlinux"
4 TMP_DIR=/tmp/get-$PACKAGE-$$-$RANDOM
5 CUR_DIR=$(pwd)
6 mkdir -p $TMP_DIR && cd $TMP_DIR
7 URL=http://www.playonlinux.com/$(. /etc/locale.conf ; echo ${LANG%_*})/download.html
8 busybox wget -s $URL || URL=http://www.playonlinux.com/en/download.html
9 URL=$(wget -O - $URL | sed '/z2*"/!d;s/.*ref="\([^"]*\).*/\1/')
10 wget -O - $URL | busybox tar xf -
11 for i in bash wxpython cabextract imagemagick gnupg wine wget icoutils \
12 p7zip-full gnu-netcat grep; do
13 [ -d /var/lib/tazpkg/installed/$i/ ] || tazpkg get-install $i
14 done
15 cd playonlinux
16 su -c ./playonlinux tux
17 cd $CUR_DIR
18 rm -rf $TMP_DIR