summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-03-14 01:33:14 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-03-14 01:33:14 -0300
commitb6abf8844e1651ea4c66b6d83792bfa047f31eff (patch)
tree07020b66844a4bcd1cd1f67f866e501f58622fea
parentcbf19ec3c2ba6448370a1a93401bb0807ac2e8f2 (diff)
downloadabslibre-b6abf8844e1651ea4c66b6d83792bfa047f31eff.tar.gz
abslibre-b6abf8844e1651ea4c66b6d83792bfa047f31eff.tar.bz2
abslibre-b6abf8844e1651ea4c66b6d83792bfa047f31eff.zip
tryton: add new package to [pcr]
-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;
+