get-scripts diff litecoin @ rev 80
libreoffice: fix menu entries (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jun 09 11:40:00 2019 +0200 (2019-06-09) |
parents | 38581c20c3f1 |
children |
line diff
1.1 --- a/litecoin Sun Feb 16 18:12:54 2014 +0000 1.2 +++ b/litecoin Sun Jun 09 11:40:00 2019 +0200 1.3 @@ -1,45 +1,1 @@ 1.4 -WEB_SITE="http://$PACKAGE.org/" 1.5 -SHORT_DESC="New digital currency for instant payments to anyone, anywhere." 1.6 -MAINTAINER="somebody@$PACKAGE.org" 1.7 -DEPENDS="libQtGui libQtNetwork bzlib" 1.8 - 1.9 -# Download tarball 1.10 -WGET_URL=$(wget --no-check-certificate -O - $WEB_SITE | sed '/linux.tar/!d;;s/.*href="\([^"]*\).*/\1/;q') 1.11 -case "$WGET_URL" in 1.12 -ftp*|http*);; 1.13 -*) WGET_URL=$WEB_SITE$WGET_URL;; 1.14 -esac 1.15 -TARBALL="$(basename $WGET_URL)" 1.16 -VERSION="$(echo $TARBALL | sed 's/.*coin-\(.*\)-linux.tar.*/\1/')" 1.17 -wget --no-check-certificate -O $TARBALL "$WGET_URL" 1.18 - 1.19 -[ -f $TARBALL ] || abort_package "Could not download $TARBALL from $WGET_URL. Exiting." 1.20 - 1.21 -mkdir -p $PACKAGE-$VERSION/fs/usr/bin 1.22 -busybox tar xf $TARBALL 1.23 - 1.24 -mv $PACKAGE-$VERSION-linux/bin/32/* $PACKAGE-$VERSION/fs/usr/bin 1.25 -rm -rf $PACKAGE-$VERSION-linux 1.26 - 1.27 -# extracted pkg can be removed: Save RAM 1.28 -rm -f $TARBALL 1.29 - 1.30 -cd $PACKAGE-$VERSION/fs 1.31 - 1.32 -# Create menu 1.33 -mkdir -p usr/share/applications 1.34 -cat > usr/share/applications/$PACKAGE.desktop <<EOT 1.35 -[Desktop Entry] 1.36 -Version=1.0 1.37 -Encoding=UTF-8 1.38 -Name=$PACKAGE 1.39 -Exec=/usr/bin/$PACKAGE-qt 1.40 -Icon=stock_certificate.png 1.41 -Terminal=false 1.42 -Categories=Application 1.43 -Comment=$SHORT_DESC 1.44 -Type=Application 1.45 -Categories=Office; 1.46 -EOT 1.47 -cd ../.. 1.48 -set +e 1.49 +bitcoin 1.50 \ No newline at end of file