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

pkgname=trytond-calendar
_pkgname=trytond_calendar
pkgver=4.2.0
_pkgdir=4.2
pkgrel=1
pkgdesc="The calendar module of the Tryton application platform"
arch=('any')
url='http://www.tryton.org/'
license=('GPL3')
groups=('trytond-modules')
depends=('trytond>=4.2' 'trytond-webdav>=4.2' 'python2-vobject>=0.8.0' 'python2-pytz')
makedepends=('python2-distribute')
source=("http://downloads.tryton.org/$_pkgdir/$_pkgname-$pkgver.tar.gz")
md5sums=("f6a47977bef2f1140bcb3ebb8f950fa6")

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

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