summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1a3980e7a4538ec603d631852c6d692e48d50499 (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_account_stock_anglo_saxon
_name=trytond_account_stock_anglo_saxon
pkgver=5.8.1
_pkgdir=5.8
pkgrel=2
pkgbase=python-$_name
pkgdesc="Tryton module for anglo-saxon real-time stock valuation"
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=('3ca21cd969f3fb4b4edf4cb9aa857202eb7fbe3ef517634f54a934b20b37fa4e')
sha512sums=('33d7915422465b5e2350294db6937c5e55db67fab2be3b94108400d79244ae7a9b05dd8e85e3566c616031954403b1632cd026a76b401fe697aaf9bcdda747b0')
b2sums=('8c981496e624deb5d72eb17691b69b2426fe981e13b4ecd6afdbb89efb22715ca131beb4fab7450a8e9bc6a4d876160cbcb9e4126e4e9819003bf3849381d476')

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

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