summaryrefslogtreecommitdiff
path: root/core/curl/PKGBUILD
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2013-04-19 12:40:04 +0200
committerMichał Masłowski <mtjm@mtjm.eu>2013-04-19 12:40:04 +0200
commitd186e96728bff4cc4873c59d48d01fe6eefe6131 (patch)
tree1eefcef8058414b07b2750f52d9746f5323472ff /core/curl/PKGBUILD
parent84c217e2d9acc64713978324761816e2468b5292 (diff)
parent1fedf1f5d5351aefd88268cba7353c79adac9b8a (diff)
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts: community/collectd/PKGBUILD community/drivel/PKGBUILD community/fcitx-mozc/PKGBUILD community/gnomesu/PKGBUILD community/gnuchess/PKGBUILD community/gphpedit/PKGBUILD community/gsql/PKGBUILD community/libmatchbox/PKGBUILD community/lockfile-progs/PKGBUILD community/opencc/PKGBUILD community/roxterm/PKGBUILD community/uriparser/PKGBUILD community/xcircuit/PKGBUILD core/bison/PKGBUILD core/curl/PKGBUILD core/expat/PKGBUILD core/gcc/PKGBUILD core/gpm/PKGBUILD core/m4/PKGBUILD core/systemd/PKGBUILD core/tar/PKGBUILD extra/alsa-lib/PKGBUILD extra/alsa-utils/PKGBUILD extra/bitlbee/PKGBUILD extra/chkrootkit/PKGBUILD extra/fakechroot/PKGBUILD extra/farstream/PKGBUILD extra/freeglut/PKGBUILD extra/gob2/PKGBUILD extra/libcdio-paranoia/PKGBUILD extra/liblqr/PKGBUILD extra/libnl1/PKGBUILD extra/libpst/PKGBUILD extra/libwpd/PKGBUILD extra/xorg-server/PKGBUILD
Diffstat (limited to 'core/curl/PKGBUILD')
-rw-r--r--core/curl/PKGBUILD35
1 files changed, 14 insertions, 21 deletions
diff --git a/core/curl/PKGBUILD b/core/curl/PKGBUILD
index 87f4208bd..a8089f496 100644
--- a/core/curl/PKGBUILD
+++ b/core/curl/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 177958 2013-02-12 13:57:28Z dreisner $
+# $Id: PKGBUILD 182802 2013-04-15 12:46:55Z dreisner $
# Maintainer: Dave Reisner <dreisner@archlinux.org>
# Contributor: Angel Velasquez <angvp@archlinux.org>
# Contributor: Eric Belanger <eric@archlinux.org>
@@ -6,8 +6,8 @@
# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
pkgname=curl
-pkgver=7.29.0
-pkgrel=2
+pkgver=7.30.0
+pkgrel=1
pkgdesc="An URL retrieval utility and library"
arch=('i686' 'x86_64' 'mips64el')
url="http://curl.haxx.se"
@@ -15,30 +15,14 @@ license=('MIT')
depends=('ca-certificates' 'libssh2' 'openssl' 'zlib')
options=('!libtool')
source=("http://curl.haxx.se/download/$pkgname-$pkgver.tar.gz"{,.asc}
- 0001-Fix-NULL-pointer-reference-when-closing-an-unused-mu.patch
curlbuild.h)
-md5sums=('4f57d3b4a3963038bd5e04dbff385390'
- '6283fbb36933cf8720acc34c43169f1d'
- '5bfd1899e8b19cfdd78774f6337f8b47'
+md5sums=('60bb6ff558415b73ba2f00163fd307c5'
+ 'SKIP'
'751bd433ede935c8fae727377625a8ae')
-ptrsize=$(cpp <<<'__SIZEOF_POINTER__' | sed '/^#/d')
-case $ptrsize in
- 8) _curlbuild=curlbuild-64.h ;;
- 4) _curlbuild=curlbuild-32.h ;;
- *) error "unknown pointer size for architecture: %s bytes" "$ptrsize"
- exit 1
- ;;
-esac
-
build() {
cd "$pkgname-$pkgver"
- # We have the same CFLAGS as Arch, this should be fixed upstream.
- sed -i 's/xc_bad_var_cflags=yes/xc_bad_var_cflags=no/' configure
-
- patch -Np1 <"$srcdir/0001-Fix-NULL-pointer-reference-when-closing-an-unused-mu.patch"
-
./configure \
--prefix=/usr \
--mandir=/usr/share/man \
@@ -61,6 +45,15 @@ package() {
make DESTDIR="$pkgdir" install
+ local ptrsize=$(cpp <<<'__SIZEOF_POINTER__' | sed '/^#/d')
+ case $ptrsize in
+ 8) _curlbuild=curlbuild-64.h ;;
+ 4) _curlbuild=curlbuild-32.h ;;
+ *) error "unknown pointer size for architecture: %s bytes" "$ptrsize"
+ exit 1
+ ;;
+ esac
+
# license
install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"