# Maintainer: Aleksandr Beliaev pkgname=python-wsgidav-seafile pkgver=8.0.3 pkgrel=1 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-sqlalchemy' 'python-yaml') makedepends=('python-setuptools' 'libyaml') conflicts=('python-wsgidav') source=("${url}/archive/v${pkgver}-server.tar.gz") sha256sums=('eb120053fa506991d653974f7baf32347f21beaf615bcceeafc403c89a4f2f21') package() { cd "$srcdir/seafdav-$pkgver-server" python setup.py install --root="$pkgdir/" --optimize=1 install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" }