Updated to v0.4-3

Fix compilation when QT5 is installed.
This commit is contained in:
Anton Leontiev 2014-10-26 20:42:28 +03:00
parent d56a66fc51
commit ea57c02f1c
2 changed files with 12 additions and 8 deletions

View file

@ -1,7 +1,7 @@
pkgbase = gaussianbeam
pkgdesc = Gaussian optics simulator
pkgver = 0.4
pkgrel = 2
pkgrel = 3
url = http://gaussianbeam.sourceforge.net/
arch = i686
arch = x86_64

View file

@ -1,7 +1,8 @@
# Contributor: Anton Leontiev <bunder /at/ t-25.ru>
# Maintainer: Anton Leontiev <bunder /at/ t-25.ru>
# Contributor: Neven Sajko <nsajko at gmail dot com>
pkgname=gaussianbeam
pkgver=0.4
pkgrel=2
pkgrel=3
arch=('i686' 'x86_64')
pkgdesc="Gaussian optics simulator"
url="http://gaussianbeam.sourceforge.net/"
@ -11,9 +12,12 @@ source=(http://downloads.sourceforge.net/project/$pkgname/$pkgname/GaussianBeam-
md5sums=('d79f743f692dce767fe873ef63f5555a')
build() {
cd $srcdir/GaussianBeam-$pkgver
qmake
make
install -D -m755 GaussianBeam $pkgdir/usr/bin/gaussianbeam
cd GaussianBeam-$pkgver
qmake-qt4
make
}
package() {
cd GaussianBeam-$pkgver
install -D -m755 GaussianBeam "$pkgdir/usr/bin/$pkgname"
}