1 # Contributor: Anton Leontiev <unsector /at/ km.ru>
5 pkgdesc="A tool to calculate optical paths and resonators based on Gaussian beam matrix optics"
7 url="https://sourceforge.net/apps/phpwebsite/lasercalc/"
10 makedepends=("wxgtk-2.9")
11 install=lasercalc.install
12 source=(http://downloads.sourceforge.net/project/$pkgname/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz
14 md5sums=("63930093bb5b4e459873a71d3ca3e598"
15 "73612ba4597ea5c4278390a42caa62ea")
18 cd "$srcdir/$pkgname-$pkgver"
20 ./configure --prefix=/usr --with-wx-config=wx-config-2.9
25 cd "$srcdir/$pkgname-$pkgver"
30 cd "$srcdir/$pkgname-$pkgver"
31 make DESTDIR="$pkgdir" install
32 install -Dm644 src/lasercalc.xpm "$pkgdir/usr/share/pixmaps/lasercalc.xpm"
33 install -Dm644 "$srcdir/lasercalc.desktop" "$pkgdir/usr/share/applications/lasercalc.desktop"