diff options
author | Dónal Murray | 2019-09-12 14:00:45 +0200 |
---|---|---|
committer | Dónal Murray | 2019-09-12 14:00:45 +0200 |
commit | 101cb8bfb3afa18a9c23fdfd6c4b616ca28da43a (patch) | |
tree | abb07901c2a666a5e6db3b385407ab2d15a34861 | |
download | aur-101cb8bfb3afa18a9c23fdfd6c4b616ca28da43a.tar.gz |
Initial commit. Version 0.0.2
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | PKGBUILD | 25 |
2 files changed, 43 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..2405204b839d --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,18 @@ +pkgbase = protonvpn-applet + pkgdesc = Unofficial basic systray applet for protonvpn-cli written in python + PyQt5 + pkgver = 0.0.2 + pkgrel = 1 + url = https://github.com/seadanda/protonvpn-applet + arch = i686 + arch = x86_64 + license = MIT + makedepends = git + depends = python + depends = libnotify + depends = python-pyqt5 + depends = protonvpn-cli + source = https://github.com/seadanda/protonvpn-applet/archive/0.0.2.tar.gz + md5sums = b79a9b6614d1f7efb4da017b9b2b50d4 + +pkgname = protonvpn-applet + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..4c3e25acabf0 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,25 @@ +# Maintainer: Dónal Murray <dmurray654@gmail.com> + +pkgname=protonvpn-applet +pkgver=0.0.2 +pkgrel=1 +pkgdesc='Unofficial basic systray applet for protonvpn-cli written in python + PyQt5' +url='https://github.com/seadanda/protonvpn-applet' +arch=('i686' 'x86_64') +license=('MIT') +makedepends=('git') +depends=('python' 'libnotify' 'python-pyqt5' 'protonvpn-cli') + +source=("https://github.com/seadanda/${pkgname}/archive/${pkgver}.tar.gz") +md5sums=('b79a9b6614d1f7efb4da017b9b2b50d4') + +prepare() { + tar xzf ${pkgver}.tar.gz +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" PREFIX='/usr' ICONDIR='/usr/share/icons/hicolor/16x16/apps' install + sed -i "s@${pkgdir}@@g" ${pkgdir}/usr/bin/${pkgname} + install -Dm644 -D LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +} |