diff options
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 20 |
2 files changed, 34 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..27f55c3ef0c3 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = python-keepassxc-browser + pkgdesc = Access the KeepassXC Browser API from python + pkgver = 0.0.1 + pkgrel = 1 + url = https://github.com/hrehfeld/python-keepassxc-browser + arch = any + license = AGPL3 + makedepends = python + makedepends = python-pip + depends = python-libnacl + depends = python + +pkgname = python-keepassxc-browser + 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 |