summaryrefslogtreecommitdiff
path: root/community/clinica/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/clinica/PKGBUILD')
-rw-r--r--community/clinica/PKGBUILD19
1 files changed, 11 insertions, 8 deletions
diff --git a/community/clinica/PKGBUILD b/community/clinica/PKGBUILD
index 85bd9b258..54794584f 100644
--- a/community/clinica/PKGBUILD
+++ b/community/clinica/PKGBUILD
@@ -1,23 +1,28 @@
-# $Id: PKGBUILD 62971 2012-01-29 17:19:57Z giovanni $
+# $Id: PKGBUILD 78165 2012-10-16 15:57:54Z bgyorgy $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Gianmarco Brocchi <gianmarcobrocchi@gmail.com>
pkgname=clinica
pkgver=0.2.1
-pkgrel=4
+pkgrel=5
pkgdesc="Simple medical records manager"
arch=('i686' 'x86_64')
url="https://launchpad.net/clinica-project"
license=('GPL3')
-depends=('libgee' 'python' 'libpeas' 'dconf')
-makedepends=('vala' 'intltool' 'pkg-config')
+depends=('libgee' 'libpeas' 'dconf')
+makedepends=('vala' 'intltool' 'python')
optdepends=('python2-gobject: for Agenzia del Farmaco plugin')
install=clinica.install
-source=("http://launchpad.net/clinica-project/stable/${pkgver}/+download/${pkgname}-${pkgver}.tar.bz2")
-md5sums=('327ce50d20b0e56d3de57270eed2ad23')
+source=("http://launchpad.net/clinica-project/stable/${pkgver}/+download/${pkgname}-${pkgver}.tar.bz2"
+ vala-0.16.patch)
+md5sums=('327ce50d20b0e56d3de57270eed2ad23'
+ 'cd619b85a1758aad846c06b11961c6a3')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
+ patch -Np1 -i "${srcdir}/vala-0.16.patch"
+ sed -i 's@^#!.*python$@#!/usr/bin/python2@' plugins/AgenziaDelFarmaco.py
+ sed -i -e "s:Application;GTK;:Office;GTK;:g" clinica.desktop
./waf configure --prefix=/usr
LC_ALL=C LANG=C ./waf build
@@ -28,6 +33,4 @@ package() {
./waf --destdir="${pkgdir}" install
rm -rf ${pkgdir}/usr/share/glib-2.0/schemas/gschemas.compiled
- sed -i -e "s:Application;GTK;:Office;:g" clinica.desktop
- install -Dm644 clinica.desktop "${pkgdir}/usr/share/applications"
}