summaryrefslogtreecommitdiff
path: root/pcr/gtg
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2015-03-02 18:29:48 -0200
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2015-03-02 18:29:48 -0200
commit28704a17d5ba57745df94c508701318b281fae4c (patch)
tree91a46e513dfcb3267edfa457b76787f1aa6f6c53 /pcr/gtg
parent8b486e622758cd1c8204a789492d19bf967e2b5e (diff)
gtg: add new package to [pcr]
Diffstat (limited to 'pcr/gtg')
-rw-r--r--pcr/gtg/PKGBUILD23
-rw-r--r--pcr/gtg/gtg.install11
2 files changed, 34 insertions, 0 deletions
diff --git a/pcr/gtg/PKGBUILD b/pcr/gtg/PKGBUILD
new file mode 100644
index 000000000..0a6282945
--- /dev/null
+++ b/pcr/gtg/PKGBUILD
@@ -0,0 +1,23 @@
+# Maintainer (Arch): Roy Zhang <pudh4418 at gmail [dot} com>
+# Contributor (Arch): Алексей Гультяев <hokum83 at gmail {dot] com>
+
+pkgname=gtg
+pkgver=0.3.1
+pkgrel=1
+pkgdesc="Getting Things GNOME! is a personal organizer for the GNOME desktop environment. Allows GTD workflow among others."
+url="http://gtgnome.net/"
+license=('GPL3')
+arch=('i686' 'x86_64')
+depends=('python2' 'pygtk' 'python2-gobject2' 'python2-configobj' 'python2-xdg'
+'python2-dbus' 'python2-notify' 'xorg-xset'
+'hicolor-icon-theme' 'desktop-file-utils' 'python2-liblarch')
+optdepends=('python2-simplejson: gives full support to RTM plugin')
+conflicts=('gtg-bzr')
+source=(http://launchpad.net/gtg/0.3/$pkgver/+download/$pkgname-$pkgver.tar.gz)
+md5sums=('d51a4e5eb0cfb29b3556c4e82c0b2dd8')
+install=gtg.install
+
+package() {
+ cd ${srcdir}/$pkgname-$pkgver
+ python2 setup.py install --root=${pkgdir} --optimize=1
+}
diff --git a/pcr/gtg/gtg.install b/pcr/gtg/gtg.install
new file mode 100644
index 000000000..680702d50
--- /dev/null
+++ b/pcr/gtg/gtg.install
@@ -0,0 +1,11 @@
+pkgname=gtg
+
+post_install() {
+ update-desktop-database -q
+ gtk-update-icon-cache -q -f /usr/share/icons/hicolor
+}
+
+post_upgrade() {
+ update-desktop-database -q
+ gtk-update-icon-cache -q -f /usr/share/icons/hicolor
+}