summaryrefslogtreecommitdiff
path: root/community/tasks
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
commit415856bdd4f48ab4f2732996f0bae58595092bbe (patch)
treeede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/tasks
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/tasks')
-rw-r--r--community/tasks/PKGBUILD31
-rw-r--r--community/tasks/tasks.install11
2 files changed, 42 insertions, 0 deletions
diff --git a/community/tasks/PKGBUILD b/community/tasks/PKGBUILD
new file mode 100644
index 000000000..72875e1ca
--- /dev/null
+++ b/community/tasks/PKGBUILD
@@ -0,0 +1,31 @@
+# $Id: PKGBUILD 28839 2010-10-06 10:29:24Z spupykin $
+# 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.18
+pkgrel=2
+pkgdesc="A simple to do list application that uses libecal"
+url="http://pimlico-project.org/tasks.html"
+license=('GPL')
+depends=('evolution-data-server>=2.32.0' 'xdg-utils' 'gtk2')
+makedepends=('intltool')
+arch=(i686 x86_64)
+install=tasks.install
+source=(http://pimlico-project.org/sources/tasks/$pkgname-$pkgver.tar.gz)
+md5sums=('d40c0227e496b51be6fde10f387215ed')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ ./configure --prefix=/usr || return 1
+ make || return 1
+}
+
+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/tasks/tasks.install b/community/tasks/tasks.install
new file mode 100644
index 000000000..c5571196e
--- /dev/null
+++ b/community/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
+}