git » libwebsockets.git » commit 5d1f5c0

Upgrade to 4.3.2.

author David Runge
2022-05-18 13:32:52 UTC
committer David Runge
2022-05-18 13:32:52 UTC
parent 2d9ea67862937d938e96d300fc5e4ec3dea6286c

Upgrade to 4.3.2.

Remove unneeded quotes and curly braces.

PKGBUILD +7 -7

diff --git a/PKGBUILD b/PKGBUILD
index a0bce44..21f81d5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
 # Contributor: Jingbei Li <i@jingbei.li>
 
 pkgname=libwebsockets
-pkgver=4.3.1
+pkgver=4.3.2
 pkgrel=1
 pkgdesc="C library for websocket clients and servers"
 arch=(x86_64)
@@ -12,9 +12,9 @@ license=(MIT)
 depends=(glibc openssl libuv libev zlib)
 makedepends=(cmake glib2 libcap)
 provides=(libwebsockets.so)
-source=("$pkgname-$pkgver.tar.gz::https://github.com/warmcat/libwebsockets/archive/v$pkgver.tar.gz")
-sha512sums=('3cc2daadd7d2587ce946209a31741662d98367f0f9f77a1555497bef6fc6acc6cb97f5196d6ecef2d13828bb5613c60cccada03d9a01a5c970a9cfd25baeb0ae')
-b2sums=('420343dd358e4ca45d0cadde7f0a6398dbd5043c4cd2c1a70f32dc9b5ef4cb222239971c4ce758ee156deac4d06bd18289a8e975a7f41508abfdcb05870994f6')
+source=($pkgname-$pkgver.tar.gz::https://github.com/warmcat/$pkgname/archive/v$pkgver.tar.gz)
+sha512sums=('68d18574dea0563fa4f080c5d0d1cfe21a115bffdb17c6190f6741998f1e5db0739e252ef344ffe6fa4bd6781372456b240539471dd2aa900e43759e0f2d42ad')
+b2sums=('3b8657b79828102cbfba71ea789acd3b7aec7faaa6317974d182b3cb4b5091d8efcf1f184278f71674624a0f1968450ab056e1d91f9faf2c35c67c6c6f4cb695')
 
 build() {
   cmake -D CMAKE_INSTALL_PREFIX=/usr \
@@ -50,13 +50,13 @@ build() {
         -D LWS_UNIX_SOCK=ON \
         -Wno-dev \
         -B build \
-        -S "$pkgname-$pkgver"
+        -S $pkgname-$pkgver
   make VERBOSE=1 -C build
 }
 
 package() {
   depends+=(libcap.so libglib-2.0.so)
 
-  make DESTDIR="${pkgdir}" install -C build
-  install -vDm 644 "$pkgname-$pkgver/LICENSE" -t "${pkgdir}/usr/share/licenses/${pkgname}"
+  make DESTDIR="$pkgdir" install -C build
+  install -vDm 644 $pkgname-$pkgver/LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"
 }