Remove duplicate download of file. Use internal script of superbeam which detects java from JAVAHOME. Also allows to pass files from the cli interface.
Search Criteria
Package Details: superbeam 1.2.0-2
Package Actions
| Package Base: | superbeam |
|---|---|
| Description: | The easiest and fastest way to share files with Android |
| Upstream URL: | http://superbe.am/ |
| Category: | x11 |
| Licenses: | |
| Submitter: | julroy67 |
| Maintainer: | deboeckj |
| Last Packager: | deboeckj |
| Votes: | 7 |
| First Submitted: | 2013-11-27 20:18 |
| Last Updated: | 2015-03-31 07:07 |
Latest Comments
Comment by deboeckj
Comment by deboeckj
Can you make
printf "#!/bin/sh\n\"$JAVA_HOME/bin/java\" -jar \'/usr/share/java/$pkgname/$pkgname.jar\'" > $pkgname.sh
into
printf "#!/bin/sh\n\"$JAVA_HOME/bin/java\" -jar \'/usr/share/java/$pkgname/$pkgname.jar\' $@" > $pkgname.sh
I added a $@ to able to send a file directly usage:
superbeam fileiwonnasent
Comment by AsavarTzeth
You need to change source to:
source=(http://superbe.am/pc/all/$pkgname.jar
http://superbe.am/pc/linux/superbeam-linux.tar.gz)
Simply removing the "www". Otherwise it will result in a faulty "superbeam-linux.tar.gz", failing the md5sum check.
Comment by julroy67
Updated, sorry for the delay.
Comment by danyf90
the path of the icon is still wrong please test you PKGBUILD before update it
Comment by hermes14
@julroy67
Here's a working PKGBUILD, with correct md5sum and icon path: http://pastebin.com/VtVthdCH
Feel free to use it
Comment by danyf90
also the source path of the icon in the PKGBUILD is wrong
Comment by danyf90
the tar.gz file doesn't pass validity check, the correct md5 is b6080630018fc0ca4a783c13c239f9b8
Comment by julroy67
Thanks, I've added the category. But on LXDE, at least, it shows the entire description as intended.
Comment by danyf90
the desktop file is not generated correctly, you shoud add the option --categories="Network" otherwise the application will go under lost objects in the menu.
Moreover i don't know why but all the option after --pkgdesc = $pkgdesc are ignored (maybe for the white spaces in the description)