summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4e0c5a67c754b66c33e150baad15a83f8a4ea962 (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.8
pkgrel=1
pkgdesc="Access the KeepassXC Browser API from python"
arch=(any)
url="https://github.com/hrehfeld/python-keepassxc-browser"
license=('AGPL-3.0')
depends=("python-pysodium" "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"
}