summaryrefslogtreecommitdiff
path: root/community-testing/tasks
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-04-08 00:02:42 +0000
committerroot <root@rshg054.dnsready.net>2012-04-08 00:02:42 +0000
commit37e364f033ed6db243d6db524075d8c5394c90f9 (patch)
treedb3bb1bc5749bee5a51cb403c0b944b52cb10fc3 /community-testing/tasks
parent2317ee13e2342fd8b81ffaf3a427fd4bb096ec28 (diff)
Sun Apr 8 00:02:42 UTC 2012
Diffstat (limited to 'community-testing/tasks')
-rw-r--r--community-testing/tasks/PKGBUILD33
-rw-r--r--community-testing/tasks/tasks.install11
2 files changed, 44 insertions, 0 deletions
diff --git a/community-testing/tasks/PKGBUILD b/community-testing/tasks/PKGBUILD
new file mode 100644
index 000000000..296fc2629
--- /dev/null
+++ b/community-testing/tasks/PKGBUILD
@@ -0,0 +1,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"
+}
diff --git a/community-testing/tasks/tasks.install b/community-testing/tasks/tasks.install
new file mode 100644
index 000000000..c5571196e
--- /dev/null
+++ b/community-testing/tasks/tasks.install
@@ -0,0 +1,11 @@
+post_install() {
+ which xdg-icon-resource 1>/dev/null 2>/dev/null && xdg-icon-resource forceupdate || true
+}
+
+post_upgrade() {
+ which xdg-icon-resource 1>/dev/null 2>/dev/null && xdg-icon-resource forceupdate || true
+}
+
+post_remove() {
+ which xdg-icon-resource 1>/dev/null 2>/dev/null && xdg-icon-resource forceupdate || true
+}