summaryrefslogtreecommitdiff
path: root/community/osmo
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-10-29 01:05:02 -0700
committerroot <root@rshg054.dnsready.net>2013-10-29 01:05:02 -0700
commit38b1ce25596ae456fefb3214a73c3d1005da568f (patch)
tree5cb69842c94bdd2b34b01be22f97b5949237550f /community/osmo
parent1a32448c2c53b0e66ce0fe14c5dd2057afd432bc (diff)
Tue Oct 29 01:04:23 PDT 2013
Diffstat (limited to 'community/osmo')
-rw-r--r--community/osmo/PKGBUILD36
-rw-r--r--community/osmo/osmo-0.2.10-configure.patch24
-rw-r--r--community/osmo/osmo.install2
3 files changed, 44 insertions, 18 deletions
diff --git a/community/osmo/PKGBUILD b/community/osmo/PKGBUILD
index d63f21c05..0efb606e2 100644
--- a/community/osmo/PKGBUILD
+++ b/community/osmo/PKGBUILD
@@ -1,36 +1,38 @@
-# $Id: PKGBUILD 90853 2013-05-14 21:40:39Z andrea $
+# $Id: PKGBUILD 99427 2013-10-28 16:13:05Z jgc $
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
# Contributor: Geoffroy Carrier <geoffroy.carrier@koon.fr>
# Contributor: Benzo <mb_benzo@yahoo.es>
pkgname=osmo
-pkgver=0.2.10
-pkgrel=8
+pkgver=0.2.12
+pkgrel=1
pkgdesc="A handy personal organizer"
+_svnver=937
arch=('i686' 'x86_64')
url="http://clayo.org/osmo/"
license=('GPL')
-depends=('gtk2>=2.12' 'gtkspell' 'hicolor-icon-theme' 'libical' 'libnotify' 'libgtkhtml' 'libgringotts>=1.2.1' 'libxml2')
+depends=('gtkspell' 'hicolor-icon-theme' 'libical' 'libnotify' 'webkitgtk2' 'libgringotts>=1.2.1' 'libxml2')
makedepends=('pkgconfig' 'libtar')
optdepends=('sox: to play sounds')
-install=$pkgname.install
-source=("http://downloads.sourceforge.net/osmo-pim/$pkgname-$pkgver.tar.gz"
- 'osmo-0.2.10-libnotify-0.7.patch')
-md5sums=('a774db748228efee96186158d553ade9'
- '0b146a548f2d3208dc88e6501a8f3448')
+install=osmo.install
+source=(ftp://ftp.archlinux.org/other/community/osmo-${_svnver}.tar.xz
+ osmo-0.2.10-configure.patch)
+md5sums=('ddcd0b23a24d8f1ec5abc904742233bf'
+ '122fc15441b6215081772a00aa532394')
-build() {
- cd "$srcdir/$pkgname-$pkgver"
-
- patch -Np0 -i "$srcdir/osmo-0.2.10-libnotify-0.7.patch"
-
- #libical 0.4.4 workaround
- LIBICAL_CFLAGS='-I/usr/include/libical' ./configure --prefix=/usr
+prepare() {
+ cd osmo-pim
+ patch -Np1 -i ../osmo-0.2.10-configure.patch
+ autoreconf -fi
+}
+build() {
+ cd osmo-pim
+ ./configure --prefix=/usr
make
}
package() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd osmo-pim
make DESTDIR="$pkgdir" install
}
diff --git a/community/osmo/osmo-0.2.10-configure.patch b/community/osmo/osmo-0.2.10-configure.patch
new file mode 100644
index 000000000..c5e7895b2
--- /dev/null
+++ b/community/osmo/osmo-0.2.10-configure.patch
@@ -0,0 +1,24 @@
+--- osmo-pim/configure.ac 2011-08-15 19:06:25.184165142 -0700
++++ osmo-pim/configure.ac.new 2011-08-15 19:35:19.285312355 -0700
+@@ -4,7 +4,7 @@
+ AC_PREREQ(2.61)
+ AC_INIT([Osmo], [0.2.12], [pasp@users.sf.net])
+ AC_CONFIG_MACRO_DIR([m4])
+-AM_INIT_AUTOMAKE([-Wall -Werror foreign])
++AM_INIT_AUTOMAKE([-Werror foreign])
+ AC_CONFIG_SRCDIR([src/contacts.c])
+ AC_CONFIG_HEADER([config.h])
+ AC_MSG_CHECKING(for type of build)
+@@ -245,9 +245,9 @@
+ [configdir=$withval AC_SUBST([configdir])])
+ AM_CONDITIONAL([CONFIGDIR], [test x$configdir != x])
+
+-CFLAGS=${CFLAGS:="$BUILD_CFLAGS -Wall $PLATFORM_CFLAGS -D_GNU_SOURCE"}
+-CXXFLAGS=${CXXFLAGS:="$CFLAGS"}
+-CPPFLAGS=""
++CFLAGS="$BUILD_CFLAGS -Wall $PLATFORM_CFLAGS $CFLAGS"
++CXXFLAGS="$CFLAGS $CXXFLAGS"
++CPPFLAGS="-D_GNU_SOURCE"
+ LIBS="$gringotts_LIBS"
+
+ AC_CONFIG_FILES([
diff --git a/community/osmo/osmo.install b/community/osmo/osmo.install
index 66b9463d4..7b592b432 100644
--- a/community/osmo/osmo.install
+++ b/community/osmo/osmo.install
@@ -1,5 +1,5 @@
post_install() {
- which xdg-icon-resource 1>/dev/null 2>/dev/null && xdg-icon-resource forceupdate || true
+ gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
}
post_upgrade() {