summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1df86465e2aa2f68907c018b6bb41789fee3f46a (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
_name=trytond_sale
pkgver=5.8.1
_pkgdir=5.8
pkgrel=2
pkgbase=python-$_name
pkgdesc="Tryton module for sale"
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=('a9ae62bb5b221392011da4a01f762938b765465745f705a384b969f87b6cf51d')
sha512sums=('4d512fc08a755fd23b7bff31d240173b74603e42fd74537adeed64c312ad5c79fada5152d72baaac90941fb519b8678f38ce6b09123a013235688819580836ab')
b2sums=('58fdb4412e7a764cbbd31c58c80799a1b4acbdad7a805b788ff8860841a1fc0ea84edaecd2d4078defec20ac6b3485132c0c58bfc2892ab2e6ec729b6aa0763c')

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

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