diff options
author | Martin 'golodhrim' Scholz | 2019-07-14 17:41:09 +0200 |
---|---|---|
committer | Martin 'golodhrim' Scholz | 2019-07-14 17:41:09 +0200 |
commit | c0fc6f509a43a08c01ffd94bd84e8bd3bbb33da0 (patch) | |
tree | b86041b4e6322a2a0939d3717aa8148d28016b83 | |
download | aur-c0fc6f509a43a08c01ffd94bd84e8bd3bbb33da0.tar.gz |
adding module python-trytond_stock for trytond
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | .gitignore | 6 | ||||
-rw-r--r-- | PKGBUILD | 24 |
3 files changed, 44 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..2c0af591ad51 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = python-trytond_stock + pkgdesc = Tryton module for stock and inventory + pkgver = 5.2.1 + pkgrel = 1 + url = http://www.tryton.org/ + arch = any + license = GPL3 + makedepends = python-distribute + depends = python>=3.5 + source = https://files.pythonhosted.org/packages/source/t/trytond_stock/trytond_stock-5.2.1.tar.gz + sha256sums = 248d89b02ecf570f4a55b8ca7af07522a510075831d850fafc55ee0bbcd74169 + +pkgname = python-trytond_stock + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..1eb6a87475fb --- /dev/null +++ b/.gitignore @@ -0,0 +1,6 @@ +*.tar.xz +*.tar.gz +*.asc +/src +/pkg + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..8837234a4844 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,24 @@ +# Maintainer: Martin Scholz <scholz.m82@gmail.com> +pkgname=python-trytond_stock +_name=trytond_stock +pkgver=5.2.1 +_pkgdir=5.2 +pkgrel=1 +pkgdesc="Tryton module for stock and inventory" +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=('248d89b02ecf570f4a55b8ca7af07522a510075831d850fafc55ee0bbcd74169') + +build() { + cd $srcdir/$_name-$pkgver + python setup.py build +} + +package() { + cd $srcdir/$_name-$pkgver + python setup.py install --root=$pkgdir --optimize=1 --skip-build +} |