Date: Monday, February 24, 2020 @ 19:12:16 Author: arodseth Revision: 580725
archrelease: copy trunk to community-x86_64 Added: xmlrpc-c/repos/community-x86_64/PKGBUILD (from rev 580724, xmlrpc-c/trunk/PKGBUILD) Deleted: xmlrpc-c/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 109 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 55 insertions(+), 54 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-02-24 19:12:10 UTC (rev 580724) +++ PKGBUILD 2020-02-24 19:12:16 UTC (rev 580725) @@ -1,54 +0,0 @@ -# Maintainer: Alexander F. Rødseth <xypr...@archlinux.org> -# Contributor: Daenyth <daenyth+a...@gmail.com> -# Contributor: Pierre Schmitz <pie...@archlinux.de> -# Contributor: Vitaliy Berdinskikh <skippe...@root.ua> - -pkgname=xmlrpc-c -# Using the "stable" version -pkgver=1.43.08 -pkgrel=2 -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: Copied: xmlrpc-c/repos/community-x86_64/PKGBUILD (from rev 580724, xmlrpc-c/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-02-24 19:12:16 UTC (rev 580725) @@ -0,0 +1,55 @@ +# Maintainer: Alexander F. Rødseth <xypr...@archlinux.org> +# Contributor: Daenyth <daenyth+a...@gmail.com> +# Contributor: Pierre Schmitz <pie...@archlinux.de> +# Contributor: Vitaliy Berdinskikh <skippe...@root.ua> + +pkgname=xmlrpc-c +# Using the "super stable" version. The alternative is to download with svn. +pkgver=1.51.06 +pkgrel=1 +epoch=1 +pkgdesc='XML-RPC for C and C++' +arch=(x86_64) +# https is not available +url='http://xmlrpc-c.sourceforge.net/' +license=(custom) +depends=(curl) +makedepends=(libtool setconf) +options=(!emptydirs) +source=("https://sourceforge.net/projects/xmlrpc-c/files/Xmlrpc-c%20Super%20Stable/1.51.06/xmlrpc-c-${pkgver/./-}.tgz") +sha256sums=('2ec92444d386440a4e276425c23a7a89dd9768f2c993c71f965e38c8e2101e92') + +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: