summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 97540f55ebaf6773e5810c8dbf0ca36e798a506f (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
# Maintainer: Vojko Pribudić <dmanthing@gmail.com>

pkgname=expressvpn-gui
pkgver=0.6.10
pkgrel=1
pkgdesc='Unofficial linux GUI for expressvpn CLI (Qt)'
arch=('x86_64')
url="https://gitlab.com/vojko.pribudic/${pkgname}"
license=('custom')
depends=(
    bash
    pyside6
    expressvpn
    python-pexpect
)
source=("${url}/-/archive/v${pkgver}/${pkgname}-v${pkgver}.tar.gz")
md5sums=('SKIP')

package() {
  cd "${srcdir}/${pkgname}-v${pkgver}"
  mkdir -p "${pkgdir}/opt/${pkgname}"
  touch "${pkgdir}/opt/${pkgname}/settings.dat"
  chmod 777 "${pkgdir}/opt/${pkgname}/settings.dat"
  cp -r . "${pkgdir}/opt/${pkgname}"
  install -Dm755 "$srcdir/${pkgname}-v${pkgver}/${pkgname}" "$pkgdir/usr/bin/$pkgname"
  desktop-file-install "$srcdir/${pkgname}-v${pkgver}/${pkgname}.desktop" --dir "$pkgdir/usr/share/applications/"
  
}