blob: fa84363e9a1bb150875fc286bd0ee2c089d87b70 (
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
27
|
# Maintainer: desbma
pkgname=python-onvif-zeep-git
_gitname=python-onvif-zeep
pkgver=r115.d549eed
pkgrel=2
pkgdesc='ONVIF Client Implementation in Python '
arch=('any')
url="https://github.com/FalkTannhaeuser/${_gitname}"
license=('MIT')
conflicts=('python-onvif-zeep')
provides=('python-onvif-zeep')
depends=('python'
'python-zeep')
makedepends=('git' 'python-setuptools')
source=("git+https://github.com/FalkTannhaeuser/${_gitname}")
sha512sums=('SKIP')
pkgver() {
cd "${srcdir}/${_gitname}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
cd "${srcdir}/${_gitname}"
python setup.py install --root="${pkgdir}"
install -Dm 644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|