summaryrefslogtreecommitdiff
path: root/pcr/tryton/PKGBUILD
blob: 3d9a3e036eed4dae9fff0a5c2b54d456e14979d0 (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
29
# Maintainer (Arch): Robin Baumgartner <robin@baumgartners.ch>
# Contributor (Arch): Florian Walch <florian.walch@gmx.at>
# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
pkgname=tryton
pkgver=3.6.3
_pkgdir=3.6
pkgrel=1
pkgdesc="A three-tiers high-level general purpose application platform (client application)"
arch=('any')
url="http://www.tryton.org/"
license=('GPL3')
depends=('python2>=2.7' 'gtk2' 'pygtk>=2.0' 'librsvg' 'python2-dateutil')
optdepends=('python2-pytz: timezone support')
makedepends=('python2-distribute')
source=("http://downloads.tryton.org/$_pkgdir/$pkgname-$pkgver.tar.gz"
        'tryton.desktop')
md5sums=('dd43613bb7bb773aaf15c269415e08fc'
         '7ca15ad6c790c78817fe1a1b6a2c3fcf')

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

package() {
  cd $srcdir/$pkgname-$pkgver
  python2 setup.py install --root=$pkgdir --optimize=1
  install -D -m644 $srcdir/$pkgname.desktop $pkgdir/usr/share/applications/$pkgname.desktop
}