blob: 93b92c7500e3f9b3291afd271d1b6ad057a0156c (
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
|
# Maintainer: Maksim Kurnosenko <asusx2@mail.ru>
pkgname=anylogic-professional
pkgver=8.8.6
pkgrel=1
pkgdesc="AnyLogic Professional Edition - for companies and government organizations"
arch=(x86_64)
url="https://www.anylogic.com"
license=('custom')
depends=('glibc')
optdepends=('chromium: alternative browser for model animating'
'firefox: alternative browser for model animating')
provides=('anylogic')
conflicts=('anylogic')
options=(!strip)
source=("https://files.anylogic.com/$pkgname-$pkgver.linux.x86_64.tgz.bin"
"$pkgname.desktop")
sha256sums=('bee7515d7ccc26cabfd6997856844ab30513e8ace2f7f9e659430ef8dd7cef5d'
'3d1c428d84b20cfc7ddd8977cf00e732893881de2295d326b72cd57b0568102b')
prepare() {
msg2 "Unpacking archive..."
tail -n +386 "$srcdir/$pkgname-$pkgver.linux.x86_64.tgz.bin" > "$pkgname-$pkgver.linux.x86_64.tgz"
msg2 "Extracting archive..."
tar -xf $pkgname-$pkgver.linux.x86_64.tgz
}
package() {
mkdir -p "$pkgdir/opt"
msg2 "Copying AnyLogic Professional Edition contents..."
cp -R "$srcdir/anylogic" "$pkgdir/opt"
install -Dm644 "$srcdir/anylogic/icon.xpm" "$pkgdir/usr/share/pixmaps/$pkgname.xpm"
install -Dm644 "$pkgname.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop"
install -Dm644 "$srcdir/anylogic/license/Software Licensing Agreement for AnyLogic.txt" "$pkgdir/usr/share/licenses/anylogic/LICENSE"
}
|