Added some workarounds to AppArmor + color messages as bonus :-)
[mirrors/ArchLinux-Packages.git] / counter-strike-2d / 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=2
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."
8 arch=('any')
9 license=('GPL')
10 url="http://code.google.com/p/torchat/"
11 depends=(
12 'python'
13 'wxpython'
14 )
15
16 source=(
17 #"http://torchat.googlecode.com/files/${pkgname}-source-${pkgver}.zip"
18 ""
19 "http://www.unrealsoftware.de/get.php?cid=311245915&get=cs2d_0113_win.zip&p=1"
20 )
21
22 md5sums=(
23 #'de18fb798664757e222c9f953d9c66a7'
24 )
25
26
27 build() {
28 mkdir -p ${pkgdir}/opt/torchat/
29 rm -rf ${srcdir}/src/portable.txt #disable the "portable mode"
30 cp -r ${srcdir}/* ${pkgdir}/opt/torchat/
31
32 rm -rf ${pkgdir}/opt/torchat/${pkgname}-source-${pkgver}.zip
33
34 mkdir -p ${pkgdir}/usr/bin
35 echo '#!/bin/sh
36 /opt/torchat/src/torchat.py $@' > ${pkgdir}/usr/bin/torchat
37 chmod -R 655 ${pkgdir}/usr/bin/torchat
38
39
40 #Desktop Launcher
41 mkdir -p ${pkgdir}/usr/share/applications
42 echo '[Desktop Entry]
43 Encoding=UTF-8
44 Name=TORChat
45 GenericName=TORChat
46 Comment=Messenger application on top of the Tor network and location hidden services
47 Exec=/usr/bin/torchat
48 Icon=torchat
49 StartupNotify=true
50 Terminal=false
51 Type=Application
52 Categories=Network;InstantMessaging;' > ${pkgdir}/usr/share/applications/torchat.desktop
53
54 #Icon
55 mkdir -p ${pkgdir}/usr/share/pixmaps
56 cp ${srcdir}/src/icons/torchat.png ${pkgdir}/usr/share/pixmaps/
57
58 }
This page took 0.236119 seconds and 4 git commands to generate.