summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDmytro Meleshko2022-10-14 15:11:15 +0200
committerDmytro Meleshko2022-10-14 15:11:15 +0200
commit6947ea06ce8c43ea0e24ebe90b3a6aa7542d8ce4 (patch)
treeafdc0586287ca4e64f171a2bafbcc74ae8ca3fea
parent90ce7d1b68801897448c556c9c5e7ee60842b14a (diff)
downloadaur-6947ea06ce8c43ea0e24ebe90b3a6aa7542d8ce4.tar.gz
v4.1
-rw-r--r--.SRCINFO20
-rw-r--r--PKGBUILD22
2 files changed, 22 insertions, 20 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 065c9f9b413a..ebf71edb6853 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = haskell-wstunnel-bin
pkgdesc = Tunneling over websocket protocol
- pkgver = 4.0
- pkgrel = 2
+ pkgver = 4.1
+ pkgrel = 1
url = https://github.com/erebe/wstunnel
arch = x86_64
arch = i686
@@ -11,17 +11,17 @@ pkgbase = haskell-wstunnel-bin
provides = haskell-wstunnel
conflicts = haskell-wstunnel
conflicts = nodejs-wstunnel
- source = haskell-wstunnel-bin-4.0-LICENSE::https://github.com/erebe/wstunnel/raw/v4.0/LICENSE
- source = haskell-wstunnel-bin-4.0-README.md::https://github.com/erebe/wstunnel/raw/v4.0/README.md
- source = haskell-wstunnel-bin-4.0-logo.png::https://github.com/erebe/wstunnel/raw/v4.0/logo_wstunnel.png
+ source = haskell-wstunnel-bin-4.1-LICENSE::https://github.com/erebe/wstunnel/raw/v4.1/LICENSE
+ source = haskell-wstunnel-bin-4.1-README.md::https://github.com/erebe/wstunnel/raw/v4.1/README.md
+ source = haskell-wstunnel-bin-4.1-logo.png::https://github.com/erebe/wstunnel/raw/v4.1/logo_wstunnel.png
sha256sums = eaea4f8a2ebca92e3ca13f77d01364b110723c70ed6370ce1ecdb4f84261d411
- sha256sums = 341a52f78b0a7af437a674650805bd8d0e1ee038854e2c50e91be8bd00e9168b
+ sha256sums = 0c36b137a787f94d66a9abc9bbc240da0fb3ac3624bcc573a55df3dfe063ac6a
sha256sums = e193de98502986dfb54639058b1409e92282f78b54d04b0d2735d4b4c9be2b77
- source_x86_64 = haskell-wstunnel-bin-4.0-x86_64::https://github.com/erebe/wstunnel/releases/download/v4.0/wstunnel-x64-linux
- sha256sums_x86_64 = 356b16e87c4185a399129be74e0c48976eedc44a95279dd7697613ba6d6a3fbf
+ source_x86_64 = haskell-wstunnel-bin-4.1-x86_64::https://github.com/erebe/wstunnel/releases/download/v4.1/wstunnel-x64-linux
+ sha256sums_x86_64 = 2c900b3390a439730449cf804d18020c43e9b2883d0c0f6ad3140c22f2a26d07
depends_i686 = gmp
depends_i686 = zlib
- source_armv7h = haskell-wstunnel-bin-4.0-armv7h.zip::https://github.com/erebe/wstunnel/releases/download/v4.0/wstunnel-armv7l-linux.zip
- sha256sums_armv7h = 6791a3b6d823c31d4000902ad1ec5efb0aca117fa1e0f95264bccb9e4ab80602
+ source_aarch64 = haskell-wstunnel-bin-4.1-aarch64.zip::https://github.com/erebe/wstunnel/releases/download/v4.1/wstunnel-aarch64-linux.zip
+ sha256sums_aarch64 = a765f7ce669454fd4124b5cace7a240d9ead4e8c504cced4f7c486a3845a1239
pkgname = haskell-wstunnel-bin
diff --git a/PKGBUILD b/PKGBUILD
index 806aafb69a75..4a94b22d1dd1 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,9 +1,9 @@
-# Maintainer: Dmytro Meleshko <dmytro.meleshko@gmail.com>
+# Maintainer: Dmytro Meleshko <qzlgeb.zryrfuxb@tznvy.pbz(rot13)>
_projname=wstunnel
_pkgname=haskell-"${_projname}"
pkgname="${_pkgname}"-bin
-pkgver=4.0
-pkgrel=2
+pkgver=4.1
+pkgrel=1
pkgdesc="Tunneling over websocket protocol"
arch=('x86_64' 'i686' 'armv7h' 'aarch64')
url="https://github.com/erebe/wstunnel"
@@ -15,22 +15,24 @@ source=("${pkgname}-${pkgver}-LICENSE::https://github.com/erebe/${_projname}/raw
"${pkgname}-${pkgver}-README.md::https://github.com/erebe/${_projname}/raw/v${pkgver}/README.md"
"${pkgname}-${pkgver}-logo.png::https://github.com/erebe/${_projname}/raw/v${pkgver}/logo_${_projname}.png")
source_x86_64=("${pkgname}-${pkgver}-x86_64::https://github.com/erebe/${_projname}/releases/download/v${pkgver}/${_projname}-x64-linux")
-source_armv7h=("${pkgname}-${pkgver}-armv7h.zip::https://github.com/erebe/${_projname}/releases/download/v${pkgver}/${_projname}-armv7l-linux.zip")
+source_aarch64=("${pkgname}-${pkgver}-aarch64.zip::https://github.com/erebe/${_projname}/releases/download/v${pkgver}/${_projname}-aarch64-linux.zip")
sha256sums=('eaea4f8a2ebca92e3ca13f77d01364b110723c70ed6370ce1ecdb4f84261d411'
- '341a52f78b0a7af437a674650805bd8d0e1ee038854e2c50e91be8bd00e9168b'
+ '0c36b137a787f94d66a9abc9bbc240da0fb3ac3624bcc573a55df3dfe063ac6a'
'e193de98502986dfb54639058b1409e92282f78b54d04b0d2735d4b4c9be2b77')
-sha256sums_x86_64=('356b16e87c4185a399129be74e0c48976eedc44a95279dd7697613ba6d6a3fbf')
-sha256sums_armv7h=('6791a3b6d823c31d4000902ad1ec5efb0aca117fa1e0f95264bccb9e4ab80602')
+sha256sums_x86_64=('2c900b3390a439730449cf804d18020c43e9b2883d0c0f6ad3140c22f2a26d07')
+sha256sums_aarch64=('a765f7ce669454fd4124b5cace7a240d9ead4e8c504cced4f7c486a3845a1239')
prepare() {
sed -i "s|https://github.com/erebe/${_projname}/raw/master/logo_${_projname}.png|logo.png|g" "${pkgname}-${pkgver}-README.md"
}
package() {
- local _executable_name
+ local _executable_name="${_projname}"
case "$CARCH" in
- x86_64) _executable_name="${pkgname}-${pkgver}-${CARCH}" ;;
- *) _executable_name="${_projname}" ;;
+ x86_64)
+ _executable_name="${pkgname}-${pkgver}-${CARCH}" ;;
+ aarch64)
+ _executable_name="${_projname}_${CARCH}" ;;
esac
install -Dm755 "${_executable_name}" "${pkgdir}/usr/bin/${_projname}"