summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c7ed23cbcbe5182358e5bf36f0a10beca7d126c3 (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_subscription_asset
_name=trytond_sale_subscription_asset
pkgver=5.8.1
_pkgdir=5.8
pkgrel=2
pkgbase=python-$_name
pkgdesc="A module to handle asset in the sale subscriptions"
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=('622ca7b117dff30eec0e8b326788eab004577c2e4903efad4e3246ad726109e6')
sha512sums=('23ee398aa6cbdf81d7b5c10d369a84d082317c34efd3fd3c15e1f45ebc95142a2a14124a8d51ebe065abe8f43cd54d6665dbd804a6f1673c6f599e38b760a953')
b2sums=('44307c1385e9a71ec398e4fd6f88b4fcea682c78eb8b592f2310d0142b2e584d880c8f35d0081e7c9e518c32b1bb80336631368a71786845b078cebc8dc5ea69')

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

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