diff options
author | Anton Leontiev | 2014-10-26 20:42:28 +0300 |
---|---|---|
committer | Anton Leontiev | 2015-02-15 07:48:24 +0300 |
commit | ea57c02f1cabdc695db754ce7137c334fe57bb73 (patch) | |
tree | c83ab71e32ed304b594203744db8dd8dbafd50c0 /PKGBUILD | |
parent | d56a66fc5118652ee204670adf843a5a12b1f9d1 (diff) | |
download | aur-gaussianbeam.tar.gz |
Updated to v0.4-3
Fix compilation when QT5 is installed.
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 16 |
1 files changed, 10 insertions, 6 deletions
@@ -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 + cd GaussianBeam-$pkgver + qmake-qt4 + make +} - install -D -m755 GaussianBeam $pkgdir/usr/bin/gaussianbeam +package() { + cd GaussianBeam-$pkgver + install -D -m755 GaussianBeam "$pkgdir/usr/bin/$pkgname" } |