diff options
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | PKGBUILD | 12 |
2 files changed, 12 insertions, 8 deletions
@@ -1,13 +1,15 @@ -pkgbase = gwebsockets-git +pkgbase = python-gwebsockets-git pkgdesc = A websocket server written in Python - pkgver = 0.7.g + pkgver = v0.7 pkgrel = 5 url = https://github.com/sugarlabs/gwebsockets arch = any license = Apache-2.0 makedepends = python-setuptools + provides = python-gwebsockets + conflicts = python-gwebsockets source = git+https://github.com/sugarlabs/gwebsockets.git sha256sums = SKIP -pkgname = gwebsockets-git +pkgname = python-gwebsockets-git @@ -1,6 +1,6 @@ -# Maintainer: Srevin Saju <srevin03@gmail.com> -pkgname=gwebsockets-git -pkgver=0.7.g +# Maintainer: Srevin Saju <srevinsaju@sugarlabs.org> +pkgname=python-gwebsockets-git +pkgver=v0.7 pkgrel=5 pkgdesc="A websocket server written in Python" arch=('any') @@ -8,16 +8,18 @@ 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/$pkgname" + cd "$srcdir/gwebsockets" python setup.py build } package() { - cd "$srcdir/$pkgname" + cd "$srcdir/gwebsockets" python setup.py install --root="$pkgdir/" --optimize=1 --skip-build } |