updated on Mon Jan 23 04:00:55 UTC 2012
[aur-mirror.git] / linuxdcpp-ru / PKGBUILD
blob13f4714dc83a4069a59de46bf499def6fa3e61d9
1 # Contributor: zeus <gelios@gmail.com>
3 pkgname=linuxdcpp-ru
4 pkgver=070717 
5 _pkgver='07-07-17'
6 pkgrel=1
7 pkgdesc="Linux dc++ from CVS with encoding and magnet links support patchset"
8 url="http://linuxdcpp-ru.sourceforge.net/"
9 license="GPL"
10 depends=('libglade' 'bzip2' 'openssl')
11 makedepends=('scons')
12 arch=(i686 x86_64)
14 source=("http://linuxdcpp-ru.sourceforge.net/linuxdcpp-cvs_${_pkgver}.tbz" "http://linuxdcpp-ru.sourceforge.net/linuxdcpp-magnets_20${_pkgver}.patch" 'linuxdcpp.desktop')
16 md5sums=('298557bb640e9ad9717afd1bafb32cc7'
17          'dee37602631b1bf4f21658cebde1d917'
18          '6ae7e9bc66a7173e5b88158135efa281')
20 build() {
21   cd $startdir/src/linuxdcpp
22   patch -Np1 -i ../linuxdcpp-magnets_20${_pkgver}.patch || return 1
23   scons PREFIX=/usr LIBDIR=/usr/share || return 1
24   scons PREFIX=/usr LIBDIR=/usr/share install FAKE_ROOT=$startdir/pkg || return 1
25   install -D ../../linuxdcpp.desktop $startdir/pkg/usr/share/applications/linuxdcpp.desktop