summaryrefslogtreecommitdiff
path: root/community-testing/tasks/PKGBUILD
blob: 296fc2629717ff64e37790edc702c65930a89a47 (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
# $Id: PKGBUILD 68949 2012-04-06 12:58:03Z bgyorgy $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Geoffroy Carrier <geoffroy.carrier@aur.archlinux.org>
# Contributor: lp76 <l.peduto@gmail.com>

pkgname=tasks
pkgver=0.20
pkgrel=2
pkgdesc="A simple to do list application that uses libecal"
arch=(i686 x86_64)
url="http://pimlico-project.org/tasks.html"
license=('GPL')
depends=('evolution-data-server>=3.4.0' 'xdg-utils' 'gtk2')
makedepends=('intltool')
install=tasks.install
#source=(http://pimlico-project.org/sources/tasks/$pkgname-$pkgver.tar.gz)
#source=(http://arch.p5n.pp.ru/~sergej/dl/2011/$pkgname-$pkgver.tar.gz)
source=(http://ftp.gnome.org/pub/GNOME/sources/tasks/$pkgver/tasks-$pkgver.tar.xz)
md5sums=('f4602cd39af10f5b327d9a59a22ea034')

build() {
  cd "$srcdir/$pkgname-$pkgver"
  ./configure --prefix=/usr
  make
}

package() {
  cd "$srcdir/$pkgname-$pkgver"
  make DESTDIR="$pkgdir" install
  install -d "$pkgdir/usr/share/pixmaps"
  ln -sf "/usr/share/icons/hicolor/48x48/apps/tasks.png" \
      "$pkgdir/usr/share/pixmaps/tasks.png"
}