1 # Contributor: Anton Bazhenov <anton.bazhenov at gmail>
2 # Contributor: Matthew Sharpe <matt.sharpe@gmail.com>
8 pkgdesc="A little utility that takes an number of files and outputs their ed2k-links"
10 url="http://ed2k-tools.sourceforge.net/ed2k_hash.shtml"
13 source=(http://downloads.sourceforge.net/ed2k-tools/${_pkgname}-$pkgver.tar.gz \
16 md5sums=('545d44d5e00078011f41a18e235f4af8'
17 '38eeb9c0ebd5cad917fde1c2bd7d9118'
18 'e0cad2b48d289d05883280798160d8ba')
21 cd $srcdir/$_pkgname-$pkgver
22 patch -p0 -i ../JobQueue.patch || return 1
23 patch -p0 -i ../Configuration.patch || return 1
24 ./configure --prefix=/usr || return 1
26 make DESTDIR="$pkgdir" install