summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6f1954f5ab583a693ba62433b7a93a5f7f53a2c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Maintainer: Cypher-Monarch <monarchcypher@gmail.com>
pkgname=cyphergatevpn-bin
pkgver=1.0.1
pkgrel=1
pkgdesc="Cross-platform VPN GUI for OpenVPN - Binary release"
arch=('x86_64')
url="https://github.com/Cypher-Monarch/CypherGate"
license=('MIT')
depends=('openvpn' 'tar')
provides=('cyphergate-vpn')
conflicts=('cyphergate-vpn')
source=("https://github.com/Cypher-Monarch/CypherGate/releases/download/v$pkgver/CypherGate-Linux-v${pkgver}.tar.xz")
sha256sums=('SKIP')

package() {
  cd "$srcdir/CypherGate-Linux-v$pkgver"
  install -d "$pkgdir/opt/CypherGate"
  install -Dm755 "cyphergate.elf" "$pkgdir/opt/CypherGate/cyphergate.elf"
  cp -r "Assets" "$pkgdir/opt/CypherGate/"
  install -d "$pkgdir/usr/share/applications"
  cat >"$pkgdir/usr/share/applications/CypherGate.desktop" <<EOF
[Desktop Entry]
Name=CypherGate VPN
Exec=/opt/CypherGate/cyphergate.elf
Icon=/opt/CypherGate/Assets/icon.png
Type=Application
Categories=Network;Utility;
EOF
}