get-scripts view geogebra @ rev 29

fix dropbox
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Nov 23 17:28:06 2014 +0100 (2014-11-23)
parents a8694d4236f9
children 6ca05e6839e1
line source
1 WEB_SITE="http://www.geogebra.org/cms/en/"
2 DEPENDS="bash java-jre ncurses"
3 WGET_URL=http://www.geogebra.org/installers/deb.php
4 TARBALL=geogebra.deb
6 wget -O $TARBALL $WGET_URL
8 [ -f $TARBALL ] || abort_package "Could not download $TARBALL from $WGET_URL. Exiting."
10 mkdir $PACKAGE
11 dpkg-deb -e $TARBALL $PACKAGE/meta
12 dpkg-deb -x $TARBALL $PACKAGE/fs
13 # extracted pkg can be removed: Save RAM
14 rm -f $TARBALL
15 sed '/^Description:/,$!d;s/^Description://' \
16 < $PACKAGE/meta/control > $PACKAGE/description.txt
18 SHORT_DESC="$(sed '/^Description:/!d;s/.*: //' $PACKAGE/meta/control)"
19 MAINTAINER="$(sed '/^Maintainer:/!d;s/.*: //' $PACKAGE/meta/control)"
20 VERSION="$(sed '/^Version:/!d;s/.*: //' $PACKAGE/meta/control)"
21 TARBALL=${PACKAGE}_$VERSION.deb
22 mv $PACKAGE $PACKAGE-$VERSION
24 set +e