diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..4f65dac2e300 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,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.0.1 +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==0.0.1 +} +package() { + sitepackages=$(python -c "import site; print(site.getsitepackages()[0])") + mkdir -p $pkgdir/"$sitepackages" + cp -r $srcdir/keepassxc-browser/* $pkgdir/"$sitepackages" +}
\ No newline at end of file |