summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c094ea91abb94af5e0437a933319e2bff0c194a8 (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_sale_complaint
_name=trytond_sale_complaint
pkgver=5.8.1
_pkgdir=5.8
pkgrel=2
pkgbase=python-$_name
pkgdesc="Tryton module for sale complaint"
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=('259534a30544a1cb8146c5255e5b827a8ccac3d10ee3b8c4af113637b225266f')
sha512sums=('3acc0574b2bbd94acd1634f5f5f5461dfe612425d3d0f9acdf5af4cb2ebfa4e8ae1fdb4bac72267371fd8fb0765971183d092e5bdca40fad6c68a98463b5fabe')
b2sums=('1d2e643bee1d78f588743f0294b61bb8ae165f5fe44361cd4bb1a3d1b71adcdaaf85d1eacc7c4b10cce464e7aec466e6e15c94c0dcb17d08df0a2741f82761d4')

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

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