2d3258dcf19ef637b8ba3371fe5a7f204a776554
[mirrors/ArchLinux-Packages.git] / torchat / PKGBUILD
1 # Contributor: Thomas Mudrunka <harvie@@email..cz>
2 # You can also contact me on http://blog.harvie.cz/
3
4 pkgname=torchat
5 pkgver=0.9.9.287
6 pkgrel=3
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."
8 arch=('any')
9 license=('GPL')
10 url="http://code.google.com/p/torchat/"
11 depends=(
12 'tor'
13 'python'
14 'wxpython'
15 )
16
17 source=(
18 "http://torchat.googlecode.com/files/${pkgname}-source-${pkgver}.zip"
19 )
20
21 md5sums=(
22 'de18fb798664757e222c9f953d9c66a7'
23 )
24
25
26 build() {
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]
42 Encoding=UTF-8
43 Name=TORChat
44 GenericName=TORChat
45 Comment=Messenger application on top of the Tor network and location hidden services
46 Exec=/usr/bin/torchat
47 Icon=torchat
48 StartupNotify=true
49 Terminal=false
50 Type=Application
51 Categories=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.300572 seconds and 3 git commands to generate.