summaryrefslogtreecommitdiff
path: root/pcr/trytond/PKGBUILD
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2013-02-12 23:24:03 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2013-02-12 23:24:03 -0500
commitb03a7f3a39c200dd7a3879e2cfc6fa3c9664ca72 (patch)
treecb5bcfe47421c5bcc604a35fb1e94c2dfc147e9f /pcr/trytond/PKGBUILD
parent30275df2071b48ef4c3d1a23039b4136c2359771 (diff)
Adding python2-polib, python2-relatorio and trytond
Diffstat (limited to 'pcr/trytond/PKGBUILD')
-rw-r--r--pcr/trytond/PKGBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/pcr/trytond/PKGBUILD b/pcr/trytond/PKGBUILD
new file mode 100644
index 000000000..bae5d2f4e
--- /dev/null
+++ b/pcr/trytond/PKGBUILD
@@ -0,0 +1,31 @@
+# Maintainer: Robin Baumgartner <robin@baumgartners.ch>
+pkgname=trytond
+pkgver=2.4.0
+_pkgdir=2.4
+pkgrel=2
+pkgdesc="A three-tiers high-level general purpose application platform (server application)"
+arch=('any')
+url="http://www.tryton.org/"
+license=('GPL3')
+depends=('python2>=2.4' 'python2-lxml' 'python2-egenix-mx-base' 'python2-relatorio>=0.2.0' 'python2-genshi>=0.5'
+'python2-polib')
+optdepends=('python2-psycopg2: support for PostgreSQL database'
+ 'python2-pywebdav: support for WebDAV feature'
+ 'pydot: support for displaying workflow graphs'
+ 'python2-pytz: timezone support'
+ 'python2-pyopenssl: support for SSL connection')
+makedepends=('python2-distribute')
+install="trytond.install"
+source=("http://downloads.tryton.org/$_pkgdir/$pkgname-$pkgver.tar.gz"
+ 'trytond.install'
+ 'trytond.rc')
+md5sums=('ce0bbb8fcd0ef6a02c575823712e29e4'
+ '768e68c01cb5913e36ea89c67fc98038'
+ '3ca6aff9b30a52bcf159be7ca630fb6e')
+
+build() {
+ cd $srcdir/$pkgname-$pkgver
+ python2 setup.py install --root=$pkgdir
+ install -D -m644 etc/trytond.conf $pkgdir/etc/trytond.conf
+ install -D -m755 $srcdir/trytond.rc $pkgdir/etc/rc.d/trytond
+}