upgpkg: hide-client 0.9.8-2
fixed sed patching non-existent file
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
pkgbase = hide-client
|
pkgbase = hide-client
|
||||||
pkgdesc = Hide.me CLI VPN client for Linux
|
pkgdesc = Hide.me CLI VPN client for Linux
|
||||||
pkgver = 0.9.8
|
pkgver = 0.9.8
|
||||||
pkgrel = 1
|
pkgrel = 2
|
||||||
url = https://github.com/eventure/hide.client.linux
|
url = https://github.com/eventure/hide.client.linux
|
||||||
arch = x86_64
|
arch = x86_64
|
||||||
arch = aarch64
|
arch = aarch64
|
||||||
|
@@ -4,14 +4,14 @@
|
|||||||
pkgname=hide-client
|
pkgname=hide-client
|
||||||
_pkgname=hide.client.linux
|
_pkgname=hide.client.linux
|
||||||
pkgver=0.9.8
|
pkgver=0.9.8
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
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 armv6h)
|
||||||
url="https://github.com/eventure/hide.client.linux"
|
url="https://github.com/eventure/hide.client.linux"
|
||||||
license=('GPL2')
|
license=(GPL2)
|
||||||
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=("https://github.com/eventure/$_pkgname/archive/$pkgver.zip")
|
||||||
b2sums=('ed3bc28dbc40288bfbd0ea9adb643c484e9a19bce582719834a65749ae1494d5c7c32685a1feadd6eecccc1d516d9ccaf8297192a2b464b919fde586368219ac')
|
b2sums=('ed3bc28dbc40288bfbd0ea9adb643c484e9a19bce582719834a65749ae1494d5c7c32685a1feadd6eecccc1d516d9ccaf8297192a2b464b919fde586368219ac')
|
||||||
|
|
||||||
@@ -20,7 +20,7 @@ prepare() {
|
|||||||
|
|
||||||
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|" \
|
||||||
-i configuration/configuration.go
|
-i configuration.go
|
||||||
|
|
||||||
sed -e "s|/opt/hide.me/hide.me|/usr/bin/hide.me|" \
|
sed -e "s|/opt/hide.me/hide.me|/usr/bin/hide.me|" \
|
||||||
-e "s|WorkingDirectory=/opt/hide.me|WorkingDirectory=/etc/hide.me|" \
|
-e "s|WorkingDirectory=/opt/hide.me|WorkingDirectory=/etc/hide.me|" \
|
||||||
@@ -54,7 +54,9 @@ package() {
|
|||||||
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 -dm750 "$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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# vim:set ts=2 sw=2 et:
|
||||||
|
Reference in New Issue
Block a user