[arch-commits] Commit in libwebsockets/repos/community-x86_64 (PKGBUILD PKGBUILD)
Jelle van der Waa
jelle at archlinux.org
Mon Feb 3 20:15:42 UTC 2020
Date: Monday, February 3, 2020 @ 20:15:40
Author: jelle
Revision: 561972
archrelease: copy trunk to community-x86_64
Added:
libwebsockets/repos/community-x86_64/PKGBUILD
(from rev 561971, libwebsockets/trunk/PKGBUILD)
Deleted:
libwebsockets/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 76 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 38 insertions(+), 38 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-02-03 20:15:32 UTC (rev 561971)
+++ PKGBUILD 2020-02-03 20:15:40 UTC (rev 561972)
@@ -1,38 +0,0 @@
-# Maintainer: Jelle van der Waa <jelle at archlinux.org>
-# Contributor: Jingbei Li <i at jingbei.li>
-
-pkgname=libwebsockets
-pkgver=3.2.2
-pkgrel=1
-pkgdesc="C library for websocket clients and servers"
-arch=('x86_64')
-url="https://libwebsockets.org"
-depends=('openssl')
-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_WITHOUT_TEST_SERVER=ON \ # Disable certificate generation
- make
-}
-
-package() {
- cd "$pkgname-$pkgver/build"
- make DESTDIR="${pkgdir}" install
-
- cd ..
-
- install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}
Copied: libwebsockets/repos/community-x86_64/PKGBUILD (from rev 561971, libwebsockets/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-02-03 20:15:40 UTC (rev 561972)
@@ -0,0 +1,38 @@
+# Maintainer: Jelle van der Waa <jelle at archlinux.org>
+# Contributor: Jingbei Li <i at 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
+}
More information about the arch-commits
mailing list