summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6084cfa869dc893c064acbbd870bacfcdfffb7c0 (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
26
27
28
29
# Maintainer: Anton Kudelin <kudelin at protonmail dot com>

pkgname=optionmatrix
pkgver=1.4.3
pkgrel=1
pkgdesc="A financial derivative calculator with 168+ models"
arch=("x86_64")
url="https://sourceforge.net/projects/optionmatrix"
license=('GPL')
depends=('gtk3' 'gsl')
makedepends=('texlive-core')
source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.xz")
sha256sums=('8dc04f9a8086ffd3aaa2b386f0cfb05ad69b651d8b6b926880325a78a3bba0fd')

build() {
    cd $pkgname-$pkgver
    ./configure --prefix=/usr
    make
}

check() {
    cd $pkgname-$pkgver
    make -k check
}

package() {
    cd $pkgname-$pkgver
    make DESTDIR=$pkgdir install
}