1 # Contributor: Urs Wolfer <uwolfer @ fwo.ch>
2 # Based on work by: cs-cam <me.at.camdaniel.com>
7 pkgdesc="ABC is an improved client for the Bittorrent peer-to-peer file distribution solution."
8 url="http://pingpong-abc.sf.net"
10 makedepends=('icoconvert' 'zip')
11 source=(http://dl.sourceforge.net/sourceforge/pingpong-abc/ABC-win32-v3.1.zip)
12 md5sums=('2902d0b33aa48f4b34e492ca8ea94ebc')
14 _del_files="abc.exe.manifest abc.nsi clean.bat how_to_compile.txt makedist.bat setupabc.py"
17 cd $startdir/src/$pkgver
18 sed -e 's/\, "lang"/, "Lang"/g' -i Lang/lang.py
20 # remove the french language file because it makes unicode problems in the preferences dialog
21 rm -rf Lang/french.lang
23 mkdir -p $startdir/pkg/usr/{share/abctorrent,share/pixmaps,bin}
24 icoconvert icon_abc.ico &> /dev/null
25 cp icon_abc_32X32_32bpp.png $startdir/pkg/usr/share/pixmaps/abc.png
26 cp -r * $startdir/pkg/usr/share/abctorrent
28 cd /usr/share/abctorrent
29 python abc.py" > $startdir/pkg/usr/bin/abctorrent
30 chmod +x $startdir/pkg/usr/bin/abctorrent