blob: b60d8e0a30c00d03f81a22c329d59e7ac36a52c2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# Maintainer: Tobias Manske <aur@rad4day.de>
pkgname=pferd
pkgver=3.4.3
pkgrel=1
pkgdesc='Tool for fast and easily downloading data from KIT Ilias'
arch=('any')
url='https://github.com/Garmelon/PFERD'
license=('MIT')
depends=('python3' 'python-aiohttp' 'python-beautifulsoup4' 'python-rich' 'python-keyring' 'python-certifi')
makedepends=('python-build' 'python-installer' 'python-wheel' 'python-setuptools')
source=($pkgname-$pkgver.tar.gz::https://github.com/Garmelon/PFERD/archive/refs/tags/v${pkgver}.tar.gz)
sha256sums=('4a545da2f9cdfd3f454cd5d6ecfc334e14cd21ea810a9149fff319ebd6efae88')
build() {
cd "PFERD-$pkgver"
python -m build --wheel --no-isolation
}
package() {
cd "PFERD-$pkgver"
python -m installer --destdir="$pkgdir" dist/*.whl
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/"$pkgname"/MIT
}
|