summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 320f2319e09042bde26573f46fe7f4398a03622d (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
# Maintainer: Martin Scholz <scholz.m82@gmail.com>
pkgname=python-trytond_stock_product_location
_name=trytond_stock_product_location
pkgver=5.8.1
_pkgdir=5.8
pkgrel=2
pkgbase=python-$_name
pkgdesc="Tryton module to add default location on product"
arch=('any')
url="http://www.tryton.org/"
license=('GPL3')
depends=('python>=3.6')
makedepends=('python-distribute')
source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
sha256sums=('194f05637dd5d0886b05f8849411bf0aad13cd7b04497545b3c564694a78d388')
sha512sums=('1ca495bf3108cd281aabaabb18ae82529dc1ed1df8aea3b11e97acc9e16c0b74833c3beb492bbf30ae048842363ec677b665d59cad02a4293849b9f5c7bb91e2')
b2sums=('60c753c84b84a49b73f46d56a1d9e9085b6d6ea7826e41838a2a5b76656e641e5e764ddc4f3b71f123f44cb76b60ce39de3fc0d9982567f2e87439f76bf31327')

build() {
  cd $srcdir/$_name-$pkgver
  python setup.py build
}

package() {
  cd $srcdir/$_name-$pkgver
  python setup.py install --root=$pkgdir --optimize=1 --skip-build
}