updated on Thu Jan 26 00:18:00 UTC 2012
[aur-mirror.git] / robert / PKGBUILD
blob74bdf12a435a87203ea056d63a699ceade9711d3
1 # Maintainer: archtux <antonio.arias99999 at gmail.com>
4 # Robert can be downloaded from i2p by Bittorrent :
5 #    http://sponge.i2p/files/Robert-Stable.torrent
6 # Once you get the archive 'Robert-0.0.29-STABLE.tar.gz', place it in this directory
9 pkgname=robert
10 pkgver=0.0.29
11 pkgrel=1
12 pkgdesc="Bittorent client for I2P written in Python"
13 arch='any'
14 url="http://sponge.i2p/files/Robert-Stable.torrent"
15 license='MIT'
16 depends=('i2p' 'python2' 'wxpython')
17 source=(Robert-$pkgver-STABLE.tar.gz)
18 md5sums='7e57d9f971d0c5a376a6d426cc1e6375'
19 install=robert.install
21 build() {
22   cd $srcdir/Robert-src/src
24    # Install
25    mkdir -p $pkgdir/usr/share/robert
26    cp -r BitTorrent/ fonts/ images/ locale/ *py $pkgdir/usr/share/robert
28    # Desktop icon
29    install -Dm644 images/robert.ico $pkgdir/usr/share/pixmaps/robert.ico
30    cd $startdir
31    install -Dm644 robert.desktop $pkgdir/usr/share/applications/robert.desktop
33    # Executable
34    install -Dm755 robert $pkgdir/usr/bin/robert
36    # Remove obsolete files
37    cd $pkgdir/usr/share/robert
38    rm btmetainfo.py hotprof.py winsetup.py