updated on Thu Jan 19 00:16:31 UTC 2012
[aur-mirror.git] / dates / PKGBUILD
blobe9e0df8b57c68b3effd791920c03247fd9491639
1 # Maintainer: György Balló <ballogy@freestart.hu>
2 pkgname=dates
3 pkgver=0.4.11
4 pkgrel=3
5 pkgdesc="A small, lightweight calendar"
6 arch=(i686 x86_64)
7 url="http://pimlico-project.org/dates.html"
8 license=(GPL)
9 depends=(gtk2 'evolution-data-server>=3.2.0' xdg-utils)
10 makedepends=(intltool)
11 options=(!emptydirs)
12 install=$pkgname.install
13 source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2
14         0001-Replaced-the-calls-to-the-deprecated-functions-e_sou.patch)
15 sha256sums=('60b0cfe1fa6dee684e255c2a0cd02febafb9d16607ba4b05196e983cd8012c03'
16             '88ab8de4861253be1a8db1be4432f71307fcffa376be95e9495cff021b7ead62')
18 build() {
19   cd "$srcdir/$pkgname-$pkgver"
20   patch -Np1 -i "$srcdir/0001-Replaced-the-calls-to-the-deprecated-functions-e_sou.patch"
21   sed -i 's/        $(MAKE)/    $(MAKE)/' Makefile.{am,in}
23   ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
24               --disable-static --enable-owl
25   make
28 package() {
29   cd "$srcdir/$pkgname-$pkgver"
31   make DESTDIR="$pkgdir/" install