#Maintainer: Ejis #Mandatory category=extra/ap pkgname=freemail pkgver=r24791 pkgrel=1 zenver=62 arch=i486 source=("http://downloads.freenetproject.org/alpha/plugins/Freemail/Freemail-r24791.jar") sourcetemplate=http://zenwalk.pinguix.com/user-accounts/ejis/$category/$pkgname/ slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "$pkgname" "Freemail is an email system for Freenet. It allows you to send" "anonymous emails to other Freenet users using your standard email" "client. It is currently not bundled in the Freenet installer, and has" "to be downloaded separately. You can also try the Freemail plugin by" "selecting it from the list on the plugins page of your Freenet node." "Beware, though, that the plugin is still in an early stage of" "development, and users should be active about looking in log files and" "reporting problems if they find them." ) build() { mkdir -p $startdir/pkg/usr/share/freemail cp $startdir/src/Freemail-r24791.jar $startdir/pkg/usr/share/freemail/freemail.jar mkdir $startdir/pkg/usr/bin echo "#!/bin/sh if [[ ! -d ~/.freemail ]]; then mkdir ~/.freemail fi if [[ ! -r ~/.freemail/freemail.jar ]]; then ln -s /usr/share/freemail/freemail.jar ~/.freemail/freemail.jar fi cd ~/.freemail java -jar ./freemail.jar \${1#}" >> $startdir/pkg/usr/bin/freemail.sh chmod 755 $startdir/pkg/usr/bin/freemail.sh } #Optional docs=('authors' 'copying' 'changelog' 'install' 'news' 'readme') options=('noextract') url="http://freenetproject.org/freemail.html" extradepends=('jre') #lessdepends=('dep4' 'dep5' 'dep6') #dotnew=('etc/thing' 'etc/foo' 'etc/bar') #CFLAGS="-03" #CXXFLAGS="-03" #doinst() { #}