summaryrefslogtreecommitdiff
path: root/community/planner/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/planner/PKGBUILD')
-rw-r--r--community/planner/PKGBUILD54
1 files changed, 54 insertions, 0 deletions
diff --git a/community/planner/PKGBUILD b/community/planner/PKGBUILD
new file mode 100644
index 000000000..5aef75dd1
--- /dev/null
+++ b/community/planner/PKGBUILD
@@ -0,0 +1,54 @@
+# $Id: PKGBUILD 104580 2014-01-23 07:08:15Z bgyorgy $
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+# Contributor: herb <herb@archlinux.org>
+# Contributor: Jan de Groot <jgc@archlinux.org>
+
+pkgname=planner
+pkgver=0.14.6
+pkgrel=3
+pkgdesc='Project management application for GNOME'
+arch=('i686' 'x86_64')
+license=('GPL')
+url='https://wiki.gnome.org/Apps/Planner'
+depends=('libgnomecanvas' 'libxslt' 'gconf' 'desktop-file-utils')
+makedepends=('intltool' 'gtk-doc' 'pygtk')
+options=('!emptydirs')
+install=planner.install
+source=(http://ftp.gnome.org/pub/GNOME/sources/planner/${pkgver%.*}/planner-$pkgver.tar.xz
+ f9840c342e4b5767ee35f0d326b7f7eaf56850ed.patch
+ 05ba23be296085313abd8d7d5075d962084f5d38.patch
+ 0cc65e2f420af45f78d190ac2af64810a148bb31.patch
+ cd2b658e83d47e8f49d1bbaf54be6433a21d3758.patch
+ fd8da8994f7006b9fcefc90d2fe5c2b484c7871e.patch)
+sha256sums=('130d29e6d6b8c1994017deba2acca05a4bf83ba1e169635ec8c5c7878abe0696'
+ 'bc4455b318bb26f44fe50a8e07292b7654c795ff2a1629a788ea749f6c8bac81'
+ '88a34bb93bca4ae5865f6c70d7d73f3a0009e5137ba2346a8446c6e206e51b20'
+ '0cde21948f01baaa31a9a5f8af76444c7151ad39a0bc45d8e04de8b07837f0ad'
+ '1644550a9be35253fe0a353fc004bd8576de3b85a6b21b92cbb0a87c03f37894'
+ '4275689c2d4493ddcda3a40309a6bbdcdf6323bed80ca2e011138cdcd88da852')
+
+prepare() {
+ cd $pkgname-$pkgver
+ # Upstream fixes
+ patch -Np1 -i ../f9840c342e4b5767ee35f0d326b7f7eaf56850ed.patch
+ patch -Np1 -i ../05ba23be296085313abd8d7d5075d962084f5d38.patch
+ patch -Np1 -i ../0cc65e2f420af45f78d190ac2af64810a148bb31.patch
+
+ # Remove deprecated libgnomeui dependency
+ patch -Np1 -i ../cd2b658e83d47e8f49d1bbaf54be6433a21d3758.patch
+ patch -Np1 -i ../fd8da8994f7006b9fcefc90d2fe5c2b484c7871e.patch
+}
+
+build() {
+ cd $pkgname-$pkgver
+ autoreconf -fi
+ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
+ --disable-update-mimedb --disable-schemas-install \
+ --with-gconf-schema-file-dir=/usr/share/gconf/schemas
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+}