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

pkgname=trytond-party
_pkgname=trytond_party
pkgver=4.2.2
_pkgdir=4.2
pkgrel=1
pkgdesc="The party module of the Tryton application platform"
arch=('any')
url='http://www.tryton.org/'
license=('GPL3')
groups=('trytond-modules')
depends=('trytond>=4.2' 'trytond-country>=4.2' 'python2-stdnum')
makedepends=('python2-distribute')
source=("http://downloads.tryton.org/$_pkgdir/$_pkgname-$pkgver.tar.gz")
md5sums=("8e715c26275e9b8a18a01c957554205b")

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

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