1 # Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
2 # Contributor: Kuba Serafinowski <zizzfizzix(at)gmail(dot)com>
3 # Contributor: Daichi Shinozaki <dsdseg@gmail.com>
4 # Contributor: skydrome <skydrome@i2pmail.org>
10 pkgdesc='C++/Boost Asio based websocket client/server library'
11 url='https://www.zaphoyd.com/websocketpp/'
15 'openssl: TLS socket component support'
16 'asio: alternative asio transport support'
17 'boost: non C++11 environments support'
18 'boost-libs: non C++11 environments support'
20 makedepends=('cmake' 'boost' 'boost-libs' 'boost' 'zlib' 'openssl')
21 source=(https://github.com/zaphoyd/${pkgname}/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz)
22 sha512sums=('b2afc63edb69ce81a3a6c06b3d857b3e8820f0e22300ac32bb20ab30ff07bd58bd5ada3e526ed8ab52de934e0e3a26cad2118b0e68ecf3e5e9e8d7101348fd06')
23 b2sums=('dacee33832f493d465afe208f9edea1393414a22c8db8f8c86b8f913521d0d8d68b95673a2e82b7479acfbab1ac541eda2d713a55d5de387b3879461d5884df7')
26 cd ${pkgname}-${pkgver}
27 sed 's|"${WEBSOCKETPP_BOOST_LIBS}"|${WEBSOCKETPP_BOOST_LIBS}|' -i CMakeLists.txt
31 cd ${pkgname}-${pkgver}
33 -DCMAKE_BUILD_TYPE=None \
34 -DCMAKE_INSTALL_PREFIX=/usr \
41 cd ${pkgname}-${pkgver}
46 cd ${pkgname}-${pkgver}
47 make -C build DESTDIR="${pkgdir}" install
48 install -Dm 644 COPYING -t "${pkgdir}/usr/share/licenses/${pkgname}"
49 install -Dm 644 readme.md -t "${pkgdir}/usr/share/doc/${pkgname}"