summaryrefslogtreecommitdiffstats
path: root/testing/trytond-stock/APKBUILD
blob: a10e76d6dba3c64d8c9be05ad80db271726d7da8 (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
_pkgname=trytond_stock
_tryton_major=2.2
pkgver=2.2.1
pkgrel=0
pkgdesc="stock module for Tryton"
url="http://www.tryton.org"
arch="noarch"
license="GPL3+"
depends="trytond trytond-party trytond-product trytond-company trytond-currency"
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="b59172fe95a59e32ff7369e8c293cf4d  trytond_stock-2.2.1.tar.gz"