New package: freeplane-1.3.15
This commit is contained in:
parent
311d4bb337
commit
c685043b57
|
@ -0,0 +1,12 @@
|
||||||
|
[Desktop Entry]
|
||||||
|
Version=1.0
|
||||||
|
Encoding=UTF-8
|
||||||
|
Name=Freeplane
|
||||||
|
GenericName=Freeplane
|
||||||
|
Exec=freeplane %U
|
||||||
|
Terminal=false
|
||||||
|
Icon=freeplane
|
||||||
|
Type=Application
|
||||||
|
MimeType=application/x-freeplane
|
||||||
|
Categories=Application;Office;
|
||||||
|
Comment=A free mind mapping tool
|
|
@ -0,0 +1,32 @@
|
||||||
|
# Template file for 'freeplane'
|
||||||
|
pkgname=freeplane
|
||||||
|
version=1.3.15
|
||||||
|
revision=1
|
||||||
|
noarch=yes
|
||||||
|
hostmakedepends="apache-ant openjdk unzip"
|
||||||
|
depends="virtual?java-runtime"
|
||||||
|
short_desc="Application for Mind Mapping, Knowledge Management, Project Management"
|
||||||
|
maintainer="Andrea Brancaleoni <miwaxe@gmail.com>"
|
||||||
|
license="GPL-2"
|
||||||
|
homepage="http://freeplane.sourceforge.net/"
|
||||||
|
distfiles="$SOURCEFORGE_SITE/$pkgname/$pkgname%20stable/${pkgname}_src-$version.tar.gz"
|
||||||
|
checksum=ad7a31c1cb81759c0af0a41f14302c3f58963292db33eca4dc60eeeaac57f4fc
|
||||||
|
|
||||||
|
do_build() {
|
||||||
|
. /etc/profile.d/apache-ant.sh
|
||||||
|
. /etc/profile.d/10_openjdk.sh
|
||||||
|
|
||||||
|
ant build dist
|
||||||
|
}
|
||||||
|
|
||||||
|
do_install() {
|
||||||
|
unzip freeplane_framework/dist/freeplane_bin-$version.zip -d install
|
||||||
|
find install -type f -name \*.exe -delete
|
||||||
|
vmkdir usr/share/$pkgname
|
||||||
|
mv install/$pkgname-$version/* $DESTDIR/usr/share/$pkgname
|
||||||
|
vmkdir usr/bin
|
||||||
|
ln -s /usr/share/freeplane/freeplane.sh $DESTDIR/usr/bin/$pkgname
|
||||||
|
vmkdir usr/share/pixmaps
|
||||||
|
ln -s /usr/share/freeplane/freeplane.svg $DESTDIR/usr/share/pixmaps/freeplane.svg
|
||||||
|
vinstall $FILESDIR/freeplane.desktop 644 usr/share/applications
|
||||||
|
}
|
Loading…
Reference in New Issue