1 # Contributor: Christoph Zeiler <archNOSPAM_at_moonblade.dot.org>
6 pkgdesc="A minimalistic and easily configurable BitTorrent client"
8 url="http://torium.sourceforge.net/"
10 depends=('gtkmm>=2.4' 'libtorrent-rasterbar>=0.13' 'libnotify')
11 makedepends=('subversion' 'autoconf' 'automake' 'make' 'pkgconfig>=0.9')
12 install=torium.install
16 _svntrunk="http://torium.svn.sourceforge.net/svnroot/torium/trunk"
20 msg "Connecting to SVN server..."
27 msg "Local files have been updated."
29 svn co $_svntrunk $_svnmod -r $pkgver --config-dir ./
32 msg "SVN checkout done or server timeout"
35 cp -rf $_svnmod/ $_svnmod-build/
38 sed 's| char \*v_tmp| const char \*v_tmp|g' -i src/torrent.cc
41 sed 's|CFLAGS="-g"|:|g' -i configure
43 msg "Starting make..."
45 ./configure --prefix=/usr \
46 --with-gconf-schema-file-dir=/usr/share/gconf/schemas \
47 --disable-schemas-install
50 make DESTDIR="$pkgdir" install
52 install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING