MystBin
/022f92bd534784600a Created 6 months ago...
Raw
PKGBUILD Hide Copy Raw
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
29
30
31
32
# Maintainer: matt quintanilla <matt @ matt quintanilla . xyz> pkgname=python-nextcord pkgver=2.3.2 _tarname=nextcord-$pkgver pkgrel=1 pkgdesc="A Python wrapper for the Discord API forked from discord.py " arch=(any) url="https://github.com/nextcord/nextcord" license=(MIT) depends=('python-aiohttp>=3.7.4' 'python-aiohttp<4') makedepends=(python-setuptools python-{build,installer,wheel}) optdepends=( 'python-pynacl>=1.3.0: voice support' 'libffi: voice support' 'python-orjson>=3.5.4: speed support' 'python-aiodns: speed support' 'python-brotli: speed support' 'python-cchardet=2.1.7: speed support' 'python<3.10: speed support' ) source=("$_tarname.tar.gz::$url/archive/v$pkgver.tar.gz") build() { cd $_tarname python -m build -wn } package() { cd $_tarname install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/" python -m installer -d "$pkgdir" dist/*.whl }