updated on Sun Jan 22 16:00:49 UTC 2012
[aur-mirror.git] / d4x / PKGBUILD
blobd06b918e7418045b9ae8c5095bd60610cf0422a0
1 # $Id: PKGBUILD 75377 2010-04-01 12:30:49Z allan $
2 # Maintainer: Hugo Doria <hugo@archlinux.org>
4 pkgname=d4x
5 pkgver=2.5.7.1
6 pkgrel=5
7 pkgdesc="A GUI XFree86 program for downloading files"
8 arch=('i686' 'x86_64')
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')
15 makedepends=('boost')
16 conflicts=('downloaderx')
17 replaces=('downloaderx')
18 md5sums=('68d6336c3749a7caabb0f5a5f84f4102'
19          '49541b12908520f131a22d31a37d4a59'
20          '3639f6d3fb7253a50a085c0b1037268b')
22 build() {
23     cd ${srcdir}/${pkgname}-${pkgver}
24     
25     patch -Np1 < ${srcdir}/d4x-gtkurl.patch || return 1
26     patch -Np1 -i "${srcdir}"/d4x-fix-gcc44.patch || return 1
27     
28     ./configure --prefix=/usr --mandir=/usr/share/man
29     make || return 1
30     make prefix=${pkgdir}/usr mandir=${pkgdir}/usr/share/man install