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