summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d493b42abd34e35cf5b9185571676b7e5ceac9af (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
# Maintainer: Srevin Saju <srevinsaju@sugarlabs.org>
pkgname=python-gwebsockets-git
pkgver=v0.7
pkgrel=5
pkgdesc="A websocket server written in Python"
arch=('any')
url="https://github.com/sugarlabs/gwebsockets"
license=('Apache-2.0')
makedepends=('python-setuptools')
source=("git+https://github.com/sugarlabs/gwebsockets.git")
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
sha256sums=('SKIP')



build() {
	cd "$srcdir/gwebsockets"
	python setup.py build
}

package() {
	cd "$srcdir/gwebsockets"
	python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
}