From f8711d59a7725b76e11fe3e963fb0d94a4e68184 Mon Sep 17 00:00:00 2001
From: Michael Hanson <hansonorders@verizon.net>
Date: Tue, 30 Nov 2010 01:52:30 +0000
Subject: xmlrpc-c: upgrade

---
 abs/core/xmlrpc-c/PKGBUILD | 21 ++++++++++++++-------
 1 file changed, 14 insertions(+), 7 deletions(-)

diff --git a/abs/core/xmlrpc-c/PKGBUILD b/abs/core/xmlrpc-c/PKGBUILD
index 4a1057e..02a386c 100644
--- a/abs/core/xmlrpc-c/PKGBUILD
+++ b/abs/core/xmlrpc-c/PKGBUILD
@@ -1,23 +1,25 @@
-# Maintainer: Pierre Schmitz <pierre@archlinux.de>
+# $Id: $
+# Contributor: Pierre Schmitz <pierre@archlinux.de>
 # Contributor: Vitaliy Berdinskikh <skipper13@root.ua>
+# Maintainer: Daenyth <Daenyth+Arch [at] gmail [dot] com>
 
 pkgname=xmlrpc-c
-pkgver=1.06.32
+pkgver=1858
 pkgrel=1
 pkgdesc='This library provides a modular implementation of XML-RPC for C and C++'
 arch=('i686' 'x86_64')
 url='http://xmlrpc-c.sourceforge.net/'
-license=('custom')
-depends=('curl' 'libxml2')
+license=('custom:xmlrpc-c')
+depends=('curl' 'libxml2' 'gcc-libs' 'zlib')
 makedepends=('libtool')
 options=('!makeflags' '!libtool')
-source=("http://downloads.sourceforge.net/xmlrpc-c/xmlrpc-c-${pkgver}.tgz")
-md5sums=('1a5a0771a22e75819d90e7fab38ef377')
+source=("ftp://ftp.archlinux.org/other/$pkgname/$pkgname-$pkgver.tar.bz2")
+md5sums=('2bd41d1827ebd12ca8f0b9ef0b015228')
 
 build() {
 	[ "${CARCH}" = "x86_64" ] && export CFLAGS="${CFLAGS} -fPIC"
 
-	cd $srcdir/$pkgname-$pkgver
+	cd $srcdir/$pkgname
 	./configure --prefix=/usr \
 		--enable-libxml2-backend \
 		--disable-cgi-server \
@@ -26,7 +28,12 @@ build() {
 		--disable-wininet-client
 
 	make CFLAGS_PERSONAL="${CFLAGS}" || return 1
+}
+package() {
+	cd $srcdir/$pkgname
 	make DESTDIR=$pkgdir install
 
 	install -m 644 -D doc/COPYING $pkgdir/usr/share/licenses/${pkgname}/COPYING
+  mv $pkgdir/usr/man $pkgdir/usr/share/man
 }
+# vim:set ts=2 sw=2 et:
-- 
cgit v0.12

