# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>

pkgname=trytond-webdav
_pkgname=trytond_webdav
pkgver=4.0.2
_pkgdir=4.0
pkgrel=1
pkgdesc="The webdav module of the Tryton application platform"
arch=('any')
url='http://www.tryton.org/'
license=('GPL3')
groups=('trytond-modules')
depends=('trytond>=4.0' 'python2-pywebdav>=0.9.8')
makedepends=('python2-distribute')
source=("http://downloads.tryton.org/$_pkgdir/$_pkgname-$pkgver.tar.gz")
md5sums=("76e52ee83f604d40c8b5864504067e57")

build() {
  cd $srcdir/$_pkgname-$pkgver
  python2 setup.py build
}

package() {
  cd $srcdir/$_pkgname-$pkgver
  python2 setup.py install --root=$pkgdir
}