1 # Contributor: Thomas Mudrunka <harvie@@email..cz>
2 # You can also contact me on http://blog.harvie.cz/
7 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."
10 url="http://code.google.com/p/torchat/"
17 source=("http://torchat.googlecode.com/files/${pkgname}-source-${pkgver}.zip")
18 md5sums=('999c6845a414933c93bbaf2d356b52d0')
21 mkdir -p ${pkgdir}/opt/torchat/
22 rm -rf ${srcdir}/src/portable.txt #disable the "portable mode"
23 cp -r ${srcdir}/* ${pkgdir}/opt/torchat/
25 rm -rf ${pkgdir}/opt/torchat/${pkgname}-source-${pkgver}.zip
27 mkdir -p ${pkgdir}/usr/bin
29 /usr/bin/python2 /opt/torchat/src/torchat.py $@' > ${pkgdir}/usr/bin/torchat
30 chmod -R 655 ${pkgdir}/usr/bin/torchat
34 mkdir -p ${pkgdir}/usr/share/applications
39 Comment=Messenger application on top of the Tor network and location hidden services
45 Categories=Network;InstantMessaging;' > ${pkgdir}/usr/share/applications/torchat.desktop
48 mkdir -p ${pkgdir}/usr/share/pixmaps
49 cp ${srcdir}/src/icons/torchat.png ${pkgdir}/usr/share/pixmaps/