summaryrefslogtreecommitdiff
path: root/pcr/trytond-purchase/PKGBUILD
blob: 5710f4ea4977f9519eb89d893e1e2e3929153883 (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
28
# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>

pkgname=trytond-purchase
_pkgname=trytond_purchase
pkgver=4.0.1
_pkgdir=4.0
pkgrel=1
pkgdesc="The purchase module of the Tryton application platform"
arch=('any')
url='http://www.tryton.org/'
license=('GPL3')
groups=('trytond-modules')
depends=('trytond>=4.0' 'trytond-account>=4.0' 'trytond-account-invoice>=4.0' 'trytond-account-invoice-stock>=4.0'
         'trytond-account-product>=4.0' 'trytond-company>=4.0' 'trytond-currency>=4.0' 'trytond-party>=4.0'
         'trytond-product>=4.0' 'trytond-stock>=4.0')
makedepends=('python2-distribute')
source=("http://downloads.tryton.org/$_pkgdir/$_pkgname-$pkgver.tar.gz")
md5sums=("88ea58e42e30b63b176e68e1793efd22")

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

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