blob: 85bd9b258b1168f1a7b9ccc5968a7919b62fa2c1 (
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
|
# $Id: PKGBUILD 62971 2012-01-29 17:19:57Z giovanni $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Gianmarco Brocchi <gianmarcobrocchi@gmail.com>
pkgname=clinica
pkgver=0.2.1
pkgrel=4
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')
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')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./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
sed -i -e "s:Application;GTK;:Office;:g" clinica.desktop
install -Dm644 clinica.desktop "${pkgdir}/usr/share/applications"
}
|