summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 34461aedd82a108134a78daf974d8d33ed388073 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Maintainer: Yegorius <yegorius@domic.us>

pkgname=python2-zeroconf
_srcname=python-zeroconf
pkgver=0.17.4
pkgrel=1
pkgdesc="A pure python implementation of multicast DNS service discovery"
arch=('any')
url="https://github.com/jstasiak/python-zeroconf"
license=('LGPL')
depends=('python2' 'python2-netifaces' 'python2-six')
makedepends=('python2-setuptools')
source=("https://github.com/jstasiak/${_srcname}/archive/${pkgver}.tar.gz")
sha256sums=('39ea7752c0032fe22d62f6d38415f7fbd981e43e70f3980a407178b67788ebd0')

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