blob: 7c5b31c3cf93702cdddfa1ab1f3acf5681b94f02 (
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
|
# Maintainer: Carlos Aznarán <caznaranl@uni.pe>
# Contributor: Luis Martinez <luis dot martinez at tuta dot io>
_base=cpass
pkgname=cpass-py
pkgver=0.9.4
pkgrel=1
pkgdesc="An urwid based TUI frontend for pass"
arch=(any)
url="https://github.com/oliverlew/${_base}"
license=(MIT)
depends=(pass python-urwid)
makedepends=(python-build python-installer python-setuptools python-wheel)
provides=("${_base}")
conflicts=("${_base}")
install=${_base}.install
source=(https://pypi.org/packages/source/${_base::1}/${_base}/${_base}-${pkgver}.tar.gz)
sha256sums=('25735a312206e3a1317c0c836637d0661f6a1ff46207f99d09c976fc2a52e3fe')
build() {
cd ${_base}-${pkgver}
python -m build --wheel --skip-dependency-check --no-isolation
}
package() {
cd ${_base}-${pkgver}
PYTHONPYCACHEPREFIX="${PWD}/.cache/cpython/" python -m installer --destdir="${pkgdir}" dist/*.whl
install -Dm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
}
|