upgpkg: hide-client 0.9.9-1

upstream release

formatting
This commit is contained in:
2024-03-23 18:20:15 +01:00
parent 60e4fb6c21
commit 62e3315dbc
2 changed files with 12 additions and 13 deletions

View File

@@ -6,12 +6,11 @@ pkgbase = hide-client
arch = x86_64
arch = aarch64
arch = armv7h
arch = armv6h
license = GPL2
license = GPL-2.0-only
makedepends = go
depends = glibc
backup = etc/hide.me/config
source = https://github.com/eventure/hide.client.linux/archive/0.9.9.zip
source = hide-client-0.9.9.zip::https://github.com/eventure/hide.client.linux/archive/0.9.9.zip
b2sums = ca30b3442d9cee438c69719725f33d6702e82c252d5ee2130e984bc57f221edfa2dc943b07c6564f347cb4c618d0d5b0ab98851da31f8da0fe37e803f837c84b
pkgname = hide-client

View File

@@ -2,21 +2,21 @@
# Contributor: Leonard Janis Robert König <ljrk at ljrk dot org>
pkgname=hide-client
_pkgname=hide.client.linux
_name=hide.client.linux
pkgver=0.9.9
pkgrel=1
pkgdesc="Hide.me CLI VPN client for Linux"
arch=(x86_64 aarch64 armv7h armv6h)
url="https://github.com/eventure/hide.client.linux"
license=(GPL2)
pkgdesc='Hide.me CLI VPN client for Linux'
arch=(x86_64 aarch64 armv7h)
url='https://github.com/eventure/hide.client.linux'
license=(GPL-2.0-only)
depends=(glibc)
makedepends=(go)
backup=('etc/hide.me/config')
source=("https://github.com/eventure/$_pkgname/archive/$pkgver.zip")
source=("$pkgname-$pkgver.zip::$url/archive/$pkgver.zip")
b2sums=('ca30b3442d9cee438c69719725f33d6702e82c252d5ee2130e984bc57f221edfa2dc943b07c6564f347cb4c618d0d5b0ab98851da31f8da0fe37e803f837c84b')
prepare() {
cd "$_pkgname-$pkgver"
cd $_name-$pkgver
sed -e "s|CA.pem|/usr/share/hide.me/CA.pem|" \
-e "s|accessToken.txt|/etc/hide.me/accessToken.txt|" \
@@ -30,7 +30,7 @@ prepare() {
}
build() {
cd "$_pkgname-$pkgver"
cd $_name-$pkgver
export CGO_CPPFLAGS="${CPPFLAGS}"
export CGO_CFLAGS="${CFLAGS}"
@@ -48,12 +48,12 @@ build() {
}
package() {
cd "$_pkgname-$pkgver"
cd $_name-$pkgver
install -Dm755 -t "$pkgdir"/usr/bin hide.me
install -Dm644 -t "$pkgdir"/usr/share/hide.me CA.pem
# For (system-wide) accessToken.txt
# for (system-wide) accessToken.txt
install -dm755 "$pkgdir"/etc/hide.me
install -Dm644 -t "$pkgdir"/etc/hide.me config
install -Dm644 -t "$pkgdir"/usr/lib/systemd/system hide.me@.service