diff options
author | Felix Höffken | 2023-09-26 11:27:19 +0200 |
---|---|---|
committer | Felix Höffken | 2023-10-16 21:02:46 +0200 |
commit | 1c22a5cffc78873e33f1d19c55e6448554db05e4 (patch) | |
tree | b7747a9a972eedfbc6bdc34fabee4de7b5953433 /PKGBUILD | |
parent | 7ecebd292bd32f79f705d098049ee0e8ce0800b8 (diff) | |
download | aur-python-srp.tar.gz |
Move makedepends to depends and clean up
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -5,12 +5,12 @@ _srcname=srp pkgname="python-$_srcname" pkgbase=python-srp pkgver=1.0.19 -pkgrel=2 +pkgrel=3 pkgdesc='Python implementation of the Secure Remote Password protocol (SRP)' arch=('any') url="https://github.com/cocagne/py$_srcname" license=('MIT') -makedepends=('python' 'python-six' ) +depends=('python' 'python-six' 'openssl' ) source=("$url/archive/$pkgver.tar.gz") sha256sums=('57dd009ed4d739fa4bd7403fb014c0113621e5631953396221749ed53a9dd4a8') @@ -24,9 +24,7 @@ check() { python srp/test_srp.py } -package_python-srp() { - depends=('python' 'openssl') - +package() { cd "$srcdir/py$_srcname-$pkgver" python setup.py install --skip-build --root="$pkgdir" --optimize=1 install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" |