summaryrefslogtreecommitdiff
path: root/pcr/tryton/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/tryton/PKGBUILD')
-rw-r--r--pcr/tryton/PKGBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/pcr/tryton/PKGBUILD b/pcr/tryton/PKGBUILD
new file mode 100644
index 000000000..bca68fbf0
--- /dev/null
+++ b/pcr/tryton/PKGBUILD
@@ -0,0 +1,28 @@
+# Maintainer: Robin Baumgartner <robin@baumgartners.ch>
+# Contributor: Florian Walch <florian.walch@gmx.at>
+pkgname=tryton
+pkgver=3.0.1
+_pkgdir=3.0
+pkgrel=2
+pkgdesc="A three-tiers high-level general purpose application platform (client application)"
+arch=('any')
+url="http://www.tryton.org/"
+license=('GPL3')
+depends=('python2>=2.4' '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=('96f1c2619e011f8660b177fb8651f064'
+ '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
+}