diff options
author | DX37 | 2019-03-12 11:58:11 +0700 |
---|---|---|
committer | DX37 | 2019-03-12 11:58:11 +0700 |
commit | 0d56fc2ad0554b01cf35850efcfcb90165f6f2b4 (patch) | |
tree | cc50d59af2c27d62d0343c01db7b0d7b33e65622 | |
parent | 553ebd4a256c465712f7bbc3f0310aefeb0dae77 (diff) | |
download | aur-0d56fc2ad0554b01cf35850efcfcb90165f6f2b4.tar.gz |
changes
- add provides/conflicts for future anylogic packages
- use only .desktop file for launching program
-rw-r--r-- | .SRCINFO | 7 | ||||
-rw-r--r-- | PKGBUILD | 13 |
2 files changed, 9 insertions, 11 deletions
@@ -1,7 +1,7 @@ pkgbase = anylogic-ple - pkgdesc = AnyLogic Personal Learning Edition - for beginners and students + pkgdesc = AnyLogic PLE - for beginners and students pkgver = 8.4.0 - pkgrel = 3 + pkgrel = 4 url = https://www.anylogic.com arch = x86_64 license = custom @@ -9,7 +9,8 @@ pkgbase = anylogic-ple depends = glibc optdepends = chromium: alternative browser for model animating optdepends = firefox: alternative browser for model animating - noextract = $pkgname-$pkgver.linux.x86_64.tgz.bin + provides = anylogic + conflicts = anylogic options = !strip source = https://files.anylogic.com/anylogic-ple-8.4.0.linux.x86_64.tgz.bin sha256sums = 4029bc645995ab6b81b234334f4cb00fbf8608fae05d0cd1fc91dfd701358b87 @@ -2,8 +2,8 @@ pkgname=anylogic-ple pkgver=8.4.0 -pkgrel=3 -pkgdesc="AnyLogic Personal Learning Edition - for beginners and students" +pkgrel=4 +pkgdesc="AnyLogic PLE - for beginners and students" arch=(x86_64) url="https://www.anylogic.com" license=('custom') @@ -11,9 +11,10 @@ depends=('glibc') makedepends=('gendesk') 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") -noextract=('$pkgname-$pkgver.linux.x86_64.tgz.bin') sha256sums=('4029bc645995ab6b81b234334f4cb00fbf8608fae05d0cd1fc91dfd701358b87') prepare() { @@ -31,13 +32,9 @@ package() { cp -R "$srcdir/anylogic" "$pkgdir/opt" msg2 "Creating .desktop file..." - gendesk -q -f -n --pkgname "$pkgname" --pkgdesc "$pkgdesc" --name='AnyLogic PLE' --exec='anylogic' + gendesk -q -f -n --pkgname "$pkgname" --pkgdesc "$pkgdesc" --name='AnyLogic PLE' --exec='env SWT_GTK3=0 UBUNTU_MENUPROXY= /opt/anylogic/anylogic' install -Dm644 "$srcdir/anylogic/icon.xpm" "$pkgdir/usr/share/pixmaps/$pkgname.xpm" install -Dm644 "$pkgname.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop" - msg2 "Creating patched start script..." - install -Dm755 "$srcdir/anylogic/start-anylogic.sh" "$pkgdir/usr/bin/anylogic" - sed "s#./anylogic#/opt/anylogic/anylogic#" -i "$pkgdir/usr/bin/anylogic" - install -Dm644 "$srcdir/anylogic/license/Software Licensing Agreement for AnyLogic.txt" "$pkgdir/usr/share/licenses/anylogic/LICENSE" } |