summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 55a570deae5c32440eff6b0d7a91376fac97cb37 (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=2
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
}