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

pkgname=expressvpn-gui-gtk
pkgver=0.4.4
pkgrel=1
pkgdesc='Unofficial linux GUI for expressvpn CLI (GTK)'
arch=('x86_64')
url="https://gitlab.com/vojko.pribudic/${pkgname}"
license=('custom')
depends=(
    bash
    python-gobject
    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/"
}