summaryrefslogtreecommitdiff
path: root/community/xmlrpc-c/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/xmlrpc-c/PKGBUILD')
-rw-r--r--community/xmlrpc-c/PKGBUILD14
1 files changed, 9 insertions, 5 deletions
diff --git a/community/xmlrpc-c/PKGBUILD b/community/xmlrpc-c/PKGBUILD
index f14eae4e0..69ebd635d 100644
--- a/community/xmlrpc-c/PKGBUILD
+++ b/community/xmlrpc-c/PKGBUILD
@@ -1,7 +1,7 @@
-# $Id: $
+# $Id: PKGBUILD 49552 2011-06-18 07:22:08Z andrea $
+# Maintainer: Daenyth <Daenyth+Arch [at] gmail [dot] com>
# Contributor: Pierre Schmitz <pierre@archlinux.de>
# Contributor: Vitaliy Berdinskikh <skipper13@root.ua>
-# Maintainer: Daenyth <Daenyth+Arch [at] gmail [dot] com>
pkgname=xmlrpc-c
pkgver=1858
@@ -13,7 +13,7 @@ license=('custom:xmlrpc-c')
depends=('curl' 'libxml2' 'gcc-libs' 'zlib')
makedepends=('libtool')
options=('!makeflags' '!libtool')
-source=("ftp://ftp.archlinux.org/other/$pkgname/$pkgname-$pkgver.tar.bz2")
+source=("ftp://ftp.archlinux.org/other/community/$pkgname/$pkgname-$pkgver.tar.bz2")
md5sums=('2bd41d1827ebd12ca8f0b9ef0b015228')
build() {
@@ -27,10 +27,14 @@ build() {
--disable-libwww-client \
--disable-wininet-client
- make CFLAGS_PERSONAL="${CFLAGS}" || return 1
+ make CFLAGS_PERSONAL="${CFLAGS}"
+}
+
+package() {
+ cd $srcdir/$pkgname
make DESTDIR=$pkgdir install
- install -m 644 -D doc/COPYING $pkgdir/usr/share/licenses/${pkgname}/COPYING
+ install -m 644 -D doc/COPYING $pkgdir/usr/share/licenses/${pkgname}/LICENSE
mv $pkgdir/usr/man $pkgdir/usr/share/man
}
# vim:set ts=2 sw=2 et: