[arch-commits] Commit in xmlrpc-c/repos/community-x86_64 (PKGBUILD PKGBUILD)

Alexander Rødseth arodseth at archlinux.org
Sun Nov 11 13:01:37 UTC 2018


    Date: Sunday, November 11, 2018 @ 13:01:36
  Author: arodseth
Revision: 406355

archrelease: copy trunk to community-x86_64

Added:
  xmlrpc-c/repos/community-x86_64/PKGBUILD
    (from rev 406354, xmlrpc-c/trunk/PKGBUILD)
Deleted:
  xmlrpc-c/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |  115 ++++++++++++++++++++++++++++---------------------------------
 1 file changed, 54 insertions(+), 61 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-11 13:00:46 UTC (rev 406354)
+++ PKGBUILD	2018-11-11 13:01:36 UTC (rev 406355)
@@ -1,61 +0,0 @@
-# $Id$
-# Maintainer: Alexander F Rødseth <xyproto at archlinux.org>
-# Contributor: Daenyth <Daenyth+Arch at gmail.com>
-# Contributor: Pierre Schmitz <pierre at archlinux.de>
-# Contributor: Vitaliy Berdinskikh <skipper13 at root.ua>
-
-pkgname=xmlrpc-c
-# Using the Stable version
-pkgver=1.43.06
-pkgrel=2
-epoch=1
-pkgdesc='XML-RPC for C and C++'
-arch=('x86_64' 'i686')
-url='http://xmlrpc-c.sourceforge.net/'
-license=('custom')
-depends=('curl' 'libxml2')
-makedepends=('libtool' 'setconf' 'subversion')
-options=('!makeflags' '!emptydirs')
-source=("svn://svn.code.sf.net/p/xmlrpc-c/code/stable")
-sha1sums=('SKIP')
-
-prepare() {
-  sed 's/xmlParserCtx /xmlParserCtxt/g' -i stable/src/xmlrpc_libxml2.c
-}
-
-build() {
-  cd stable
-
-  [ "$CARCH" != "i686" ] && export CFLAGS="$CFLAGS -fPIC"
-
-  ./configure \
-    --prefix=/usr \
-    --mandir=/usr/share/man \
-    --enable-libxml2-backend \
-    --disable-cgi-server \
-    --disable-libwww-client \
-    --disable-wininet-client \
-    --enable-abyss \
-    --enable-cplusplus
-
-  mkdir -p include/curl
-  touch include/curl/types.h
-
-  make CFLAGS_PERSONAL="$CFLAGS" CXXFLAGS_PERSONAL="$CXXFLAGS"
-  make -C tools CFLAGS_PERSONAL="$CFLAGS" CXXFLAGS_PERSONAL="$CXXFLAGS"
-}
-
-package() {
-  cd stable
-
-  make DESTDIR="$pkgdir" install
-  make -C tools DESTDIR="$pkgdir" install
-  install -Dm 644 doc/COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-
-  # Remove references to build directory
-  setconf "$pkgdir/usr/bin/xmlrpc-c-config" BLDDIR ''
-  setconf "$pkgdir/usr/bin/xmlrpc-c-config" ABS_SRCDIR ''
-}
-
-# getver: -u 2 xmlrpc-c.sourceforge.net/change_stable.html
-# vim: ts=2 sw=2 et:

Copied: xmlrpc-c/repos/community-x86_64/PKGBUILD (from rev 406354, xmlrpc-c/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-11-11 13:01:36 UTC (rev 406355)
@@ -0,0 +1,54 @@
+# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
+# Contributor: Daenyth <Daenyth+Arch at gmail.com>
+# Contributor: Pierre Schmitz <pierre at archlinux.de>
+# Contributor: Vitaliy Berdinskikh <skipper13 at root.ua>
+
+pkgname=xmlrpc-c
+# Using the "stable" version
+pkgver=1.43.08
+pkgrel=1
+epoch=1
+pkgdesc='XML-RPC for C and C++'
+arch=('x86_64')
+url='http://xmlrpc-c.sourceforge.net/'
+license=('custom')
+depends=('curl')
+makedepends=('libtool' 'setconf')
+options=('!emptydirs')
+source=("https://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tgz")
+sha256sums=('c9f5b584a42493877ae0f09ed680d94e035ab389e8fa1873b1ec42118d5cfca3')
+
+build() {
+  cd "$pkgname-$pkgver"
+
+  ./configure \
+    --prefix=/usr \
+    --mandir=/usr/share/man \
+    --disable-libxml2-backend \
+    --disable-cgi-server \
+    --disable-libwww-client \
+    --disable-wininet-client \
+    --enable-cplusplus
+
+  mkdir -p include/curl
+  touch include/curl/types.h
+
+  make CFLAGS_PERSONAL="$CFLAGS -fPIC -w" CXXFLAGS_PERSONAL="$CXXFLAGS -fPIC -w"
+  make -C tools CFLAGS_PERSONAL="$CFLAGS -fPIC -w" CXXFLAGS_PERSONAL="$CXXFLAGS -fPIC -w"
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+
+  make DESTDIR="$pkgdir" install
+  make DESTDIR="$pkgdir" -C tools install
+
+  # Remove references to build directory
+  setconf "$pkgdir/usr/bin/xmlrpc-c-config" BLDDIR ''
+  setconf "$pkgdir/usr/bin/xmlrpc-c-config" ABS_SRCDIR ''
+
+  # Custom license
+  install -Dm644 doc/COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list