summaryrefslogtreecommitdiffstats
path: root/testing/trytond-stock-forecast/APKBUILD
blob: f99b95b1d02fc7276b3ce2dbab3321f379341d5c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=trytond-stock-forecast
_pkgname=trytond_stock_forecast
_tryton_major=2.2
pkgver=2.2.1
pkgrel=0
pkgdesc="stock-forecast module for Tryton"
url="http://www.tryton.org"
arch="noarch"
license="GPL3+"
depends="trytond trytond-stock trytond-product trytond-company"
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="4558996f49b09fe84aacddf8030d99cf  trytond_stock_forecast-2.2.1.tar.gz"