blob: e7ec9d64e6e5d7e8a15a475483d8d6732a4252cb (
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
34
35
36
|
# $Id: PKGBUILD 88675 2013-04-21 22:16:41Z heftig $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Gianmarco Brocchi <gianmarcobrocchi@gmail.com>
pkgname=clinica
pkgver=0.2.1
pkgrel=6
pkgdesc="Simple medical records manager"
arch=('i686' 'x86_64')
url="https://launchpad.net/clinica-project"
license=('GPL3')
depends=('libgee06' '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"
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
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
./waf --destdir="${pkgdir}" install
rm -rf ${pkgdir}/usr/share/glib-2.0/schemas/gschemas.compiled
}
|