Added some workarounds to AppArmor + color messages as bonus :-)
[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
5pkgver=0.9.9.287
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
17source=(
18 "http://torchat.googlecode.com/files/${pkgname}-source-${pkgver}.zip"
19 )
20
21md5sums=(
22 'de18fb798664757e222c9f953d9c66a7'
23 )
24
25
26build() {
27 mkdir -p ${pkgdir}/opt/torchat/
28 rm -rf ${srcdir}/src/portable.txt #disable the "portable mode"
29 cp -r ${srcdir}/* ${pkgdir}/opt/torchat/
30
31 rm -rf ${pkgdir}/opt/torchat/${pkgname}-source-${pkgver}.zip
32
33 mkdir -p ${pkgdir}/usr/bin
34 echo '#!/bin/sh
35 /opt/torchat/src/torchat.py $@' > ${pkgdir}/usr/bin/torchat
36 chmod -R 655 ${pkgdir}/usr/bin/torchat
37
38
39 #Desktop Launcher
40 mkdir -p ${pkgdir}/usr/share/applications
41 echo '[Desktop Entry]
42Encoding=UTF-8
43Name=TORChat
44GenericName=TORChat
45Comment=Messenger application on top of the Tor network and location hidden services
46Exec=/usr/bin/torchat
47Icon=torchat
48StartupNotify=true
49Terminal=false
50Type=Application
51Categories=Network;InstantMessaging;' > ${pkgdir}/usr/share/applications/torchat.desktop
52
53 #Icon
54 mkdir -p ${pkgdir}/usr/share/pixmaps
55 cp ${srcdir}/src/icons/torchat.png ${pkgdir}/usr/share/pixmaps/
56
57}
This page took 0.120326 seconds and 4 git commands to generate.