updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / eiskaltdcpp-gtk3 / PKGBUILD
blob0e8572f1e38585ebc7e9db69c79bac8ea43b0b3a
1 # Contributor: dhamp <dhamp@ya.ru>
3 _name=eiskaltdcpp
4 _prerel=
5 _tarver=2.2.5
6 _ui=gtk3
7 #pkgbase=$_name
8 pkgname=$_name-$_ui
9 #('eiskaltdcpp' 'eiskaltdcpp-gtk' 'eiskaltdcpp-qt' 'eiskaltdcpp-common')
10 pkgver=$_tarver
11 pkgrel=1
12 license=('GPL3')
13 arch=('i686' 'x86_64')
14 depends=('libnotify' 'bzip2' 'pcre' 'lua' 'libidn' 'gtk3')
15 optdepends=('aspell: spellchecking'
16             'php: needed for some optionŠ°l scripts')
17 pkgdesc="A GTK+ 3 only (!) version of DC and ADC client based on dcpp core"
18 url="http://code.google.com/p/eiskaltdc/"
19 makedepends=('gcc' 'pkgconfig' 'cmake' 'gettext')
20 conflicts=('eiskaltdcpp-git' 'eiskaltdcpp' 'eiskaltdcpp-gtk')
21 provides=('eiskaltdcpp-gtk3')
22 options=(!emptydirs)
23 install=$_name-$_ui.install
24 #_patchname=fix-for-build-beta2.diff
25 source=(http://eiskaltdc.googlecode.com/files/${_name}-${_tarver}${_prerel}.tar.xz)
27 build() {
28   cd ${srcdir}
29   #patch -Np1 -i ${srcdir}/${_patchname}
30   rm -rf $srcdir/$_name-$_tarver$_prerel/build
31   mkdir $srcdir/$_name-$_tarver$_prerel/build
32   cd $srcdir/$_name-$_tarver$_prerel/build
33   cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DUSE_IDNA=ON -DUSE_LIBGNOME2=ON -DLOCAL_MINIUPNP=ON -DUSE_GTK3=ON -DUSE_QT=NO -DLOCAL_BOOST=ON -DLUA_SCRIPT=ON -DWITH_LUASCRIPTS=ON -DWITH_DHT=ON -DLinguas="en ru" -DCMAKE_BUILD_TYPE="Release"
34   make -j 2
35   make DESTDIR=$pkgdir install
36   rm -rf $srcdir/$_name-$_tarver$_prerel/build
38 md5sums=('062f8b7efe6cf8940c44a0242facefbb')
39 sha1sums=('25d5cd1c7130a2e76da39c479804615bdcf6f878')