diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 134 |
1 files changed, 61 insertions, 73 deletions
@@ -1,95 +1,83 @@ -# Maintainer: Bidossessi Sodonon +# Maintainer: Sebastiaan Lokhorst <sebastiaanlokhorst@gmail.com> +# Contributor: Bidossessi Sodonon pkgname=odoo -pkgver=10.0 -_pkgsubver=20171024 -pkgrel=10 +pkgver=11.0 +_pkgsubver=20180404 +pkgrel=1 pkgdesc="Web-based Open Source Business Apps" -url=http://odoo.com/ +url=https://www.odoo.com/ arch=('any') license=(GPL3) -provides=("${pkgname}") conflicts=('openerp') replaces=('openerp') depends=( - 'gzip' - 'nodejs-less-plugin-clean-css' - 'postgresql' - 'python2' - 'python2-argparse' - 'python2-babel' - 'python2-dateutil' - 'python2-docutils' - 'python2-decorator' - 'python2-feedparser' - 'python2-gdata' - 'python2-gevent' - 'python2-greenlet' - 'python2-jcconv' - 'python2-jinja' - 'python2-ldap' - 'python2-lxml' - 'python2-mako' - 'python2-markupsafe' - 'python2-mock' - 'python2-openid' - 'python2-passlib' - 'python2-paramiko' - 'python2-pillow' - 'python2-psutil' - 'python2-psycopg2' - 'python2-psycogreen' - 'python2-pychart' - 'python2-pydot' - 'python2-pyparsing' - 'python2-pyqrcode' - 'python2-pyserial' - 'python2-pyusb' - 'python2-reportlab' - 'python2-pypdf' - 'python2-pytz' - 'python2-requests' - 'python2-six' - 'python2-suds-jurko' - 'python2-unittest2' - 'python2-vatnumber' - 'python2-vobject' - 'python2-werkzeug' - 'python2-wsgiref' - 'python2-xlwt' - 'python2-xlsxwriter' - 'python2-xlrd' - 'python2-yaml' - 'python2-zsi' - 'wkhtmltopdf-static' -) -optdepends=( - 'python2-ofxparse' - 'python2-qrcode' + nodejs-less-plugin-clean-css + postgresql-libs + wkhtmltopdf + python + python-babel + python-decorator + python-docutils + python-ebaysdk + python-feedparser + python-gevent + python-greenlet + python-html2text + python-jinja + python-lxml + python-mako + python-markupsafe + python-mock + python-num2words + python-ofxparse + python-passlib + python-pillow + python-psutil + python-psycogreen + python-psycopg2 + python-pydot + python-ldap + python-pyparsing + python-pypdf2 + python-pyserial + python-dateutil + python-openid + python-pytz + python-pyusb + python-yaml + python-qrcode + python-reportlab + python-requests + python-six + python-suds + python-vatnumber + python-vobject + python-werkzeug + python-xlsxwriter + python-xlwt + python-xlrd ) -source=( - "http://nightly.odoo.com/10.0/nightly/src/${pkgname}_${pkgver}.${_pkgsubver}.tar.gz" - odoo.confd - odoo.service - odoo.conf -) +source=("https://nightly.odoo.com/${pkgver}/nightly/src/${pkgname}_${pkgver}.${_pkgsubver}.tar.gz" + odoo.confd + odoo.service + odoo.conf) +md5sums=('e4c74c4b3a4f0fa8695d70a96de65344' + '742fa9ad94a92ac2aa910197a26af4e8' + '5bddcc6edbdefdd07cae945165c63604' + '863418f31f0fb982cde0008fa63f35f0') + backup=('etc/odoo/odoo.conf') install=odoo.install package() { cd ${srcdir}/${pkgname}-${pkgver}.post${_pkgsubver} - # Force package data inclusion - sed -i -e s/#include_package_data/include_package_data/ setup.py - python2 setup.py install --root="${pkgdir}" + python setup.py install --root="${pkgdir}" mkdir ${pkgdir}/etc/{conf.d,odoo} -p mkdir ${pkgdir}/usr/lib/systemd/system/ -p install -Dm 644 ${srcdir}/odoo.confd ${pkgdir}/etc/conf.d/odoo install -Dm 644 ${srcdir}/odoo.service ${pkgdir}/usr/lib/systemd/system/odoo.service install -Dm 644 ${srcdir}/odoo.conf ${pkgdir}/etc/odoo/odoo.conf } -md5sums=('a9405026619feb777ba5f6fa101137e7' - '742fa9ad94a92ac2aa910197a26af4e8' - '5bddcc6edbdefdd07cae945165c63604' - '863418f31f0fb982cde0008fa63f35f0') |