# Contributor: Fabian Affolter # Maintainer: Fabian Affolter pkgname=trytond-stock-supply-day _pkgname=trytond_stock_supply_day _tryton_major=2.2 pkgver=2.2.1 pkgrel=0 pkgdesc="stock-supply-day module for Tryton" url="http://www.tryton.org" arch="noarch" license="GPL3+" depends="trytond trytond-purchase" makedepends="python-dev py-setuptools" subpackages="" source="http://downloads.tryton.org/$_tryton_major/$_pkgname-$pkgver.tar.gz" _builddir="$srcdir"/$_pkgname-$pkgver build() { cd "$_builddir" python setup.py build || return 1 } package() { cd "$_builddir" python setup.py install --prefix=/usr --root="$pkgdir" || return 1 } md5sums="820db794f135021ab0ee28236de763c8 trytond_stock_supply_day-2.2.1.tar.gz"