summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d371e9855659314c7b393c1c0edcbcc5e35317d9 (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
31
# Maintainer: Chih-Hsuan Yen <base64_decode("eWFuMTIxMjUgQVQgYXJjaGxpbnV4IERPVCBvcmc=")>

_pkgname=python-keepassxc-browser
pkgname=$_pkgname-git
pkgver=r53.14c6dae
pkgrel=1
pkgdesc='Access the KeepassXC Browser API from python'
arch=(any)
url='https://github.com/hrehfeld/python-keepassxc-browser'
license=(AGPL3)
depends=(python python-pysodium)
makedepends=(python-setuptools git)
provides=("$_pkgname=$pkgver")
conflicts=("$_pkgname")
source=(git+https://github.com/hrehfeld/python-keepassxc-browser.git)
sha256sums=('SKIP')

pkgver() {
  cd $_pkgname
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build() {
  cd $_pkgname
  python setup.py build
}

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