[arch-commits] Commit in sweethome3d/repos (5 files)
Fabio Castelli
muflone at archlinux.org
Sun Dec 4 23:36:31 UTC 2016
Date: Sunday, December 4, 2016 @ 23:36:30
Author: muflone
Revision: 197894
archrelease: copy trunk to community-testing-any
Added:
sweethome3d/repos/community-testing-any/
sweethome3d/repos/community-testing-any/PKGBUILD
(from rev 197893, sweethome3d/trunk/PKGBUILD)
sweethome3d/repos/community-testing-any/sweethome3d.desktop
(from rev 197893, sweethome3d/trunk/sweethome3d.desktop)
sweethome3d/repos/community-testing-any/sweethome3d.sh
(from rev 197893, sweethome3d/trunk/sweethome3d.sh)
sweethome3d/repos/community-testing-any/sweethome3d.xml
(from rev 197893, sweethome3d/trunk/sweethome3d.xml)
---------------------+
PKGBUILD | 33 +++++++++++++++++++++++++++++++++
sweethome3d.desktop | 11 +++++++++++
sweethome3d.sh | 25 +++++++++++++++++++++++++
3 files changed, 69 insertions(+)
Copied: sweethome3d/repos/community-testing-any/PKGBUILD (from rev 197893, sweethome3d/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD (rev 0)
+++ community-testing-any/PKGBUILD 2016-12-04 23:36:30 UTC (rev 197894)
@@ -0,0 +1,33 @@
+# $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.3
+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://downloads.sourceforge.net/${pkgname}/SweetHome3D-${pkgver}.jar"
+ "${pkgname}.sh"
+ "${pkgname}.desktop"
+ "${pkgname}.xml")
+sha256sums=('6e87db81bcfff91c94240391f142a39f681fe21e2184e708bec77ee3f1f2bf78'
+ 'c2e8fc8fb29761a1b273edba2a55bd57b48fa936815fcb2988a3f2a92bf30231'
+ '05e7f1a60753a7236faeb115ee42764f01a353107b9f3dc200b18b0856d4b7bd'
+ 'ec0ad1a0671f708af68ced46bec1f4ab377e24ca1a0a9984867ee5fe484f57c5')
+
+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 197893, sweethome3d/trunk/sweethome3d.desktop)
===================================================================
--- community-testing-any/sweethome3d.desktop (rev 0)
+++ community-testing-any/sweethome3d.desktop 2016-12-04 23:36:30 UTC (rev 197894)
@@ -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.sh (from rev 197893, sweethome3d/trunk/sweethome3d.sh)
===================================================================
--- community-testing-any/sweethome3d.sh (rev 0)
+++ community-testing-any/sweethome3d.sh 2016-12-04 23:36:30 UTC (rev 197894)
@@ -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 197893, sweethome3d/trunk/sweethome3d.xml)
===================================================================
(Binary files differ)
More information about the arch-commits
mailing list