# $Id: PKGBUILD 30402 2009-03-19 06:26:50Z eric $ # Contributor: Nick Martens (nick1337@xs4all.nl) pkgname=ed2k-gtk-gui pkgver=0.6.4 pkgrel=3 pkgdesc="A GUI for the eDonkey2000 and Overnet file-sharing programs" arch=('i686' 'x86_64') url="http://ed2k-gtk-gui.sourceforge.net/index.shtml" license=('GPL') depends=('gtk2' 'gnet') source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz) md5sums=('c51ddfc64ba39e2bb5383a95afe72c53') build() { cd $srcdir/$pkgname-$pkgver ./configure --prefix=/usr --mandir=/usr/share/man || return 1 sed -i 's/-DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED//' ed2k_gui/Makefile || return 1 make || return 1 make DESTDIR=$pkgdir install || return 1 }