Date: Wednesday, March 2, 2016 @ 19:38:39 Author: fyan Revision: 164226
archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: pion/repos/community-staging-i686/ pion/repos/community-staging-i686/PKGBUILD (from rev 164225, pion/trunk/PKGBUILD) pion/repos/community-staging-x86_64/ pion/repos/community-staging-x86_64/PKGBUILD (from rev 164225, pion/trunk/PKGBUILD) -----------------------------------+ community-staging-i686/PKGBUILD | 45 ++++++++++++++++++++++++++++++++++++ community-staging-x86_64/PKGBUILD | 45 ++++++++++++++++++++++++++++++++++++ 2 files changed, 90 insertions(+) Copied: pion/repos/community-staging-i686/PKGBUILD (from rev 164225, pion/trunk/PKGBUILD) =================================================================== --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2016-03-02 18:38:39 UTC (rev 164226) @@ -0,0 +1,45 @@ +# $Id$ +# Maintainer: Lukas Jirkovsky <l.jirkov...@gmail.com> +pkgname=pion +pkgver=5.0.7 +pkgrel=5 +pkgdesc="A C++ development library for implementing lightweight HTTP interfaces" +url="https://github.com/cloudmeter/pion" +arch=('i686' 'x86_64') +license=('custom:Boost') +depends=('boost-libs' 'openssl' 'log4cpp') +makedepends=('boost') +provides=('pion-net') +conflicts=('pion-net') +replaces=('pion-net') +source=($pkgname-$pkgver.zip::https://github.com/cloudmeter/pion/archive/$pkgver.zip) +md5sums=('76a96dd4d34d21e41cbb2328564cba1a') + +build() { + cd "$srcdir/$pkgname-$pkgver" + + sh autogen.sh + + # override configure bug (forces debug even when nobody asked for it) + sed -i "s/ -ggdb//g" configure + # override Makefile bug + sed -i "/docs:/ s/doxygen-doc//" Makefile.in + + ./configure --prefix=/usr --with-plugins=/usr/lib/pion/plugins --disable-doxygen-doc + + make +} + +check() { + cd "$srcdir/$pkgname-$pkgver" + # tests fail to compile with Boost 1.59.0 + #make -k check +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make DESTDIR="$pkgdir" install + + # install license + install -D -m0755 COPYING "$pkgdir/usr/share/licenses/$pkgname/Boost" +} Copied: pion/repos/community-staging-x86_64/PKGBUILD (from rev 164225, pion/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2016-03-02 18:38:39 UTC (rev 164226) @@ -0,0 +1,45 @@ +# $Id$ +# Maintainer: Lukas Jirkovsky <l.jirkov...@gmail.com> +pkgname=pion +pkgver=5.0.7 +pkgrel=5 +pkgdesc="A C++ development library for implementing lightweight HTTP interfaces" +url="https://github.com/cloudmeter/pion" +arch=('i686' 'x86_64') +license=('custom:Boost') +depends=('boost-libs' 'openssl' 'log4cpp') +makedepends=('boost') +provides=('pion-net') +conflicts=('pion-net') +replaces=('pion-net') +source=($pkgname-$pkgver.zip::https://github.com/cloudmeter/pion/archive/$pkgver.zip) +md5sums=('76a96dd4d34d21e41cbb2328564cba1a') + +build() { + cd "$srcdir/$pkgname-$pkgver" + + sh autogen.sh + + # override configure bug (forces debug even when nobody asked for it) + sed -i "s/ -ggdb//g" configure + # override Makefile bug + sed -i "/docs:/ s/doxygen-doc//" Makefile.in + + ./configure --prefix=/usr --with-plugins=/usr/lib/pion/plugins --disable-doxygen-doc + + make +} + +check() { + cd "$srcdir/$pkgname-$pkgver" + # tests fail to compile with Boost 1.59.0 + #make -k check +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make DESTDIR="$pkgdir" install + + # install license + install -D -m0755 COPYING "$pkgdir/usr/share/licenses/$pkgname/Boost" +}