Date: Monday, July 16, 2018 @ 23:31:26 Author: anthraxx Revision: 360316
archrelease: copy trunk to community-any Added: websocketpp/repos/community-any/PKGBUILD (from rev 360315, websocketpp/trunk/PKGBUILD) Deleted: websocketpp/repos/community-any/PKGBUILD ----------+ PKGBUILD | 100 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 50 insertions(+), 50 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2018-07-16 23:31:19 UTC (rev 360315) +++ PKGBUILD 2018-07-16 23:31:26 UTC (rev 360316) @@ -1,50 +0,0 @@ -# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> -# Contributor: Kuba Serafinowski <zizzfizzix(at)gmail(dot)com> -# Contributor: Daichi Shinozaki <dsd...@gmail.com> -# Contributor: skydrome <skydr...@i2pmail.org> -# Contributor: MTsoul - -pkgname=websocketpp -pkgver=0.7.0 -pkgrel=1 -pkgdesc='C++/Boost Asio based websocket client/server library' -url='http://www.zaphoyd.com/websocketpp/' -arch=('any') -license=('BSD') -optdepends=( - 'openssl: TLS socket component support' - 'asio: alternative asio transport support' - 'boost: non C++11 environments support' - 'boost-libs: non C++11 environments support' -) -makedepends=('cmake' 'boost' 'boost-libs' 'scons') -source=(${pkgname}-${pkgver}.tar.gz::https://github.com/zaphoyd/${pkgname}/archive/${pkgver}.tar.gz) -sha512sums=('91a86d4f5120db3f474169bb146f865f82167b1e9eedabec8793b31005e4ce3d22083283bc1b9f9e37fa0da835addcb2b68260a27c753852c06b3b1bb2f3c12e') - -build() { - cd ${pkgname}-${pkgver} - WSPP_ENABLE_CPP11=1 \ - BOOST_LIBS=/usr/lib \ - BOOST_INCLUDES=/usr/include/boost \ - scons "${MAKEFLAGS}" - (cd build - cmake -DCMAKE_INSTALL_PREFIX=/usr .. - ) -} - -check() { - cd ${pkgname}-${pkgver} - WSPP_ENABLE_CPP11=1 \ - BOOST_LIBS=/usr/lib \ - BOOST_INCLUDES=/usr/include/boost \ - scons test -} - -package() { - cd ${pkgname}-${pkgver} - make -C build DESTDIR="${pkgdir}" install - install -Dm 644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" - install -Dm 644 readme.md "${pkgdir}/usr/share/doc/${pkgname}/README" -} - -# vim: ts=2 sw=2 et: Copied: websocketpp/repos/community-any/PKGBUILD (from rev 360315, websocketpp/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2018-07-16 23:31:26 UTC (rev 360316) @@ -0,0 +1,50 @@ +# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> +# Contributor: Kuba Serafinowski <zizzfizzix(at)gmail(dot)com> +# Contributor: Daichi Shinozaki <dsd...@gmail.com> +# Contributor: skydrome <skydr...@i2pmail.org> +# Contributor: MTsoul + +pkgname=websocketpp +pkgver=0.8.1 +pkgrel=1 +pkgdesc='C++/Boost Asio based websocket client/server library' +url='http://www.zaphoyd.com/websocketpp/' +arch=('any') +license=('BSD') +optdepends=( + 'openssl: TLS socket component support' + 'asio: alternative asio transport support' + 'boost: non C++11 environments support' + 'boost-libs: non C++11 environments support' +) +makedepends=('cmake' 'boost' 'boost-libs' 'scons') +source=(${pkgname}-${pkgver}.tar.gz::https://github.com/zaphoyd/${pkgname}/archive/${pkgver}.tar.gz) +sha512sums=('35e0261ed0285acf77d300768819bd380197de8acdf68223e2d7598481b9bfd69cb1653b435139771b1db6c16530c8d8cf9a887a8a6bba3fea126d0da4dbc13c') + +build() { + cd ${pkgname}-${pkgver} + WSPP_ENABLE_CPP11=1 \ + BOOST_LIBS=/usr/lib \ + BOOST_INCLUDES=/usr/include/boost \ + scons "${MAKEFLAGS}" + (cd build + cmake -DCMAKE_INSTALL_PREFIX=/usr .. + ) +} + +check() { + cd ${pkgname}-${pkgver} + WSPP_ENABLE_CPP11=1 \ + BOOST_LIBS=/usr/lib \ + BOOST_INCLUDES=/usr/include/boost \ + scons test +} + +package() { + cd ${pkgname}-${pkgver} + make -C build DESTDIR="${pkgdir}" install + install -Dm 644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + install -Dm 644 readme.md "${pkgdir}/usr/share/doc/${pkgname}/README" +} + +# vim: ts=2 sw=2 et: