updated on Mon Jan 16 16:00:41 UTC 2012
[aur-mirror.git] / freediams / PKGBUILD
blob83dccb4686f193b3d872d395c7e58d7cd3c6d67a
1 # Maintainer: SpepS <dreamspepser at yahoo dot it>
3 pkgname=freediams
4 pkgver=0.6.2
5 pkgrel=1
6 pkgdesc="The FreeMedForms Pharmaceutical Drugs Prescriber"
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=('22d7564aa9299a1214b7e805522927dd')
15 build() {
16   cd "$srcdir/$pkgname-$pkgver"
18   qmake freediams.pro -r -config release \
19     "CONFIG+=LINUX_INTEGRATED" \
20     "INSTALL_ROOT_PATH=$pkgdir/usr/" \
21     "LOWERED_APPNAME=freediams"
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/doc/$pkgname/"{en,fr}/{html,}
35 # vim:set ts=2 sw=2 et: