summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f087d6b71f3b61f91defaf09b181ff850b2ebe6c (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_secondary_unit
_name=trytond_stock_secondary_unit
pkgver=5.8.1
_pkgdir=5.8
pkgrel=2
pkgbase=python-$_name
pkgdesc="Tryton module to add a secondary unit on stock move"
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=('d439ac53d7b72fde31bffe5e60dd9e8c3bd64fd9baa32c383b069dc018ce0d3e')
sha512sums=('c12c592b63778ac0eb84f329bffa2b3e1ca6e8886ce50df333f5311adbb7c55d6679b8c9ee221271828e0b0ac80ddd7059c4472eb4f09b3591c2c10f74c91a07')
b2sums=('da81252f7ec5d4869d0200f6a28057be1add4729c96477e37ce6fc7683514ae7a1cb4893e38eef8042124bf1a825c2a5f7fe1951f9c675ae0c486f55a917fa60')

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

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