1 # Contributor: Alex Zinchenko mng123 @ gmail.com
5 pkgdesc="DC + + client based on the source code LinuxDC + +."
7 url="http://code.google.com/p/freedcpp/"
9 depends=('boost' 'bzip2' 'gtk2>=2.0' 'libglade' 'libgnome>=2.0' 'libnotify>=0.4.1' 'openssl' 'miniupnpc')
10 makedepends=('pkgconfig' 'subversion' 'scons')
12 conflicts=('linuxdcpp' 'linuxdcpp-bzr' 'linuxdcpp-bzr-i18n')
13 source=(http://freedcpp.googlecode.com/files/mediapack.0.0.3.tar.bz2
14 example-theme.tar.bz2)
15 md5sums=('c4383ec870c55e816d1274c1468c2e32'
16 '91ab046720f831b35be9b16e4c9eb4b6')
19 _svntrunk="http://freedcpp.googlecode.com/svn/trunk/"
23 msg "Getting sources..."
25 if [ -d ${_svnmod}/.svn ]; then
26 (cd ${_svnmod} && svn up -r ${pkgver})
28 svn co ${_svntrunk} --config-dir ./ -r ${pkgver} ${_svnmod}
32 msg "SVN checkout done or server timeout"
33 msg "Starting make..."
36 # Generating build system
37 scons PREFIX=/usr LIBDIR=/usr/share || return 1
38 scons PREFIX=/usr LIBDIR=/usr/share install FAKE_ROOT=$startdir/pkg || return 1
39 scons DESTDIR=${pkgdir} install || return 1
41 cp -R ${srcdir}/mediapack/emoticons ${pkgdir}/usr/share/freedcpp/
42 cp -R ${srcdir}/mediapack/sounds ${pkgdir}/usr/share/freedcpp/
43 cp -R ${srcdir}/example-theme/themes ${pkgdir}/usr/share/freedcpp/