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