summaryrefslogtreecommitdiff
path: root/pcr/trytond-purchase/PKGBUILD
blob: 48b360b8bbb57a5abfdd38c36ee38d83501d22ad (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
# Maintainer (Arch): Robin Baumgartner <robin@baumgartners.ch>
pkgname=trytond-purchase
_pkgname=trytond_purchase
pkgver=3.4.0
_pkgdir=3.4
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>=3.4' 'trytond-account>=3.4' 'trytond-account-invoice>=3.4' 'trytond-account-invoice-stock>=3.4' 'trytond-account-product>=3.4' 'trytond-company>=3.4' 'trytond-currency>=3.4' 'trytond-party>=3.4' 'trytond-product>=3.4' 'trytond-stock>=3.4')
makedepends=('python2-distribute')
source=("http://downloads.tryton.org/$_pkgdir/$_pkgname-$pkgver.tar.gz")
md5sums=("cbc007722d7657e159c9dbdcd2ab5d20")

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

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