summaryrefslogtreecommitdiff
path: root/pcr/tryton/PKGBUILD
blob: 75b501f3707683187dd52d9d037c02a6de0deb0b (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 (Arch): Robin Baumgartner <robin@baumgartners.ch>
# Contributor (Arch): Florian Walch <florian.walch@gmx.at>
pkgname=tryton
pkgver=3.4.0
_pkgdir=3.4
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=('fa83a2088d59e2c2faeafdb74d0321b5'
         '7ca15ad6c790c78817fe1a1b6a2c3fcf')

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

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