[arch-commits] Commit in sweethome3d/repos (6 files)
Fabio Castelli
muflone at archlinux.org
Sun Jul 26 19:19:44 UTC 2015
Date: Sunday, July 26, 2015 @ 21:19:43
Author: muflone
Revision: 137451
archrelease: copy trunk to community-testing-any
Added:
sweethome3d/repos/community-testing-any/
sweethome3d/repos/community-testing-any/PKGBUILD
(from rev 137450, sweethome3d/trunk/PKGBUILD)
sweethome3d/repos/community-testing-any/sweethome3d.desktop
(from rev 137450, sweethome3d/trunk/sweethome3d.desktop)
sweethome3d/repos/community-testing-any/sweethome3d.install
(from rev 137450, sweethome3d/trunk/sweethome3d.install)
sweethome3d/repos/community-testing-any/sweethome3d.sh
(from rev 137450, sweethome3d/trunk/sweethome3d.sh)
sweethome3d/repos/community-testing-any/sweethome3d.xml
(from rev 137450, sweethome3d/trunk/sweethome3d.xml)
---------------------+
PKGBUILD | 34 ++++++++++++++++++++++++++++++++++
sweethome3d.desktop | 11 +++++++++++
sweethome3d.install | 13 +++++++++++++
sweethome3d.sh | 25 +++++++++++++++++++++++++
4 files changed, 83 insertions(+)
Copied: sweethome3d/repos/community-testing-any/PKGBUILD (from rev 137450, sweethome3d/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD (rev 0)
+++ community-testing-any/PKGBUILD 2015-07-26 19:19:43 UTC (rev 137451)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Muflone http://www.muflone.com/contacts/english/
+# Contributor: jsteel <mail at jsteel dot org>
+# Contributor: Daniel YC Lin <dlin.tw at gmail>
+# Contributor: Tdy <tdy at gmx.com>
+# Contributor: Biginoz <biginoz at free.fr>
+# Contributor: Archan Paul <paul.archan at gmail.com>
+
+pkgname=sweethome3d
+pkgver=5.0
+pkgrel=1
+pkgdesc="An interior design application to draw the plan of your house in a 3D environment"
+arch=('any')
+url="http://www.sweethome3d.com/"
+license=('GPL')
+depends=('java-runtime' 'shared-mime-info' 'desktop-file-utils')
+source=("http://www.sweethome3d.com/downloads/SweetHome3D-${pkgver}.jar"
+ "${pkgname}.sh"
+ "${pkgname}.desktop"
+ "${pkgname}.xml")
+sha256sums=('c6d079227cc4545a7ff472209e20c88bffbda522cfdbb44b03870e2f580bf5b3'
+ '0cbe84d4db89efd31254a034729f58cf2dd6d415210083584748049ccba0893a'
+ '05e7f1a60753a7236faeb115ee42764f01a353107b9f3dc200b18b0856d4b7bd'
+ 'ec0ad1a0671f708af68ced46bec1f4ab377e24ca1a0a9984867ee5fe484f57c5')
+install="${pkgname}.install"
+
+package() {
+ cd "${srcdir}"
+ install -D -m 644 "SweetHome3D-${pkgver}.jar" "${pkgdir}/usr/share/java/${pkgname}.jar"
+ install -D -m 644 "com/eteks/sweethome3d/viewcontroller/resources/help/images/applicationIcon.png" "${pkgdir}/usr/share/pixmaps/${pkgname}.png"
+ install -D -m 755 "${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
+ install -D -m 644 "${pkgname}.xml" "${pkgdir}/usr/share/mime/packages/${pkgname}.xml"
+ install -D -m 755 "${pkgname}.sh" "${pkgdir}/usr/bin/${pkgname}"
+}
Copied: sweethome3d/repos/community-testing-any/sweethome3d.desktop (from rev 137450, sweethome3d/trunk/sweethome3d.desktop)
===================================================================
--- community-testing-any/sweethome3d.desktop (rev 0)
+++ community-testing-any/sweethome3d.desktop 2015-07-26 19:19:43 UTC (rev 137451)
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Version=1.0
+Type=Application
+Name=Sweet Home 3D
+Comment=An interior design application
+TryExec=sweethome3d
+Exec=sweethome3d %f
+Icon=sweethome3d
+Categories=Office;Java;
+StartupWMClass=com-eteks-sweethome3d-SweetHome3DBootstrap
+MimeType=application/x-sweethome3d
Copied: sweethome3d/repos/community-testing-any/sweethome3d.install (from rev 137450, sweethome3d/trunk/sweethome3d.install)
===================================================================
--- community-testing-any/sweethome3d.install (rev 0)
+++ community-testing-any/sweethome3d.install 2015-07-26 19:19:43 UTC (rev 137451)
@@ -0,0 +1,13 @@
+post_install() {
+ update-desktop-database -q
+ update-mime-database usr/share/mime
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ post_install $1
+}
+
Copied: sweethome3d/repos/community-testing-any/sweethome3d.sh (from rev 137450, sweethome3d/trunk/sweethome3d.sh)
===================================================================
--- community-testing-any/sweethome3d.sh (rev 0)
+++ community-testing-any/sweethome3d.sh 2015-07-26 19:19:43 UTC (rev 137451)
@@ -0,0 +1,25 @@
+#!/bin/sh
+
+JAVA_EXEC=""
+APP_ARGS=""
+
+if [ -n "$JAVA_HOME" ]; then
+ if [ -x "$JAVA_HOME/bin/java" ]; then
+ JAVA_EXEC="$JAVA_HOME/bin/java"
+ fi
+else
+ JAVA_EXEC="$(which java)"
+fi
+
+if [ -z "$JAVA_EXEC" ]; then
+ echo "No 'java' executable can be found, please set JAVA_HOME variable or"
+ echo "use the 'archlinux-java' script to set the Java version."
+ exit 1
+fi
+
+if [ $# -gt 0 ]
+then
+ APP_ARGS="-open $@"
+fi
+
+"$JAVA_EXEC" -jar /usr/share/java/sweethome3d.jar $APP_ARGS
Copied: sweethome3d/repos/community-testing-any/sweethome3d.xml (from rev 137450, sweethome3d/trunk/sweethome3d.xml)
===================================================================
(Binary files differ)
More information about the arch-commits
mailing list