added ssh-smart package - curently not working
[mirrors/ArchLinux-Packages.git] / torchat / PKGBUILD
CommitLineData
209feeb0
H
1# Contributor: Thomas Mudrunka <harvie@@email..cz>
2# You can also contact me on http://blog.harvie.cz/
3
4pkgname=torchat
34aabb07 5pkgver=0.9.9.425
209feeb0
H
6pkgrel=3
7pkgdesc="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."
8arch=('any')
9license=('GPL')
10url="http://code.google.com/p/torchat/"
11depends=(
12 'tor'
13 'python'
14 'wxpython'
15)
16
34aabb07
H
17source=("http://torchat.googlecode.com/files/${pkgname}-source-${pkgver}.zip")
18md5sums=('999c6845a414933c93bbaf2d356b52d0')
209feeb0
H
19
20build() {
21 mkdir -p ${pkgdir}/opt/torchat/
22 rm -rf ${srcdir}/src/portable.txt #disable the "portable mode"
23 cp -r ${srcdir}/* ${pkgdir}/opt/torchat/
24
25 rm -rf ${pkgdir}/opt/torchat/${pkgname}-source-${pkgver}.zip
26
27 mkdir -p ${pkgdir}/usr/bin
28 echo '#!/bin/sh
34aabb07 29 /usr/bin/python2 /opt/torchat/src/torchat.py $@' > ${pkgdir}/usr/bin/torchat
209feeb0
H
30 chmod -R 655 ${pkgdir}/usr/bin/torchat
31
32
33 #Desktop Launcher
34 mkdir -p ${pkgdir}/usr/share/applications
35 echo '[Desktop Entry]
36Encoding=UTF-8
37Name=TORChat
38GenericName=TORChat
39Comment=Messenger application on top of the Tor network and location hidden services
40Exec=/usr/bin/torchat
41Icon=torchat
42StartupNotify=true
43Terminal=false
44Type=Application
45Categories=Network;InstantMessaging;' > ${pkgdir}/usr/share/applications/torchat.desktop
46
47 #Icon
48 mkdir -p ${pkgdir}/usr/share/pixmaps
49 cp ${srcdir}/src/icons/torchat.png ${pkgdir}/usr/share/pixmaps/
50
51}
This page took 0.348465 seconds and 4 git commands to generate.