summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8d6a09991d95c902a4ff7f73e2d574aa173b709f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Maintainer: Francisco Salces Carcoba <pacosalces@gmail.com>
# Contributor: Christopher Billington <chrisjbillington@gmail.com>
pkgname=finesse
pkgver=2.3.1
pkgrel=3
pkgdesc="FINESSE: Frequency domain INterfErometer Simulation SoftwarE"
license=("GPL3")
url="http://gwoptics.org/finesse"
optdepends=('gnuplot: for test_plot.kat example')
source=("git+https://git.ligo.org/$pkgname/$pkgname")
sha256sums=('SKIP')
arch=('any')

build() {
	cd $srcdir/$pkgname
	./finesse.sh --build
}

package() {
	cd $srcdir/$pkgname
	install -Dm755 kat "${pkgdir}/usr/bin/kat"
	install -Dm644 kat.ini "${pkgdir}/etc/finesse"
	install -Dm644 test.kat "${pkgdir}/usr/share/finesse/samples/test.kat"
	install -Dm644 test.kat "${pkgdir}/usr/share/finesse/samples/test_plot.kat"
}