Date: Friday, June 4, 2021 @ 16:43:09 Author: arodseth Revision: 955922
archrelease: copy trunk to community-x86_64 Added: xmlrpc-c/repos/community-x86_64/PKGBUILD (from rev 955921, xmlrpc-c/trunk/PKGBUILD) Deleted: xmlrpc-c/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 107 +++++++++++++++++++++++++++++-------------------------------- 1 file changed, 52 insertions(+), 55 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-06-04 16:43:02 UTC (rev 955921) +++ PKGBUILD 2021-06-04 16:43:09 UTC (rev 955922) @@ -1,55 +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 "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: Copied: xmlrpc-c/repos/community-x86_64/PKGBUILD (from rev 955921, xmlrpc-c/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-06-04 16:43:09 UTC (rev 955922) @@ -0,0 +1,52 @@ +# 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 +pkgver=1.51.07 +pkgrel=1 +epoch=1 +pkgdesc='XML-RPC for C and C++' +arch=(x86_64) +url='https://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/$pkgver/xmlrpc-c-$pkgver.tgz") +b2sums=('ff91051f11370131bae1c8af3ba73e22b8758f7e05f1d46a6d0609ecca6e241ac218d587f66045c1d1e492776d07e0de1c305b92b207273b23baafd938709286') + +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" +}