Date: Monday, February 24, 2020 @ 19:26:40 Author: jelle Revision: 580752
archrelease: copy trunk to community-x86_64 Added: libwebsockets/repos/community-x86_64/PKGBUILD (from rev 580751, libwebsockets/trunk/PKGBUILD) Deleted: libwebsockets/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 77 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 39 insertions(+), 38 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-02-24 19:26:33 UTC (rev 580751) +++ PKGBUILD 2020-02-24 19:26:40 UTC (rev 580752) @@ -1,38 +0,0 @@ -# Maintainer: Jelle van der Waa <je...@archlinux.org> -# Contributor: Jingbei Li <i...@jingbei.li> - -pkgname=libwebsockets -pkgver=3.2.2 -pkgrel=2 -pkgdesc="C library for websocket clients and servers" -arch=('x86_64') -url="https://libwebsockets.org" -depends=('openssl' 'libcap') -makedepends=('cmake') -license=('LGPL') -source=($pkgname-$pkgver.tar.gz::https://github.com/warmcat/libwebsockets/archive/v$pkgver.tar.gz) -sha256sums=('166d6e17cab64bfc10c2a71799c298284540a1fa63f6ea3de5caccb34502243c') - -build() { - cd "$pkgname-$pkgver" - - mkdir build && cd build - # http2 support -DLWS_WITH_HTTP2=1 - cmake -DCMAKE_BUILD_TYPE=Release \ - -DCMAKE_INSTALL_PREFIX:PATH=/usr \ - -DLWS_WITH_STATIC=OFF \ - -DLWS_LINK_TESTAPPS_DYNAMIC=ON \ - -DLWS_UNIX_SOCK=ON \ - -DLWS_IPV6=ON \ - .. -#-DLWS_WITHOUT_TEST_SERVER=ON \ # Disable certificate generation - make -} - -package() { - cd "$pkgname-$pkgver" - install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" - - cd build - make DESTDIR="${pkgdir}" install -} Copied: libwebsockets/repos/community-x86_64/PKGBUILD (from rev 580751, libwebsockets/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-02-24 19:26:40 UTC (rev 580752) @@ -0,0 +1,39 @@ +# Maintainer: Jelle van der Waa <je...@archlinux.org> +# Contributor: Jingbei Li <i...@jingbei.li> + +pkgname=libwebsockets +pkgver=3.2.2 +pkgrel=3 +pkgdesc="C library for websocket clients and servers" +arch=('x86_64') +url="https://libwebsockets.org" +depends=('openssl' 'libcap' 'libuv') +makedepends=('cmake') +license=('LGPL') +source=($pkgname-$pkgver.tar.gz::https://github.com/warmcat/libwebsockets/archive/v$pkgver.tar.gz) +sha256sums=('166d6e17cab64bfc10c2a71799c298284540a1fa63f6ea3de5caccb34502243c') + +build() { + cd "$pkgname-$pkgver" + + mkdir build && cd build + # http2 support -DLWS_WITH_HTTP2=1 + cmake -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DLWS_WITH_STATIC=OFF \ + -DLWS_LINK_TESTAPPS_DYNAMIC=ON \ + -DLWS_UNIX_SOCK=ON \ + -DLWS_WITH_LIBUV=ON \ + -DLWS_IPV6=ON \ + .. +#-DLWS_WITHOUT_TEST_SERVER=ON \ # Disable certificate generation + make +} + +package() { + cd "$pkgname-$pkgver" + install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + + cd build + make DESTDIR="${pkgdir}" install +}