diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..df0afc9d2f6d --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,26 @@ +# Maintainer: Martin Scholz <scholz.m82@gmail.com> +pkgname=python-trytond_account_invoice_secondary_unit +_name=trytond_account_invoice_secondary_unit +pkgver=5.8.1 +_pkgdir=5.8 +pkgrel=1 +pkgbase=python-$_name +pkgdesc="Tryton module to add a secondary unit on invoice line" +arch=('any') +url="http://www.tryton.org/" +license=('GPL3') +depends=('python>=3.5') +makedepends=('python-distribute') +source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz") +sha256sums=('ec60d47cf93629bcd2d43e381ade2a49d991c5498ab6c352ff48c287a0d481cd') +b2sums=('eef91db659d885e713b5c83bc20dc690aeab66e1146a8c1360c1fccf056d0f08932a2a2a876d148118fda31efb7f7b2c96d3e83bfeda2496aa54d6416cd05530') + +build() { + cd $srcdir/$_name-$pkgver + python setup.py build +} + +package() { + cd $srcdir/$_name-$pkgver + python setup.py install --root=$pkgdir --optimize=1 --skip-build +} |