summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 746b04b71cf258abb62147d772149bc52c7eb2d2 (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
27
28
# Maintainer: Stephan Springer <buzo+arch@Lini.de>
# Contributor:  Joseph Brains <jnbrains@gmail.com>

_pkgname=aiohttp-cors
pkgname=python-"$_pkgname"-gns3
pkgver=0.6.0
pkgrel=1
pkgdesc="CORS support for aiohttp (GNS3)"
arch=("any")
url="https://github.com/aio-libs/$_pkgname"
license=('Apache')
groups=('gns3')
depends=('python' 'python-aiohttp-gns3')
makedepends=('python-setuptools')
provides=("python-$_pkgname")
conflicts=("python-$_pkgname")
source=("$_pkgname-$pkgver.tar.gz::https://github.com/aio-libs/$_pkgname/archive/v$pkgver.tar.gz")
sha256sums=('b5dab373e0666836526a3c7a6cf8f887e75559e05d0e836cb9fb233958145e9c')

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

package() {
    cd "$_pkgname-$pkgver"
    python setup.py install --root="$pkgdir" --optimize=1
}