1 # Contributor: mank@no-ip.sk
5 pkgdesc="DC + + client based on the source code FreeDC + + with Ignore Users."
7 url="http://launchpad.net/bmdc++"
9 depends=('boost' 'bzip2' 'gtk2>=2.0' 'libglade' 'libgnome>=2.0'
10 'libnotify>=0.4.1' 'openssl' 'lua' 'geoip' 'libtar' )
11 makedepends=('pkgconfig' 'bzr' 'scons' 'gcc')
13 conflicts=('linuxdcpp' 'linuxdcpp-bzr' 'linuxdcpp-bzr-i18n' 'freedcpp')
17 _bzrtrunk=lp:${_bzrmod}
22 msg "Getting source ..."
23 if [ ! -d ./${_bzrmod} ]; then
24 bzr branch ${_bzrtrunk}
26 bzr update ${_bzrtrunk}
29 msg "Checkout done or error"
31 msg "Starting make..."
32 scons PREFIX=/usr LIBDIR=/usr/share || return 1
33 scons PREFIX=/usr LIBDIR=/usr/share install FAKE_ROOT=$startdir/pkg || return 1
34 scons DESTDIR=${pkgdir} install || return 1