summaryrefslogtreecommitdiffstats
path: root/tryton-module2apkbuild.template
blob: 401ef3c4bd82b5512384d159aa545e93a76affe2 (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
29
# Automatically generated by tryton-module2apkbuild. Please check if there
# is an update available for this package and remove those tow lines.
# Contributor: @@contributor@@
# Maintainer: @@maintainer@@
pkgname=trytond-@@modname@@
_pkgname=@@pkgname@@
_tryton_major=@@major@@
pkgver=@@version@@
pkgrel=0
pkgdesc="@@modname@@ module for Tryton"
url="http://www.tryton.org"
arch="noarch"
license="GPL3+"
depends="trytond @@required-modules@@"
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
}