summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ca92bd198d9acf7c0ebd3abbc659da60e4cd34ab (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
# Maintainer: Evgeniy Alekseev

pkgname=python-aioauth-client
_pkgname=aioauth-client
pkgver=0.26.0
pkgrel=1
pkgdesc="OAuth support for Asyncio/Trio libraries"
arch=('any')
url="https://github.com/klen/aioauth-client"
license=('MIT')
depends=('python-httpx')
makedepends=('python-setuptools')
source=("https://github.com/klen/aioauth-client/archive/refs/tags/${pkgver}.tar.gz")

build() {
  cd "${_pkgname}-${pkgver}"
  python setup.py build
}

package() {
  cd "${_pkgname}-${pkgver}"
  python setup.py install --root="${pkgdir}"
  install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}

sha512sums=('582935e3a6a889159bc25222b7c150061c6ca176cccefa7174bb941fe3776f96e28aca3d437e6daf91ff1c70150b9986105226b1296b5bb8e84ecfafdbc2ffa6')