summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorHaruue Icymoon2022-08-14 10:23:18 +0800
committerHaruue Icymoon2022-08-14 10:23:18 +0800
commit5e0d755b3d5670833cbb554f34d0a3a951b3d4c6 (patch)
tree5a8d00f93f42cafc94cbe3c903665e9cf1ab1c91
parent96bfc5cad78b45e0e339dde0d23492481727c33d (diff)
downloadaur-5e0d755b3d5670833cbb554f34d0a3a951b3d4c6.tar.gz
version: 1.2.0
-rw-r--r--.SRCINFO11
-rw-r--r--PKGBUILD14
2 files changed, 9 insertions, 16 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 96e769b2914c..3c7afdf48b58 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,20 +1,17 @@
pkgbase = hysteria-bin
pkgdesc = A feature-packed network utility optimized for networks of poor quality (Binary Release)
- pkgver = 1.1.0
+ pkgver = 1.2.0
pkgrel = 1
url = https://github.com/HyNetwork/hysteria
arch = x86_64
- license = MIT
- depends = glibc
+ license = GPL3
provides = hysteria
conflicts = hysteria
- source = hysteria-tun-1.1.0-1-linux-amd64::https://github.com/HyNetwork/hysteria/releases/download/v1.1.0/hysteria-tun-linux-amd64
- source = hysteria-mit-license::https://raw.githubusercontent.com/HyNetwork/hysteria/01c7d18/LICENSE.md
+ source = hysteria-1.2.0-1-linux-amd64::https://github.com/HyNetwork/hysteria/releases/download/v1.2.0/hysteria-linux-amd64
source = hysteria@.service
source = hysteria-server@.service
source = sysusers.conf
- sha256sums = 13b34ea8c40e78cc7553186ab91684d264de13a21d9643c76a56a6536721e2ce
- sha256sums = 2a0462751a1e97b807cef1d2e0830b134ec6f211bd8d291b2de4acce4ec1db35
+ sha256sums = d7e7b3ae6d8cef2b5d7817739fda3f5f04889affdc7911463d298ab94976df5f
sha256sums = 61ef8c91f417d83411d89295495e0c926ded7ed02302e7a0efa123d564e12f7e
sha256sums = 5a0fb1185e7bff6e05ec8ecb8a45b269fd4c7fa562ab107954ab87642a71f8d0
sha256sums = abaab463035e67c1e1728e5378b8f4a50960bf80d5005e02b3b2c9468f06150d
diff --git a/PKGBUILD b/PKGBUILD
index ce34abe3c3b3..026e1e9d04f1 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,31 +3,27 @@
pkgname=hysteria-bin
_pkgbase=hysteria
-pkgver=1.1.0
+pkgver=1.2.0
pkgrel=1
pkgdesc='A feature-packed network utility optimized for networks of poor quality (Binary Release)'
arch=('x86_64')
url='https://github.com/HyNetwork/hysteria'
-license=('MIT')
-depends=('glibc')
+license=('GPL3')
provides=('hysteria')
conflicts=('hysteria')
-source=("$_pkgbase-tun-$pkgver-$pkgrel-linux-amd64::https://github.com/HyNetwork/$_pkgbase/releases/download/v$pkgver/hysteria-tun-linux-amd64"
- "$_pkgbase-mit-license::https://raw.githubusercontent.com/HyNetwork/hysteria/01c7d18/LICENSE.md"
+source=("$_pkgbase-$pkgver-$pkgrel-linux-amd64::https://github.com/HyNetwork/$_pkgbase/releases/download/v$pkgver/hysteria-linux-amd64"
'hysteria@.service'
'hysteria-server@.service'
'sysusers.conf')
-sha256sums=('13b34ea8c40e78cc7553186ab91684d264de13a21d9643c76a56a6536721e2ce'
- '2a0462751a1e97b807cef1d2e0830b134ec6f211bd8d291b2de4acce4ec1db35'
+sha256sums=('d7e7b3ae6d8cef2b5d7817739fda3f5f04889affdc7911463d298ab94976df5f'
'61ef8c91f417d83411d89295495e0c926ded7ed02302e7a0efa123d564e12f7e'
'5a0fb1185e7bff6e05ec8ecb8a45b269fd4c7fa562ab107954ab87642a71f8d0'
'abaab463035e67c1e1728e5378b8f4a50960bf80d5005e02b3b2c9468f06150d')
package() {
- install -Dm755 "$srcdir/$_pkgbase-tun-$pkgver-$pkgrel-linux-amd64" "${pkgdir}/usr/bin/${_pkgbase}"
+ install -Dm755 "$srcdir/$_pkgbase-$pkgver-$pkgrel-linux-amd64" "${pkgdir}/usr/bin/${_pkgbase}"
install -Dm644 "$srcdir/sysusers.conf" "$pkgdir/usr/lib/sysusers.d/hysteria.conf"
install -Dm644 "$srcdir/hysteria@.service" "$pkgdir/usr/lib/systemd/system/hysteria@.service"
install -Dm644 "$srcdir/hysteria-server@.service" "$pkgdir/usr/lib/systemd/system/hysteria-server@.service"
- install -Dm644 "$srcdir/$_pkgbase-mit-license" "$pkgdir/usr/share/licenses/$_pkgbase/LICENSE"
install -dm755 "$pkgdir/etc/hysteria"
}