blob: 04e89ab11e9ffec2b0b6e5db1b6732f9ec4daa74 (
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
30
31
32
33
34
35
36
|
# Contributor (Arch): Florian Walch <florian.walch@gmx.at>
# Maintainer (Arch): Robin Baumgartner <robin@baumgartners.ch>
pkgname=trytond
pkgver=3.4.0
_pkgdir=3.4
pkgrel=1
pkgdesc="A three-tiers high-level general purpose application platform (server application)"
arch=('any')
url="http://www.tryton.org/"
license=('GPL3')
depends=('python2>=2.7' 'python2-lxml' 'python2-relatorio>=0.6.0'
'python2-genshi>=0.7' 'python2-polib' 'python2-sql')
optdepends=('python2-psycopg2: support for PostgreSQL database'
'python-pywebdav: support for WebDAV feature'
'pydot: support for displaying workflow graphs'
'python-pytz: timezone support'
'pyopenssl: support for SSL connection')
makedepends=('python2-distribute')
install="trytond.install"
source=("http://downloads.tryton.org/$_pkgdir/$pkgname-$pkgver.tar.gz"
'trytond.install'
'trytond.service')
md5sums=('0652ba23f999650b97e8a10dd3fea7f3'
'768e68c01cb5913e36ea89c67fc98038'
'b1535a8528dfd8f655624bf6faea6985')
build() {
cd $srcdir/$pkgname-$pkgver
python2 setup.py build
}
package() {
cd $srcdir/$pkgname-$pkgver
python2 setup.py install --root=$pkgdir
install -D -m755 $startdir/trytond.service $pkgdir/usr/lib/systemd/system/trytond.service
}
|