summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorgaelic2019-05-04 21:43:02 +0200
committergaelic2019-05-04 21:43:02 +0200
commitbf165ba9169ca206a3bf2447f06e57f05a2f1dfc (patch)
tree5215c117464c90111241d9c136e366188955c8a8
parentc6520fee8027a4391ec7e7928fc20f8cfd9b73f6 (diff)
downloadaur-gams.tar.gz
uppkg
-rw-r--r--.SRCINFO9
-rw-r--r--PKGBUILD13
-rw-r--r--gams-studio.desktop11
3 files changed, 26 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 51239948924..303a2aa9345 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,12 +1,15 @@
pkgbase = gams
pkgdesc = The General Algebraic Modeling System (GAMS) is a high-level modeling system for mathematical optimization.
- pkgver = 26.1.0
+ pkgver = 27.1.0
pkgrel = 1
url = http://www.gams.com/
arch = x86_64
license = custom
- source = https://d37drm4t2jghv5.cloudfront.net/distributions/26.1.0/linux/linux_x64_64_sfx.exe
- sha256sums = 1eb8d551ce3489cb10e062566f9b3da7e1e98079d75c692540ff41101c7c024c
+ options = !strip
+ source = https://d37drm4t2jghv5.cloudfront.net/distributions/27.1.0/linux/linux_x64_64_sfx.exe
+ source = gams-studio.desktop
+ sha256sums = bf51c6c1a35a7376b5ec1f568584b2d66e9c95581bd25f32d7774716df94a5b1
+ sha256sums = 5349929ad07ea8de5e6f1e5d03f264b2fd5afc161b4204981d30fc2ff8faed7e
pkgname = gams
diff --git a/PKGBUILD b/PKGBUILD
index 6adb4516762..f3bd3b31c62 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
-# Maintainer: Peter Reschenhofer < peterreschenhofer at gmail dot com >
# Maintainer: gaelic < gaelic at luchmhor dot net>
+# Maintainer: Peter Reschenhofer < peterreschenhofer at gmail dot com >
pkgname=gams
-pkgver=26.1.0
+pkgver=27.1.0
pkgrel=1
pkgdesc="The General Algebraic Modeling System (GAMS) is a high-level modeling system for mathematical optimization."
arch=('x86_64')
@@ -9,13 +9,18 @@ license=('custom')
url="http://www.gams.com/"
depends=()
conflicts=()
+options=('!strip')
-source=("https://d37drm4t2jghv5.cloudfront.net/distributions/${pkgver}/linux/linux_x64_64_sfx.exe")
+source=("https://d37drm4t2jghv5.cloudfront.net/distributions/${pkgver}/linux/linux_x64_64_sfx.exe"
+ "gams-studio.desktop")
-sha256sums=("1eb8d551ce3489cb10e062566f9b3da7e1e98079d75c692540ff41101c7c024c")
+sha256sums=("bf51c6c1a35a7376b5ec1f568584b2d66e9c95581bd25f32d7774716df94a5b1"
+ "5349929ad07ea8de5e6f1e5d03f264b2fd5afc161b4204981d30fc2ff8faed7e")
package() {
install -d ${pkgdir}/{opt/gams,usr/bin}
cp -r ${srcdir}/gams*_linux_x64_64_sfx/* ${pkgdir}/opt/gams/
+ install -Dm644 gams-studio.desktop ${pkgdir}/usr/share/applications/gams-studio.desktop
ln -s "/opt/gams/gams" "$pkgdir/usr/bin/gams"
+ ln -s "/opt/gams/studio/studio.AppImage" "$pkgdir/usr/bin/gams-studio"
}
diff --git a/gams-studio.desktop b/gams-studio.desktop
new file mode 100644
index 00000000000..98af09cfdcc
--- /dev/null
+++ b/gams-studio.desktop
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Name=GAMS Studio
+Comment=Perform arithmetic, scientific or financial calculations
+Keywords=calculation;arithmetic;scientific;financial;
+Exec=gams-studio
+# Translators: Do NOT translate or transliterate this text (this is an icon file name)!
+Icon=android-studio
+Terminal=false
+Type=Application
+StartupNotify=true
+Categories=Programming;