summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 407e5f87caa3f6849886d0d09e010a90e30ef56c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# PKGBUILD generated by pipman
# Python package author: Hauke Rehfeld <pypi.org@haukerehfeld.de>
# Maintainer: Hauke Rehfeld <aur.archlinux.org@haukerehfeld.de>
pkgname=python-keepassxc-browser
pkgver=0.1.4
pkgrel=1
pkgdesc="Access the KeepassXC Browser API from python"
arch=(any)
url="https://github.com/hrehfeld/python-keepassxc-browser"
license=('AGPL3')
depends=("python-libnacl" "python")
makedepends=("python" "python-pip")
build() {
  pip install --no-deps --target="keepassxc-browser" keepassxc-browser==${pkgver}
}
package() {
  sitepackages=$(python -c "import site; print(site.getsitepackages()[0])")
  mkdir -p $pkgdir/"$sitepackages"
  cp -r $srcdir/keepassxc-browser/* $pkgdir/"$sitepackages"
}