summaryrefslogtreecommitdiff
path: root/pcr/trytond-stock/PKGBUILD
blob: 69f1e8772e3d8900dcbd19ef46965dd1ce9f1438 (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: Omar Vega Ramos <ovruni@gnu.org.pe>

pkgname=trytond-stock
_pkgname=trytond_stock
pkgver=4.2.0
_pkgdir=4.2
pkgrel=1
pkgdesc="The stock module of the Tryton application platform"
arch=('any')
url='http://www.tryton.org/'
license=('GPL3')
groups=('trytond-modules')
depends=('trytond>=4.2' 'trytond-company>=4.2' 'trytond-currency>=4.2'
         'trytond-party>=4.2' 'trytond-product>=4.2')
makedepends=('python2-distribute')
source=("http://downloads.tryton.org/$_pkgdir/$_pkgname-$pkgver.tar.gz")
md5sums=('8b11ddb480e8fe00439d5eea36aa61ed')

build() {
  cd $srcdir/$_pkgname-$pkgver
  python2 setup.py build
}

package() {
  cd $srcdir/$_pkgname-$pkgver
  python2 setup.py install --root=$pkgdir
}