summaryrefslogtreecommitdiff
path: root/community/tasks/PKGBUILD
blob: 5a280587fb16f0d7ec797a4fffc4939ddfdbeb54 (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 69748 2012-04-23 09:08:34Z ibiru $
# 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"
}