summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ca4cb2cabfd031cdb56439878fb95142dd7bd1b1 (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: Florian Bruhin (The Compiler) <archlinux.org@the-compiler.org>
# Contributor: veox <veox at wemakethings dot net>

pkgname=python2-autobahn
pkgver=0.10.4
pkgrel=1
pkgdesc="Twisted-based WebSocket/WAMP client and server framework"
url="http://autobahn.ws/python/"
arch=('any')
license=('Apache')
depends=('python2' 'twisted' 'python2-six')
makedepends=('python2-setuptools')
source=(https://pypi.python.org/packages/source/a/autobahn/autobahn-$pkgver.tar.gz)
md5sums=('4ae22413ee9ba8f6692e80e171b68777')

build() {
  cd "$srcdir/autobahn-${pkgver/_/-}"
  python2 setup.py build
}

package() {
  cd "$srcdir/autobahn-${pkgver/_/-}"
  python2 setup.py install --root="${pkgdir}" --optimize=1
}

# vim:set ft=sh ts=2 sw=2 et: