1 # Maintainer: Carl Reinke <mindless2112 gmail com>
5 pkgdesc="uTorrent server, BitTorrent client with web UI"
7 url="http://www.utorrent.com/downloads/linux"
10 depends=('glibc' 'gcc-libs' 'bash' 'openssl098' 'zlib')
11 conflicts=('utorrent-server')
12 install=$pkgname.install
14 if [[ $CARCH == i686 ]]
17 http://download.utorrent.com/linux/utorrent-server-3.0-25053.tar.gz
18 utserver utserver.conf utserver.conf.d utserver.rc.d
21 '49f6376e9df19f773763180464367c2c'
22 'cc2abac1ce3d0efe475f16b70257bace'
23 'ad557d08d6a3a578f546c3b0dd827072'
24 'b06944473a02fddfb56b6864aa85e255'
25 '340b37652522a5a76b08ebc262bfc75f'
29 http://download.utorrent.com/linux/utorrent-server-3.0-ubuntu-25376.x64.tar.gz
30 utserver utserver.conf utserver.conf.d utserver.rc.d
33 '5be6a068d42c1b350d69f67f52cc4805'
34 'cc2abac1ce3d0efe475f16b70257bace'
35 'ad557d08d6a3a578f546c3b0dd827072'
36 'b06944473a02fddfb56b6864aa85e255'
37 '340b37652522a5a76b08ebc262bfc75f'
43 install -dm755 $pkgdir/srv/utserver/{downloads,settings,torrents}
44 install -dm755 $pkgdir/usr/share/utserver/webui
45 install -dm755 $pkgdir/usr/share/doc/utserver
46 install -dm755 $pkgdir/var/{log,run}/utserver
48 cd $srcdir/utorrent-server-v3_0
49 install -Dm755 utserver $pkgdir/usr/share/utserver/utserver
50 install -m644 docs/* $pkgdir/usr/share/doc/utserver
51 unzip webui.zip -d $pkgdir/usr/share/utserver/webui
54 install -Dm755 utserver $pkgdir/usr/bin/utserver
55 install -Dm755 utserver.conf $pkgdir/etc/utserver.conf
56 install -Dm755 utserver.conf.d $pkgdir/etc/conf.d/utserver
57 install -Dm755 utserver.rc.d $pkgdir/etc/rc.d/utserver