# Contributor: Thomas Mudrunka # You can also contact me on http://blog.harvie.cz/ pkgname=torchat pkgver=0.9.9.287 pkgrel=3 pkgdesc="Messenger application on top of the Tor network and it's location hidden services. Nobody will be able to find out where you are, find out what you send/receive, to whom you are sending/receiving from and where are your contacts located. Pidgin-like." arch=('any') license=('GPL') url="http://code.google.com/p/torchat/" depends=( 'tor' 'python' 'wxpython' ) source=( "http://torchat.googlecode.com/files/${pkgname}-source-${pkgver}.zip" ) md5sums=( 'de18fb798664757e222c9f953d9c66a7' ) build() { mkdir -p ${pkgdir}/opt/torchat/ rm -rf ${srcdir}/src/portable.txt #disable the "portable mode" cp -r ${srcdir}/* ${pkgdir}/opt/torchat/ rm -rf ${pkgdir}/opt/torchat/${pkgname}-source-${pkgver}.zip mkdir -p ${pkgdir}/usr/bin echo '#!/bin/sh /opt/torchat/src/torchat.py $@' > ${pkgdir}/usr/bin/torchat chmod -R 655 ${pkgdir}/usr/bin/torchat #Desktop Launcher mkdir -p ${pkgdir}/usr/share/applications echo '[Desktop Entry] Encoding=UTF-8 Name=TORChat GenericName=TORChat Comment=Messenger application on top of the Tor network and location hidden services Exec=/usr/bin/torchat Icon=torchat StartupNotify=true Terminal=false Type=Application Categories=Network;InstantMessaging;' > ${pkgdir}/usr/share/applications/torchat.desktop #Icon mkdir -p ${pkgdir}/usr/share/pixmaps cp ${srcdir}/src/icons/torchat.png ${pkgdir}/usr/share/pixmaps/ }