summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorXiretza2018-02-26 12:45:59 +0100
committerXiretza2018-02-26 12:45:59 +0100
commit68d3dd67afe8123b1c137aabd239acf6bec27db6 (patch)
treee784dcd10e323639e99a4c70224fa9c750dd7779
parent0a98314427b1bc4206c0502719698b474da04de5 (diff)
downloadaur-68d3dd67afe8123b1c137aabd239acf6bec27db6.tar.gz
static .desktop, add maintainer tags
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD13
-rw-r--r--geogebra.desktop11
3 files changed, 17 insertions, 10 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 06dbbc81a478..f2550dfc1dcc 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -7,7 +7,6 @@ pkgbase = geogebra-5
license = GPL3
license = CCPL:by-sa
license = CCPL:by-nc
- makedepends = gendesk
depends = desktop-file-utils
depends = gsl
depends = hicolor-icon-theme
@@ -19,10 +18,12 @@ pkgbase = geogebra-5
source = https://download.geogebra.org/installers/5.0/GeoGebra-Linux-Portable-5-0-436-0.tar.bz2
source = https://static.geogebra.org/images/geogebra-logo.svg
source = geogebra
+ source = geogebra.desktop
source = geogebra-mime.xml
sha512sums = 0e74c95fceab1721a3cec935215b2d738722c83869d2dd34494e31b786c82510a45d111ab5192b6392c7d7b236721d336397aaf8962a967ed00a9b01b034c6f6
sha512sums = a946acb8867f497c68ce6f8fff8172da4a43a9ca118aafcc5ac414318fd52c4bc6ada387bdfa296f0ff2e1d7411ae345b61197b4adaa3f54299aab837647df55
sha512sums = f5d6f3fe17638f4521b0a00d6d077a5c509984bd8f7cb39c28e412b7384ec129c6595400e7ae4cb5ba05f1673eb46d8f6c56db1b4145afb35797a1d0a170965d
+ sha512sums = 64954e749dcd8a9233a932718a4722aab5dfcde868d93998b64f79d54e51c2c34b545665f191f041455f1e945fa46b273417089981d6dff8ed8256519f7e8ae6
sha512sums = 415e73ff15524d5e81b05cf4c31241f4e21a4eedcef0a11e5af82423f9a7c2cbf632e9ee1e86b4cc60ebc566472462979a65cb7f3cfc9f94243fb545ac042a0f
pkgname = geogebra-5
diff --git a/PKGBUILD b/PKGBUILD
index dc3680d53a8a..4679d694845e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,4 +1,5 @@
-# $Id$
+# Maintainer: Luca Weiss <luca (at) z3ntu (dot) xyz>
+# Maintainer: xiretza <xiretza+aur@gmail.com>
# Contributor: Evgeniy Alekseev <arcanis at archlinux dot org>
# Contributor: Bartłomiej Piotrowski <bpiotrowski at archlinux dot org>
# Contributor: Felipe Hommen <felibank at gmail dot com>
@@ -13,21 +14,14 @@ url='http://www.geogebra.org/'
license=('GPL3' 'CCPL:by-sa' 'CCPL:by-nc')
depends=('desktop-file-utils' 'gsl' 'hicolor-icon-theme' 'java-runtime=8'
'shared-mime-info' 'xdg-utils')
-makedepends=('gendesk')
provides=("${pkgname//-5/}")
conflicts=("${pkgname//-5/}")
source=("https://download.geogebra.org/installers/5.0/GeoGebra-Linux-Portable-${pkgver//./-}.tar.bz2"
"https://static.geogebra.org/images/geogebra-logo.svg"
"geogebra"
+ "geogebra.desktop"
"geogebra-mime.xml")
-prepare() {
- gendesk -f -n --pkgname "${pkgname//-5/}" --pkgdesc "${pkgdesc}" \
- --name="GeoGebra" \
- --categories="Education;Science;Math" \
- --mimetypes="application/vnd.geogebra.file;application/vnd.geogebra.tool"
-}
-
package() {
cd "GeoGebra-Linux-Portable-${pkgver//./-}"
@@ -43,4 +37,5 @@ package() {
sha512sums=('0e74c95fceab1721a3cec935215b2d738722c83869d2dd34494e31b786c82510a45d111ab5192b6392c7d7b236721d336397aaf8962a967ed00a9b01b034c6f6'
'a946acb8867f497c68ce6f8fff8172da4a43a9ca118aafcc5ac414318fd52c4bc6ada387bdfa296f0ff2e1d7411ae345b61197b4adaa3f54299aab837647df55'
'f5d6f3fe17638f4521b0a00d6d077a5c509984bd8f7cb39c28e412b7384ec129c6595400e7ae4cb5ba05f1673eb46d8f6c56db1b4145afb35797a1d0a170965d'
+ '64954e749dcd8a9233a932718a4722aab5dfcde868d93998b64f79d54e51c2c34b545665f191f041455f1e945fa46b273417089981d6dff8ed8256519f7e8ae6'
'415e73ff15524d5e81b05cf4c31241f4e21a4eedcef0a11e5af82423f9a7c2cbf632e9ee1e86b4cc60ebc566472462979a65cb7f3cfc9f94243fb545ac042a0f')
diff --git a/geogebra.desktop b/geogebra.desktop
new file mode 100644
index 000000000000..8827acadc2e9
--- /dev/null
+++ b/geogebra.desktop
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Encoding=UTF-8
+Type=Application
+Name=GeoGebra
+Comment=Dynamic mathematics software with interactive graphics, algebra and spreadsheet
+Exec=geogebra
+Icon=geogebra
+Terminal=false
+StartupNotify=false
+Categories=Education;Science;Math;
+MimeType=application/vnd.geogebra.file;application/vnd.geogebra.tool;