summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4df6efa645022d1a50518df1d2e634abd2c654fa (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
30
# Maintainer: Ali Molaei <ali dot molaei at protonmail dot com>

pkgname=python-proton-keyring-linux
pkgver=0.2.0
pkgrel=1
pkgdesc="The proton-keyring-linux component."
arch=("any")
url="https://github.com/ProtonVPN/python-proton-keyring-linux"
license=("GPL3")
groups=("ProtonVPN")
depends=("python-keyring" "org.freedesktop.secrets")
makedepends=("git" "python-setuptools")
optdepends=(
	'gnome-keyring: Gnome keyring support'
	'pass: pass support'
	'kwallet5: KDE keyring support'
)
source=("git+https://github.com/ProtonVPN/${pkgname}.git#tag=v${pkgver}")
sha256sums=('SKIP')
conflicts=('python-proton-keyring-linux-secretservice')
replacess=('python-proton-keyring-linux-secretservice')
build() {
	cd "$pkgname"
	python setup.py build
}

package() {
	cd "$pkgname"
	python setup.py install --root="$pkgdir" --optimize=1
}