summaryrefslogtreecommitdiffstats
path: root/tryton-module2apkbuild.template
diff options
context:
space:
mode:
Diffstat (limited to 'tryton-module2apkbuild.template')
-rw-r--r--tryton-module2apkbuild.template29
1 files changed, 29 insertions, 0 deletions
diff --git a/tryton-module2apkbuild.template b/tryton-module2apkbuild.template
new file mode 100644
index 0000000..401ef3c
--- /dev/null
+++ b/tryton-module2apkbuild.template
@@ -0,0 +1,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
+}
+