updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / libcurl3 / PKGBUILD
bloba04b03bdb9578ae1ab7111cf12ad025d248c0e06
1 # $Id$
2 # Maintainer: webjdm <web.jdm@gmail.org>
4 pkgname=libcurl3
5 pkgver=7.15.5
6 pkgrel=1
7 pkgdesc="Old libcurl.so.3 library"
8 arch=('i686')
9 url="http://curl.haxx.se"
10 license=('MIT')
11 depends=('libopenssl2' 'zlib')
12 makedepends=('rpmunpack' 'cpio' 'gzip' 'bash')
13 source=(http://curl.haxx.se/download/${pkgname}-${pkgver}-${pkgrel}.i386.rpm)
14 md5sums=('ff5c4bd95f7d53362229cb6ad0819728')
16 build() {
17   cd ${startdir}/src
19   rpmunpack ${pkgname}-${pkgver}-${pkgrel}.i386.rpm || return 1
20   gzip -d ${pkgname}-${pkgver}-${pkgrel}.cpio.gz || return 1
22   cd ${startdir}/pkg
24   mkdir -p usr/lib
25   mkdir -p usr/share/doc/${pkgname}-${pkgver}
26   cpio -i < ${startdir}/src/${pkgname}-${pkgver}-${pkgrel}.cpio || return 1