This repository has been archived by the owner on Sep 17, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.yml
46 lines (41 loc) · 2.07 KB
/
package.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
name : freeplane
version : 1.11.6
release : 17
source :
- git|https://github.com/freeplane/freeplane.git : release-1.11.6
license : GPL-2.0-or-later
component : office
homepage : https://www.freeplane.org/
summary : An application for mind mapping, plus knowledge and project management
description: |
Freeplane is a free and open source software application that supports thinking, sharing information and getting things done at work, in school and at home. The software can be used for mind mapping and analyzing the information contained in mind maps.
networking : yes
builddeps :
- font-ubuntu-ttf # Tests
- fontconfig # Tests
- gradle
- openjdk-17
rundeps :
- fontconfig
- openjdk-17
environment: |
export JAVA_HOME=/usr/lib64/openjdk-17
export PATH=$JAVA_HOME/bin:$PATH
build : |
rm -rf freeplane_mac
export GRADLE_USER_HOME=$workdir/.gradle_home
gradle build --no-daemon
install : |
install -dm00755 $installdir/usr/share/freeplane
cp -a BIN/* $installdir/usr/share/freeplane
chmod 00755 $installdir/usr/share/freeplane/freeplane.sh
install -dm00755 $installdir/usr/share/icons/hicolor/{scalable,32x32}/apps
install -Dm00644 $installdir/usr/share/freeplane/freeplane.svg $installdir/usr/share/icons/hicolor/scalable/apps/freeplane.svg
rm -f $installdir/usr/share/freeplane/freeplane.svg
install -Dm00644 $installdir/usr/share/freeplane/freeplane.png $installdir/usr/share/icons/hicolor/32x32/apps/freeplane.png
rm -f $installdir/usr/share/freeplane/freeplane.png
install -Dm00644 $workdir/debian-meta-data/freeplane.desktop $installdir/usr/share/applications/org.freeplane.App.desktop
install -Dm00644 $workdir/debian-meta-data/freeplane.sharedmimeinfo $installdir/usr/share/mime/packages/freeplane.xml
install -Dm00644 $workdir/debian-meta-data/org.freeplane.App.metainfo.xml $installdir/usr/share/metainfo/org.freeplane.App.metainfo.xml
install -Dm00755 $pkgfiles/freeplane $installdir/usr/bin/freeplane
rm $installdir/usr/share/freeplane/{*.bat,*.dll}