get-scripts rev 34

Add sublime-text-3
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Mar 23 08:59:52 2015 +0100 (2015-03-23)
parents 0aac769ef758
children 138433e8cb19
files FoxitReader apk-studio b43-firmware bitcoin cpp2 dropbox exploit_suggester flash-plugin gcc2 gcc272 geogebra jad javajre jd-gui libreoffice openoffice3 opera palemoon rpix86 speedtouch-firmware sublime-text-3 teamviewer ueagle-firmware
line diff
     1.1 --- a/FoxitReader	Fri Mar 20 11:34:46 2015 +0100
     1.2 +++ b/FoxitReader	Mon Mar 23 08:59:52 2015 +0100
     1.3 @@ -1,4 +1,6 @@
     1.4 +SHORT_DESC="The Best PDF Reader"
     1.5  WEB_SITE="http://www.foxitsoftware.com/pdf/desklinux/"
     1.6 +# end of get.list data
     1.7  WGET_URL=http://cdn01.foxitsoftware.com/pub/foxit/reader/desktop/linux/
     1.8  DEPENDS="gtk+ cups"
     1.9  
     2.1 --- a/apk-studio	Fri Mar 20 11:34:46 2015 +0100
     2.2 +++ b/apk-studio	Mon Mar 23 08:59:52 2015 +0100
     2.3 @@ -1,10 +1,11 @@
     2.4 +SHORT_DESC="Android revese-engineering"
     2.5  WEB_SITE="https://apkstudio.codeplex.com/"
     2.6 +# end of get.list data
     2.7  VERSION="2.0.3b"
     2.8  TARBALL="apkstudio-$VERSION-ubuntu-linux.tar.bz2"
     2.9  CATEGORY="development"
    2.10  LICENSE="CDDL"
    2.11  WGET_URL="http://download-codeplex.sec.s-msft.com/Download/Release?ProjectName=apkstudio&DownloadId=909467&FileTime=130554250225130000&Build=20941"
    2.12 -SHORT_DESC="Android revese-engineering"
    2.13  BUILD_DEPENDS="wget"
    2.14  
    2.15  wget --no-check-certificate -O $TARBALL "$WGET_URL"
     3.1 --- a/b43-firmware	Fri Mar 20 11:34:46 2015 +0100
     3.2 +++ b/b43-firmware	Mon Mar 23 08:59:52 2015 +0100
     3.3 @@ -1,3 +1,6 @@
     3.4 +SHORT_DESC="Install the firmware files for the wireless kernel module"
     3.5 +# end of get.list data
     3.6 +
     3.7  # install linux-wireless, wireless_tools and b43-fwcutter if needed.
     3.8  
     3.9  MODULE=${PACKAGE%-firmware}
    3.10 @@ -6,7 +9,7 @@
    3.11  
    3.12  MODULE_LIST=""
    3.13  while read module desc ; do
    3.14 -	[ "$MODULE" == "$module" ] && desc="$SHORT_DESC"
    3.15 +	[ "$MODULE" == "$module" ] && SHORT_DESC="$desc"
    3.16  	MODULE_LIST="$MODULE_LIST $module"
    3.17  done <<EOT
    3.18  b43		Broadcom $MODULE firmware.
     4.1 --- a/bitcoin	Fri Mar 20 11:34:46 2015 +0100
     4.2 +++ b/bitcoin	Mon Mar 23 08:59:52 2015 +0100
     4.3 @@ -1,5 +1,6 @@
     4.4 +SHORT_DESC="New digital currency for instant payments to anyone, anywhere."
     4.5 +# end of get.list data
     4.6  WEB_SITE="http://$PACKAGE.org/"
     4.7 -SHORT_DESC="New digital currency for instant payments to anyone, anywhere."
     4.8  MAINTAINER="somebody@$PACKAGE.org"
     4.9  DEPENDS="libQtGui libQtNetwork bzlib"
    4.10  LICENSE="MIT"
     5.1 --- a/cpp2	Fri Mar 20 11:34:46 2015 +0100
     5.2 +++ b/cpp2	Mon Mar 23 08:59:52 2015 +0100
     5.3 @@ -1,4 +1,6 @@
     5.4 +SHORT_DESC="GNU ccp version 2""
     5.5  WEB_SITE="http://www.gnu.org/s/gcc/gcc-2.95"
     5.6 +# end of get.list data
     5.7  VERSION=2.95.4-24
     5.8  LICENSE="GPL2"
     5.9  TARBALL=cpp-2.95_${VERSION}_i386.deb
     6.1 --- a/dropbox	Fri Mar 20 11:34:46 2015 +0100
     6.2 +++ b/dropbox	Mon Mar 23 08:59:52 2015 +0100
     6.3 @@ -1,5 +1,6 @@
     6.4 +SHORT_DESC="Dropbox daemon and client for online storage."
     6.5  WEB_SITE="http://www.dropbox.com"
     6.6 -SHORT_DESC="Dropbox daemon and client for online storage."
     6.7 +# end of get.list data
     6.8  DEPENDS="python"
     6.9  SUGGESTED="ntlmaps"
    6.10  PLATFORM="lnx.x86"	# or lnx.x86_64
     7.1 --- a/exploit_suggester	Fri Mar 20 11:34:46 2015 +0100
     7.2 +++ b/exploit_suggester	Mon Mar 23 08:59:52 2015 +0100
     7.3 @@ -1,11 +1,12 @@
     7.4 +SHORT_DESC="Linux Exploit Suggester; based on operating system release number."
     7.5  WEB_SITE="https://penturalabs.github.io/Linux_Exploit_Suggester"
     7.6 +# end of get.list data
     7.7  WGET_URL="https://github.com/PenturaLabs/Linux_Exploit_Suggester/tarball/master"
     7.8  VERSION="$(date +%Y%m%d)"
     7.9  CATEGORY="security"
    7.10  LICENSE="GPL2"
    7.11  DEPENDS="perl"
    7.12  BUILD_DEPENDS="wget"
    7.13 -SHORT_DESC="Linux Exploit Suggester; based on operating system release number."
    7.14  
    7.15  wget -c --no-check-certificate -O - $WGET_URL | tar xzf -
    7.16  mkdir -p $PACKAGE-$VERSION/fs/usr/bin
     8.1 --- a/flash-plugin	Fri Mar 20 11:34:46 2015 +0100
     8.2 +++ b/flash-plugin	Mon Mar 23 08:59:52 2015 +0100
     8.3 @@ -1,5 +1,6 @@
     8.4 +SHORT_DESC="Adobe Flash Player."
     8.5  WEB_SITE="http://www.adobe.com/products/flash/"
     8.6 -SHORT_DESC="Adobe Flash Player."
     8.7 +# end of get.list data
     8.8  TARBALL="install_flash_player_11_linux.i386.tar.gz"
     8.9  
    8.10  WGET_URL=http://fpdownload.macromedia.com/get/flashplayer/current/licensing/linux/$TARBALL
     9.1 --- a/gcc2	Fri Mar 20 11:34:46 2015 +0100
     9.2 +++ b/gcc2	Mon Mar 23 08:59:52 2015 +0100
     9.3 @@ -1,4 +1,6 @@
     9.4 +SHORT_DESC="GNU C compiler version 2"
     9.5  WEB_SITE="http://www.gnu.org/s/gcc/gcc-2.95"
     9.6 +# end of get.list data
     9.7  VERSION=2.95.4-24
     9.8  LICENSE="GPL2"
     9.9  TARBALL=gcc-2.95_${VERSION}_i386.deb
    10.1 --- a/gcc272	Fri Mar 20 11:34:46 2015 +0100
    10.2 +++ b/gcc272	Mon Mar 23 08:59:52 2015 +0100
    10.3 @@ -1,4 +1,6 @@
    10.4 +SHORT_DESC="GNU C compiler version 2.7.2"
    10.5  WEB_SITE="http://www.gnu.org/s/gcc"
    10.6 +# end of get.list data
    10.7  VERSION=2.7.2.3-19
    10.8  LICENSE="GPL2"
    10.9  TARBALL=gcc272_${VERSION}_i386.deb
    11.1 --- a/geogebra	Fri Mar 20 11:34:46 2015 +0100
    11.2 +++ b/geogebra	Mon Mar 23 08:59:52 2015 +0100
    11.3 @@ -1,4 +1,6 @@
    11.4 +SHORT_DESC="Dynamic mathematics for learning and teaching"
    11.5  WEB_SITE="http://www.geogebra.org/cms/en/"
    11.6 +# end of get.list data
    11.7  DEPENDS="bash java-jre ncurses"
    11.8  WGET_URL=http://www.geogebra.org/installers/deb.php
    11.9  TARBALL=geogebra.deb
    12.1 --- a/jad	Fri Mar 20 11:34:46 2015 +0100
    12.2 +++ b/jad	Mon Mar 23 08:59:52 2015 +0100
    12.3 @@ -1,4 +1,6 @@
    12.4 +SHORT_DESC="A Java Decompiler."
    12.5  WEB_SITE="http://varaneckas.com/jad/"
    12.6 +# end of get.list data
    12.7  VERSION="1.5.8e"
    12.8  TARBALL="jad"
    12.9  CATEGORY="non-free"
    13.1 --- a/javajre	Fri Mar 20 11:34:46 2015 +0100
    13.2 +++ b/javajre	Mon Mar 23 08:59:52 2015 +0100
    13.3 @@ -1,4 +1,6 @@
    13.4 +SHORT_DESC="The lastest java runtime environment"
    13.5  WEB_SITE="http://java.com/en/download/linux_manual.jsp?locale=en"
    13.6 +# end of get.list data
    13.7  WGET_URL="$(wget -O - "$WEB_SITE" | sed '/Linux rpm/!d;s/.*href="\([^"]*\).*/\1/;q')"
    13.8  wget -O - "$WGET_URL" > p.rpm
    13.9  [ -s p.rpm ] || abort_package "Could not download RPM from $WGET_URL. Exiting."
    14.1 --- a/jd-gui	Fri Mar 20 11:34:46 2015 +0100
    14.2 +++ b/jd-gui	Mon Mar 23 08:59:52 2015 +0100
    14.3 @@ -1,5 +1,6 @@
    14.4 +SHORT_DESC="Yet another fast Java decompiler."
    14.5  WEB_SITE="http://jd.benow.ca/"
    14.6 -SHORT_DESC="Yet another fast Java decompiler."
    14.7 +# end of get.list data
    14.8  WGET_URL="$(wget -O - $WEB_SITE | sed "/linux.i686/!d;s/.*href=.\([^'\"]*\).*/\1/")"
    14.9  TARBALL="$(basename $WGET_URL)"
   14.10  VERSION="$(echo $TARBALL | sed 's/.*-\(.*\).linux.*/\1/')"
    15.1 --- a/libreoffice	Fri Mar 20 11:34:46 2015 +0100
    15.2 +++ b/libreoffice	Mon Mar 23 08:59:52 2015 +0100
    15.3 @@ -1,3 +1,6 @@
    15.4 +SHORT_DESC="Productivity suite."
    15.5 +WEB_SITE="http://www.libreoffice.org"
    15.6 +# end of get.list data
    15.7  #!/bin/sh
    15.8  # get-LibreOffice - install LibreOffice excl. KDE/Gnome integration & test suite.
    15.9  #
   15.10 @@ -7,9 +10,7 @@
   15.11  #
   15.12  
   15.13  PACKAGE="LibreOffice"
   15.14 -WEB_SITE="http://www.libreoffice.org"
   15.15  CATEGORY="office"
   15.16 -SHORT_DESC="Productivity suite."
   15.17  DEPENDS="cups"
   15.18  SUGGESTED="java6-jre"
   15.19  DIR="stable"
    16.1 --- a/openoffice3	Fri Mar 20 11:34:46 2015 +0100
    16.2 +++ b/openoffice3	Mon Mar 23 08:59:52 2015 +0100
    16.3 @@ -1,3 +1,6 @@
    16.4 +SHORT_DESC="Productivity suite."
    16.5 +WEB_SITE="http://www.openoffice.org"
    16.6 +# end of get.list data
    16.7  #!/bin/sh
    16.8  # get-OpenOffice3, install everything for OpenOffice.org exept KDE/Gnome integration and testsuite.
    16.9  #
   16.10 @@ -7,7 +10,6 @@
   16.11  
   16.12  PACKAGE="OpenOffice3"
   16.13  LICENSE="Apache"
   16.14 -URL="http://www.openoffice.org"
   16.15  PATTERN="Linux_x86_install-rpm"
   16.16  
   16.17  for MIRROR in \
   16.18 @@ -107,9 +109,9 @@
   16.19  PACKAGE="$PACKAGE"
   16.20  VERSION="$VERSION"
   16.21  CATEGORY="office"
   16.22 -SHORT_DESC="Productivity suite."
   16.23 +SHORT_DESC="$SHORT_DESC"
   16.24  DEPENDS="java-jre"
   16.25 -WEB_SITE="$URL"
   16.26 +WEB_SITE="$WEB_SITE"
   16.27  
   16.28  post_install()
   16.29  {
    17.1 --- a/opera	Fri Mar 20 11:34:46 2015 +0100
    17.2 +++ b/opera	Mon Mar 23 08:59:52 2015 +0100
    17.3 @@ -1,4 +1,6 @@
    17.4 +SHORT_DESC="Opera browser"
    17.5  WEB_SITE="http://www.opera.com/"
    17.6 +# end of get.list data
    17.7  URL=http://mirror.switch.ch/ftp/mirror/opera/linux/
    17.8  
    17.9  get_releases()
    18.1 --- a/palemoon	Fri Mar 20 11:34:46 2015 +0100
    18.2 +++ b/palemoon	Mon Mar 23 08:59:52 2015 +0100
    18.3 @@ -1,11 +1,12 @@
    18.4 +SHORT_DESC="Browser based on Firefox that's optimised for performance."
    18.5 +WEB_SITE="http://www.palemoon.org/"
    18.6 +# end of get.list data
    18.7  URL=http://sourceforge.net/projects/pm4linux/files
    18.8  VERSION="$(wget -O - $URL/ | sed \
    18.9  	'/projects\/pm4linux\/files\/[1-9]/!d;s|.*files/\([^/]*\)/.*|\1|;q')"
   18.10 -SHORT_DESC="Browser based on Firefox that's optimised for performance."
   18.11  MAINTAINER="al.bobylev@gmail.com"
   18.12  CATEGORY="network"
   18.13  LICENSE="MPL2"
   18.14 -WEB_SITE="http://www.palemoon.org/"
   18.15  TARBALL=$PACKAGE-$VERSION.en-US.linux-i686.tar.bz2
   18.16  WGET_URL=$URL/$VERSION/$TARBALL
   18.17  TAGS="browser"
    19.1 --- a/rpix86	Fri Mar 20 11:34:46 2015 +0100
    19.2 +++ b/rpix86	Mon Mar 23 08:59:52 2015 +0100
    19.3 @@ -1,8 +1,9 @@
    19.4 +SHORT_DESC="A PC emulator for the Raspberry Pi computer."
    19.5  WEB_SITE="http://rpix86.patrickaalto.com/"
    19.6 +# end of get.list data
    19.7  TARBALL="rpix86.tar.gz"
    19.8  WGET_URL="$WEB_SITE$TARBALL"
    19.9  HOST_ARCH="arm"
   19.10 -SHORT_DESC="A PC emulator for the Raspberry Pi computer."
   19.11  
   19.12  wget $WGET_URL
   19.13  [ -f $TARBALL ] || abort_package "Could not download $TARBALL from $URL. Exiting."
    20.1 --- a/speedtouch-firmware	Fri Mar 20 11:34:46 2015 +0100
    20.2 +++ b/speedtouch-firmware	Mon Mar 23 08:59:52 2015 +0100
    20.3 @@ -1,10 +1,11 @@
    20.4 +SHORT_DESC="Firmware for SpeedTouch ADSL Modem."
    20.5 +WEB_SITE="http://www.linux-usb.org/SpeedTouch/"
    20.6 +# end of get.list data
    20.7  DEPENDS=""
    20.8  
    20.9  VERSION="3.012"
   20.10  mkdir -p $PACKAGE-$VERSION/fs/lib/firmware
   20.11  TARBALL="SpeedTouch330_firmware_$(echo $VERSION | sed 's/\.//').zip"
   20.12 -SHORT_DESC="Firmware for SpeedTouch ADSL Modem."
   20.13 -WEB_SITE="http://www.linux-usb.org/SpeedTouch/"
   20.14  #http://speedtouch.hysplace.co.uk/firmware.htm
   20.15  #WGET_URL="http://www.speedtouch.com/download/drivers/USB/$TARBALL"
   20.16  #from http://www.filewatcher.com/m/SpeedTouch330_firmware_3012.zip.769125-0.html
    21.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    21.2 +++ b/sublime-text-3	Mon Mar 23 08:59:52 2015 +0100
    21.3 @@ -0,0 +1,25 @@
    21.4 +SHORT_DESC="Sophisticated text editor for code, markup and prose"
    21.5 +WEB_SITE="http://www.sublimetext.com/3"
    21.6 +# end of get.list data
    21.7 +CATEGORY="development"
    21.8 +MAINTAINER="al.bobylev@gmail.com"
    21.9 +LICENSE="non-free"
   21.10 +WGET_URL="$(wget -O - $WEB_SITE | tr '"' '\n' | fgrep x32.tar)"
   21.11 +VERSION=${WGET_URL%_x32*}; VERSION=${VERSION##*_}
   21.12 +TARBALL="$(basename $WGET_URL)"
   21.13 +
   21.14 +busybox wget $WGET_URL
   21.15 +[ -f $TARBALL ] || abort_package "Could not download $TARBALL from $WGET_URL. Exiting."
   21.16 +
   21.17 +mkdir -p $PACKAGE-$VERSION/fs/opt $PACKAGE-$VERSION/fs/usr/share/applications
   21.18 +cd $PACKAGE-$VERSION/fs/opt
   21.19 +tar -xjf ../../../$TARBALL
   21.20 +mv sublime_text_3 sublime_text
   21.21 +mv sublime_text/sublime_text.desktop ../usr/share/applications
   21.22 +
   21.23 +# link icons
   21.24 +for size in $(cd sublime_text/Icon; ls); do
   21.25 +	mkdir -p ../usr/share/icons/hicolor/$size/apps
   21.26 +	ln -fs /opt/sublime_text/Icon/$size/sublime-text.png \
   21.27 +		../usr/share/icons/hicolor/$size/apps/sublime-text.png
   21.28 +done
    22.1 --- a/teamviewer	Fri Mar 20 11:34:46 2015 +0100
    22.2 +++ b/teamviewer	Mon Mar 23 08:59:52 2015 +0100
    22.3 @@ -1,4 +1,6 @@
    22.4 -WEB_SITE=http://www.$PACKAGE.com/
    22.5 +SHORT_DESC="Remote Control Application"
    22.6 +WEB_SITE="http://www.teamviewer.com/"
    22.7 +# end of get.list data
    22.8  WGET_URL=${WEB_SITE}en/download/linux.aspx
    22.9  DEPENDS="bash ncurses alsa-lib zlib xorg-libXext"
   22.10  
    23.1 --- a/ueagle-firmware	Fri Mar 20 11:34:46 2015 +0100
    23.2 +++ b/ueagle-firmware	Mon Mar 23 08:59:52 2015 +0100
    23.3 @@ -1,3 +1,6 @@
    23.4 +SHORT_DESC="Firmware for Fast800 USB ADSL Modem."
    23.5 +WEB_SITE="http://eagle-usb.org/"
    23.6 +# end of get.list data
    23.7  DEPENDS=""
    23.8  
    23.9  wget_ueagle()
   23.10 @@ -15,9 +18,7 @@
   23.11  mkdir -p $PACKAGE-$VERSION/fs/lib/firmware
   23.12  VERSION="1.1"
   23.13  TARBALL="ueagle-data-$VERSION.tar.gz"
   23.14 -SHORT_DESC="Firmware for Fast800 USB ADSL Modem."
   23.15  SOURCE="ueagle-data"
   23.16 -WEB_SITE="http://eagle-usb.org/"
   23.17  wget_ueagle ueagle4-data-1.0.tar.gz <<EOT
   23.18  ftp://ftp.by.debian.org/pub/gentoo-distfiles/distfiles
   23.19  http://pkgs.fedoraproject.org/repo/pkgs/ueagle-atm4-firmware/ueagle4-data-1.0.tar.gz/7b6b8b1dfe5faaab407c8e52638fa72b