summaryrefslogtreecommitdiff
path: root/community-staging/gimmie
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-05-05 19:02:44 +0000
committerroot <root@rshg047.dnsready.net>2011-05-05 19:02:44 +0000
commitef61aa5a9cead170fa18dba44609c32bbf18306a (patch)
tree82af53ec1018f58868b80cdf680a9c4ec5df1538 /community-staging/gimmie
parentab1410d33401cf1fc4a384bb0b2d9901c8fe8d14 (diff)
Thu May 5 19:02:44 UTC 2011
Diffstat (limited to 'community-staging/gimmie')
-rw-r--r--community-staging/gimmie/ChangeLog2
-rw-r--r--community-staging/gimmie/PKGBUILD44
-rw-r--r--community-staging/gimmie/gimmie.install22
3 files changed, 68 insertions, 0 deletions
diff --git a/community-staging/gimmie/ChangeLog b/community-staging/gimmie/ChangeLog
new file mode 100644
index 000000000..7fd5bbf99
--- /dev/null
+++ b/community-staging/gimmie/ChangeLog
@@ -0,0 +1,2 @@
+2007-06-26 tardo <tardo@nagi-fanboi.net>
+* Built for x86_64
diff --git a/community-staging/gimmie/PKGBUILD b/community-staging/gimmie/PKGBUILD
new file mode 100644
index 000000000..601d39576
--- /dev/null
+++ b/community-staging/gimmie/PKGBUILD
@@ -0,0 +1,44 @@
+# $Id: PKGBUILD 44484 2011-04-07 20:23:57Z spupykin $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Contributor: György Balló <ballogy@freestart.hu>
+
+pkgname=gimmie
+pkgver=0.2.8
+pkgrel=16
+pkgdesc="desktop organizer which allows interaction with applications, contacts, documents, etc"
+arch=('i686' 'x86_64')
+url="http://beatniksoftware.com/gimmie/"
+license=('LGPL')
+depends=('libgnomecups' 'dbus-python' 'python2-gconf' 'python-gnomeapplet'
+ 'python-gnomedesktop' 'python2-libgnome' 'python-wnck' 'pyxdg'
+ 'hicolor-icon-theme' 'xdg-utils')
+makedepends=('findutils' 'perlxml' 'krb5')
+options=(!libtool)
+install=$pkgname.install
+source=(http://www.beatniksoftware.com/gimmie/releases/$pkgname-$pkgver.tar.gz)
+md5sums=('721b8ec80f0247e1281aeb4aa5614c2f')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ sed -i 's@^#!.*python$@#!/usr/bin/python2@' gimmie/gimmie_{threads,bar}.py
+
+ export CFLAGS="$CFLAGS `pkg-config --cflags glib-2.0`"
+ export LDFLAGS="$LDFLAGS `pkg-config --libs glib-2.0`"
+
+ export CFLAGS="$CFLAGS `pkg-config --cflags gtk+-2.0`"
+ export LDFLAGS="$LDFLAGS `pkg-config --libs gtk+-2.0`"
+
+ export CFLAGS="$CFLAGS `pkg-config --cflags pygtk-2.0`"
+ export LDFLAGS="$LDFLAGS `pkg-config --libs pygtk-2.0`"
+
+ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libexecdir="/usr/lib/$pkgname" \
+ --disable-static --disable-schemas-install \
+ --with-gconf-schema-file-dir=/usr/share/gconf/schemas \
+ PYTHON=/usr/bin/python2
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir/" install
+}
diff --git a/community-staging/gimmie/gimmie.install b/community-staging/gimmie/gimmie.install
new file mode 100644
index 000000000..015be0a4d
--- /dev/null
+++ b/community-staging/gimmie/gimmie.install
@@ -0,0 +1,22 @@
+pkgname=gimmie
+
+post_install() {
+ gconfpkg --install $pkgname
+ xdg-icon-resource forceupdate
+}
+
+pre_upgrade() {
+ pre_remove $1
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+pre_remove() {
+ gconfpkg --uninstall $pkgname
+}
+
+post_remove() {
+ xdg-icon-resource forceupdate
+}