updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / freemedforms / PKGBUILD
blob58d340418973a42f29406030656f1915de39f24d
1 # Maintainer: SpepS <dreamspepser at yahoo dot it>
3 pkgname=freemedforms
4 pkgver=0.6.0
5 pkgrel=1
6 pkgdesc="Electronic Medical Record Manager"
7 arch=(i686 x86_64)
8 url="http://www.freemedforms.com/en/"
9 license=('GPL')
10 depends=('qt')
11 install="$pkgname.install"
12 source=("http://freemedforms.googlecode.com/files/${pkgname}fullsources-$pkgver.tgz")
13 md5sums=('7ded8fcc5cd86efa6ae0d578c843bac7')
15 build() {
16   cd "$srcdir/$pkgname-$pkgver"
18   qmake $pkgname.pro -r -config release \
19     "CONFIG+=LINUX_INTEGRATED" \
20     "INSTALL_ROOT_PATH=$pkgdir/usr/" \
21     "LOWERED_APPNAME=$pkgname"
23   make
26 package() {
27   cd "$srcdir/$pkgname-$pkgver"
29   make install
31   # Fix doc directories exec bit
32   chmod a+x "$pkgdir"/usr/share/$pkgname/{forms,doc/$pkgname/{en,fr}}
34   # man
35   install -Dm644 buildspecs/freemedforms_debian/$pkgname.1 \
36     "$pkgdir/usr/share/man/man1/$pkgname.1"
39 # vim:set ts=2 sw=2 et: