1 # Contributor: Vlatko Kosturjak <kost@linux.hr>
6 pkgdesc="graphical interactive TFTP server written in Python"
8 url="http://code.google.com/p/tftpgui/"
10 depends=('python2' 'tk')
12 _sourcedir=('tftpgui_1_1')
13 _sourcefile=("$_sourcedir.tar")
14 source=("http://tftpgui.googlecode.com/files/$_sourcefile")
15 md5sums=('4fdaf5b4c46eb2beff010448bd52a8a7')
18 mkdir -p $pkgdir/usr/{bin,src}
20 tar xf $startdir/$_sourcefile # && rm $startdir/$_sourcefile
21 ln -sf $_sourcedir $pkgname
22 # mkdir $pkgname/scans
25 echo '#!/bin/sh' > $pkgname
26 echo "cd /usr/src/$pkgname && python2 tftpgui.py$*" >> $pkgname
27 chmod +x $pkgdir/usr/bin/$pkgname