#Maintainer: Ejis #Mandatory category=extra/n pkgname=thaw pkgver=04112008 pkgrel=1 zenver=62 arch=i486 source=("http://downloads.freenetproject.org/alpha/Thaw/Thaw.jar" "thaw.png") sourcetemplate=http://zenwalk.pinguix.com/user-accounts/ejis/$category/$pkgname/ slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "$pkgname - A tool to insert and retreive files on Freenet" "The main goal of this project is the creation of a tool giving to" "Freenet users the possibility to easily upload and download files on" "Freenet. In addition, it will help users to create and maintain an" "index containing their file list, and browse indexes of other users." ) build() { mkdir -p $startdir/pkg/usr/share/thaw cp -rf Thaw.jar $startdir/pkg/usr/share/thaw/thaw.jar mkdir -p $startdir/pkg/usr/bin mkdir -p $startdir/pkg/usr/share/icons/hicolor/48x48/apps mkdir -p $startdir/pkg/usr/share/applications echo "#!/bin/sh if [[ ! -d ~/.thaw ]]; then mkdir ~/.thaw fi if [[ ! -r ~/.thaw/thaw.jar ]]; then cp /usr/share/thaw/thaw.jar ~/.thaw/thaw.jar fi cd ~/.thaw java -jar ./thaw.jar \${1#}" >> $startdir/pkg/usr/bin/thaw.sh chmod 755 $startdir/pkg/usr/bin/thaw.sh cp $startdir/src/thaw.png $startdir/pkg/usr/share/icons/hicolor/48x48/apps/ echo "[Desktop Entry] Encoding=UTF-8 Type=Application Name=Thaw Comment=A tool to insert and retreive files on Freenet Exec=thaw.sh Icon=thaw X-MultipleArgs=false Terminal=false Categories=Network" >> $startdir/pkg/usr/share/applications/thaw.desktop } #Optional docs=('authors' 'copying' 'changelog' 'install' 'news' 'readme') options=('noextract') url="http://wiki.freenetproject.org/Thaw" extradepends=('jre') #lessdepends=('dep4' 'dep5' 'dep6') #dotnew=('etc/thing' 'etc/foo' 'etc/bar') #CFLAGS="-03" #CXXFLAGS="-03" #doinst() { #}