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

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

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

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