diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 20 |
1 files changed, 9 insertions, 11 deletions
@@ -1,26 +1,24 @@ # Maintainer: 71e6fd52 <DAStudio.71e6fd52@gmail.com> +# Maintainer: Nathan Owens <ndowens @ artixlinux.org> -pkgbase=('python-sockjs') -pkgname=('python-sockjs') -_module='sockjs' -pkgver='0.6.0' +pkgname=python-sockjs +pkgver='0.10.0' pkgrel=1 pkgdesc="SockJS server implementation for aiohttp." url="https://github.com/aio-libs/sockjs/" depends=('python') -makedepends=('python-setuptools') +makedepends=('python-setuptools' 'git') license=('Apache') arch=('any') -source=("https://files.pythonhosted.org/packages/source/s/sockjs/sockjs-${pkgver}.tar.gz") -md5sums=('3ef9509c312d34cc2bb1b996330f2e0e') +source=("git+https://github.com/aio-libs/sockjs#tag=v${pkgver}") +sha256sums=('SKIP') build() { - cd "${srcdir}/${_module}-${pkgver}" + cd "$srcdir/sockjs" python setup.py build } package() { - depends+=() - cd "${srcdir}/${_module}-${pkgver}" - python setup.py install --root="${pkgdir}" --optimize=1 --skip-build + cd "$srcdir/sockjs" + python setup.py install --root="${pkgdir}" --optimize=1 } |