1 # $Id: PKGBUILD 75377 2010-04-01 12:30:49Z allan $
2 # Maintainer: Hugo Doria <hugo@archlinux.org>
7 pkgdesc="A GUI XFree86 program for downloading files"
9 depends=('esound' 'gtk2' 'openssl' 'alsa-lib' 'libstdc++5' 'audiofile')
10 options=('!makeflags')
11 source=(http://repository.slacky.eu/slackware-12.2/network/${pkgname}/${pkgver}/src/${pkgname}-${pkgver}.tar.bz2
12 d4x-fix-gcc44.patch d4x-gtkurl.patch)
13 url="http://www.d4x.net/"
14 license=('PerlArtistic')
16 conflicts=('downloaderx')
17 replaces=('downloaderx')
18 md5sums=('68d6336c3749a7caabb0f5a5f84f4102'
19 '49541b12908520f131a22d31a37d4a59'
20 '3639f6d3fb7253a50a085c0b1037268b')
23 cd ${srcdir}/${pkgname}-${pkgver}
25 patch -Np1 < ${srcdir}/d4x-gtkurl.patch || return 1
26 patch -Np1 -i "${srcdir}"/d4x-fix-gcc44.patch || return 1
28 ./configure --prefix=/usr --mandir=/usr/share/man
30 make prefix=${pkgdir}/usr mandir=${pkgdir}/usr/share/man install