summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pcr/tryton/PKGBUILD28
-rw-r--r--pcr/tryton/tryton.desktop8
2 files changed, 36 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
+}
diff --git a/pcr/tryton/tryton.desktop b/pcr/tryton/tryton.desktop
new file mode 100644
index 000000000..19ad39b4d
--- /dev/null
+++ b/pcr/tryton/tryton.desktop
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Name=Tryton
+GenericName=Client of the Tryton application platform
+Icon=/usr/share/pixmaps/tryton/tryton-icon.png
+Exec=/usr/bin/tryton
+Type=Application
+Categories=Office;Finance;
+