/5f8321d4575ef003fd
Created 6 months ago...
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-git
pkgver=r4318.823d650e
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' 'python-aiohttp')
optdepends=('python-pynacl: Voice support'
'libffi: Voice support')
makedepends=('git')
source=("nextcord-git::git+https://github.com/nextcord/nextcord.git")
provides=('python-nextcord')
conflicts=('python-nextcord')
md5sums=('SKIP')
pkgver() {
cd "$pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "$srcdir/python-nextcord-git"
python setup.py build
}
package() {
cd "$srcdir/python-nextcord-git"
install -Dm644 -t "${pkgdir}/usr/share/licenses/${pkgname}/" LICENSE
python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
}