diff options
Diffstat (limited to 'pcr/trytond/PKGBUILD')
-rw-r--r-- | pcr/trytond/PKGBUILD | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/pcr/trytond/PKGBUILD b/pcr/trytond/PKGBUILD new file mode 100644 index 000000000..35ee42068 --- /dev/null +++ b/pcr/trytond/PKGBUILD @@ -0,0 +1,36 @@ +# Contributor: Florian Walch <florian.walch@gmx.at> +# Maintainer: Robin Baumgartner <robin@baumgartners.ch> +# Maintainer (Parabola): André Silva <emulatorman@parabola.nu> +pkgname=trytond +pkgver=3.0.0 +_pkgdir=3.0 +pkgrel=3 +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.service') +md5sums=('812daa29409881adc4001c1c810bc8e8' + 'b1535a8528dfd8f655624bf6faea6985') + +build() { + cd $srcdir/$pkgname-$pkgver + python2 setup.py build +} + +package() { + 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.service $pkgdir/usr/lib/systemd/system/trytond.service +} |