summaryrefslogtreecommitdiff
path: root/community/osmo/PKGBUILD
blob: 85cd6cf492df88822c900c46aead6f44d7ab16e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# $Id: PKGBUILD 41472 2011-03-06 22:23:29Z heftig $
# 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=5
pkgdesc="A handy personal organizer"
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')
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')

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

  make 
}

package() {
  cd "$srcdir/$pkgname-$pkgver"
  make DESTDIR="$pkgdir" install
}