# Maintainer: Aleksandr Beliaev pkgname=python-wsgidav-seafile pkgver=9.0.9 pkgrel=2 pkgdesc="Seafile webdav server" arch=('any') url="https://github.com/haiwen/seafdav" license=('MIT') depends=('python' 'python-json5' 'python-seafobj' 'python-defusedxml' 'python-jinja' 'python-pip' 'python-sqlalchemy' 'python-wheel' 'python-yaml') makedepends=('python-setuptools' 'libyaml') conflicts=('python-wsgidav') source=("${url}/archive/v${pkgver}-server.tar.gz") sha256sums=('b8a29e99d10064fe9bba38bf1d06f94d2bda043689bbe74047a71b8879f98a98') package() { cd "$srcdir/seafdav-$pkgver-server" python setup.py install --root="$pkgdir/" --optimize=1 install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" }