updated on Thu Jan 19 16:10:29 UTC 2012
[aur-mirror.git] / kftpgrabber / PKGBUILD
blob13f1f37121f0d7a9934b4489ea108f3359da8698
1 # Contributor: Andrea Scarpino <andrea@archlinux.org>
2 # Contributor: Eric Belanger <eric@archlinux.org>
3 # Contributor : mutlu_inek <mutlu_inek@yahoo.de>
5 pkgname=kftpgrabber
6 pkgver=0.8.1
7 pkgrel=4
8 pkgdesc="A graphical FTP client for KDE"
9 arch=('i686' 'x86_64')
10 url="http://www.kftp.org/"
11 license=('GPL')
12 depends=('gcc-libs' 'zlib' 'libx11' 'kdelibs3')
13 options=('libtool')
14 source=("http://www.kftp.org/uploads/files/${pkgname}-${pkgver}.tar.bz2"
15         'kftpgrabber-0.8.1-glibc-2.10.patch'
16         'gcc4.4.patch'
17         'openssl1.patch')
18 md5sums=('56610fd3e2e7f092b7d8eed10d3e5d36'
19         'e3e70ce688a6161dc8a15b569b8fceb0'
20         'c0ed1df2a418d15c0367067972194cc9'
21         '5e1b5e4d7858cc1862b5791b4abe6d31')
23 build() {
24   cd ${srcdir}/${pkgname}-${pkgver}
25   patch -p1 -i ${srcdir}/kftpgrabber-0.8.1-glibc-2.10.patch || return 1
26   patch -Np1 -i ${srcdir}/gcc4.4.patch || return 1
27   patch -Np1 -i ${srcdir}/openssl1.patch || return 1
28   . /etc/profile.d/kde3.sh
29   ./configure --prefix=/opt/kde \
30     --without-arts || return 1
31   make || return 1
34 package() {
35   cd ${srcdir}/${pkgname}-${pkgver}
36   make DESTDIR="${pkgdir}" install || return 1