[arch-commits] Commit in geogebra/repos (5 files)
Evgeniy Alekseev
arcanis at archlinux.org
Fri Sep 19 19:23:04 UTC 2014
Date: Friday, September 19, 2014 @ 21:23:04
Author: arcanis
Revision: 119257
archrelease: copy trunk to community-testing-any
Added:
geogebra/repos/community-testing-any/
geogebra/repos/community-testing-any/ChangeLog
(from rev 119256, geogebra/trunk/ChangeLog)
geogebra/repos/community-testing-any/PKGBUILD
(from rev 119256, geogebra/trunk/PKGBUILD)
geogebra/repos/community-testing-any/geogebra
(from rev 119256, geogebra/trunk/geogebra)
geogebra/repos/community-testing-any/geogebra.install
(from rev 119256, geogebra/trunk/geogebra.install)
------------------+
ChangeLog | 14 ++++++++++++++
PKGBUILD | 40 ++++++++++++++++++++++++++++++++++++++++
geogebra | 7 +++++++
geogebra.install | 14 ++++++++++++++
4 files changed, 75 insertions(+)
Copied: geogebra/repos/community-testing-any/ChangeLog (from rev 119256, geogebra/trunk/ChangeLog)
===================================================================
--- community-testing-any/ChangeLog (rev 0)
+++ community-testing-any/ChangeLog 2014-09-19 19:23:04 UTC (rev 119257)
@@ -0,0 +1,14 @@
+5.0.4.0-1:
+upstream update
+
+4.4.45.0-1:
+upstream update
+
+4.4.44.0-1:
+upstream update
+
+4.4.43.0-1:
+upstream update
+
+4.4.42.0-1:
+upstream update
Copied: geogebra/repos/community-testing-any/PKGBUILD (from rev 119256, geogebra/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD (rev 0)
+++ community-testing-any/PKGBUILD 2014-09-19 19:23:04 UTC (rev 119257)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Evgeniy Alekseev <arcanis.arch at gmail dot com>
+# Contributor: Bartłomiej Piotrowski <bpiotrowski at archlinux dot org>
+# Contributor: Felipe Hommen <felibank at gmail dot com>
+# Contributor: moostik <mooostik at gmail dot com>
+
+pkgname=geogebra
+pkgver=5.0.4.0
+pkgrel=1
+pkgdesc="Dynamic mathematics software with interactive graphics, algebra and spreadsheet"
+arch=('any')
+url='http://www.geogebra.org/'
+license=('GPL3' 'CCPL:by-sa' 'CCPL:by-nc')
+depends=('desktop-file-utils' 'gsl' 'hicolor-icon-theme' 'java-runtime'
+ 'shared-mime-info' 'xdg-utils')
+makedepends=('gendesk')
+source=(http://download.geogebra.org/installers/5.0/GeoGebra-Linux-Portable-${pkgver}.tar.bz2
+ geogebra)
+install=geogebra.install
+md5sums=('d1992ef7adfae9ec768f23bf04412382'
+ '167a8f9368eb4e27b1f339796f0c091a')
+changelog=ChangeLog
+
+prepare() {
+ gendesk -f -n --pkgname "${pkgname}" --pkgdesc "${pkgdesc}" \
+ --name="GeoGebra" \
+ --categories="Education;Science;Math" \
+ --mimetypes="application/vnd.geogebra.file;application/vnd.geogebra.tool"
+}
+
+package() {
+ cd "GeoGebra-Linux-Portable-${pkgver}"
+
+ install -Dm755 "${srcdir}/geogebra" "${pkgdir}/usr/bin/geogebra"
+ install -dm755 "${pkgdir}/usr/share/geogebra"
+ install "geogebra/"* -t "${pkgdir}/usr/share/geogebra/"
+
+ install -Dm644 "${srcdir}/geogebra.desktop" "${pkgdir}/usr/share/applications/geogebra.desktop"
+ install -Dm644 "geogebra.png" "${pkgdir}/usr/share/pixmaps/geogebra.png"
+}
Copied: geogebra/repos/community-testing-any/geogebra (from rev 119256, geogebra/trunk/geogebra)
===================================================================
--- community-testing-any/geogebra (rev 0)
+++ community-testing-any/geogebra 2014-09-19 19:23:04 UTC (rev 119257)
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+GG_PATH="/usr/share"
+export GG_CONFIG_PATH="$GG_PATH"
+export JAVACMD="/usr/bin/java"
+
+exec "$GG_PATH/geogebra/geogebra" "$@"
Copied: geogebra/repos/community-testing-any/geogebra.install (from rev 119256, geogebra/trunk/geogebra.install)
===================================================================
--- community-testing-any/geogebra.install (rev 0)
+++ community-testing-any/geogebra.install 2014-09-19 19:23:04 UTC (rev 119257)
@@ -0,0 +1,14 @@
+post_install() {
+ update-mime-database usr/share/mime/ > /dev/null
+ update-desktop-database -q
+ xdg-icon-resource forceupdate --theme hicolor 2> /dev/null
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
+
More information about the arch-commits
mailing list