summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a0eb2e720d23f06e68a5f86658a41ce7178e058a (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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# This is an example PKGBUILD file. Use this as a start to creating your own,
# and remove these comments. For more information, see 'man PKGBUILD'.
# NOTE: Please fill out the license field for your package! If it is unknown,
# then please put 'unknown'.

# Maintainer: Stephen Martin <hwkiller at gmail dot com>
pkgname=onyx-sem
_pkgname=onyx
pkgver=1.0.878
_pkgver="1.0-878"
pkgrel=4
pkgdesc="A graphical interface for Structural Equation Modeling"
arch=('any')
url="http://onyx.brandmaier.de"
license=('custom')
depends=('java-runtime')
backup=()
options=()
install="onyx.install"
source=("${url}/${_pkgname}-${_pkgver}.jar"
	"onyx.svg"
	"LICENSE")
package() {
	install -Dm755 $srcdir/${_pkgname}-${_pkgver}.jar $pkgdir/usr/share/java/${pkgname}/${_pkgname}.jar
	mkdir $pkgdir/usr/share/applications/
	cat > $pkgdir/usr/share/applications/${pkgname}.desktop << "EOF"
[Desktop Entry]
Type=Application
Version=1.0
Name=Onyx
Comment=A graphical interface for Structural Equation Modeling
Exec=/usr/bin/java -jar /usr/share/java/onyx-sem/onyx.jar
Categories=Science;Education
Icon=onyx
GenericName=Latent Variable Modeling Program
EOF

	install -Dm755 $srcdir/${_pkgname}.svg $pkgdir/usr/share/icons/hicolor/scalable/apps/${_pkgname}.svg
	install -Dm 644 $srcdir/LICENSE $pkgdir/usr/share/licenses/${pkgname}/LICENSE
}
md5sums=('388fb6a5df4f30ce7c873b16cb2a220f'
         'a82f98998f19b746d4f7d7956a38c11c'
         'adc8301181bc7ba30838a0fd327a471c')