Updated extra/curl

This commit is contained in:
Kevin Mihelich 2011-02-21 12:22:31 -05:00
parent a074999829
commit ed90ed1c13

View file

@ -1,17 +1,18 @@
# $Id: PKGBUILD 104004 2010-12-25 10:24:12Z allan $
# $Id: PKGBUILD 110504 2011-02-19 17:12:53Z angvp $
# Maintainer: Angel Velasquez <angvp@archlinux.org>
# Contributor: Eric Belanger <eric@archlinux.org>
# Contributor: Lucien Immink <l.immink@student.fnt.hvu.nl>
# Maintainer: Daniel J Griffiths <ghost1227@archlinux.us>
# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
# PlugApps: Kevin Mihelich <kevin@plugapps.com>
# - define this file:
_curlbuild=curlbuild-32.h
plugrel=2
plugrel=1
pkgname=curl
pkgver=7.21.3
pkgrel=1
pkgver=7.21.4
pkgrel=2
pkgdesc="An URL retrival utility and library"
arch=('i686' 'x86_64')
url="http://curl.haxx.se"
@ -20,7 +21,7 @@ depends=('zlib' 'openssl' 'bash' 'ca-certificates')
options=('!libtool')
source=(http://curl.haxx.se/download/${pkgname}-${pkgver}.tar.bz2
curlbuild.h)
md5sums=('5b57fee22090b5c43a6886fdd35af2ce'
md5sums=('e2dd20c88a7d01c745af9d788545ab2a'
'751bd433ede935c8fae727377625a8ae')
[[ $CARCH == "x86_64" ]] && _curlbuild=curlbuild-64.h
@ -38,8 +39,9 @@ build() {
--disable-ldap \
--enable-manual \
--enable-versioned-symbols \
--with-ca-path=/etc/ssl/certs \
--without-libidn
--with-ca-bundle=/etc/ssl/certs/ca-certificates.crt \
--without-libidn \
--enable-threaded-resolver
make
}
@ -51,6 +53,6 @@ package() {
${pkgdir}/usr/share/licenses/${pkgname}/COPYING
install -Dm644 docs/libcurl/libcurl.m4 \
${pkgdir}/usr/share/aclocal/libcurl.m4
mv -f "${pkgdir}/usr/include/curl/curlbuild.h" "${pkgdir}/usr/include/curl/${_curlbuild}"
mv "${pkgdir}/usr/include/curl/curlbuild.h" "${pkgdir}/usr/include/curl/${_curlbuild}"
install -m 644 ${srcdir}/curlbuild.h "${pkgdir}/usr/include/curl/curlbuild.h"
}