forked from flathub/app.rednotebook.RedNotebook
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathRedNotebook.yaml
More file actions
21 lines (21 loc) · 775 Bytes
/
RedNotebook.yaml
File metadata and controls
21 lines (21 loc) · 775 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
name: RedNotebook
buildsystem: simple
sources:
- type: archive
url: https://github.com/jendrikseipp/rednotebook/archive/v2.10.tar.gz
sha256: f97c00aa285348f0b2d39d7c3bb478cc9c688c70a3b3522a67cbb0020fbe6e07
- type: file
path: rednotebook.appdata.xml
dest: data
- type: file
path: rednotebook.desktop
dest: data
build-commands:
- python3 setup.py build;
- python3 setup.py install -O1 --skip-build --prefix="${FLATPAK_DEST}" --root="/";
post-install:
- for f in rednotebook/images/rednotebook-icon/rn-*.png; do
s="${f##*-}" s="${s%%.*}";
install -p -D -m 0644 "${f}" "${FLATPAK_DEST}/share/icons/hicolor/${s}x${s}/apps/rednotebook.png";
done;
- install -p -D -m 0644 "LICENSE" -t "${FLATPAK_DEST}/share/licenses/rednotebook/";