-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathorg.pdfsam.PDFsam-Basic.yaml
More file actions
32 lines (30 loc) · 1.01 KB
/
org.pdfsam.PDFsam-Basic.yaml
File metadata and controls
32 lines (30 loc) · 1.01 KB
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
app-id: org.pdfsam.PDFsam-Basic
runtime: org.freedesktop.Platform
runtime-version: '22.08'
sdk: org.freedesktop.Sdk
command: pdfsam-basic
rename-icon: icon
finish-args:
- --share=ipc
- --socket=x11
- --share=network
- --device=dri
- --filesystem=home
modules:
- name: pdfsam
buildsystem: simple
build-commands:
- mkdir -p ${FLATPAK_DEST}/bin ${FLATPAK_DEST}/pdfsam
- tar --strip-components=1 -xf pdfsam.tar.gz -C ${FLATPAK_DEST}/pdfsam
- ln -s ${FLATPAK_DEST}/pdfsam/bin/pdfsam.sh ${FLATPAK_DEST}/bin/pdfsam-basic
- install -Dm644 -t ${FLATPAK_DEST}/share/icons/hicolor/scalable/apps icon.svg
- install -Dm644 -t ${FLATPAK_DEST}/share/applications/ org.pdfsam.PDFsam-Basic.desktop
sources:
- type: file
url: https://github.com/torakiki/pdfsam/releases/download/v5.0.0/pdfsam-5.0.0-linux.tar.gz
sha256: dba96bd459094aaa95806a4307e9f8e5e3ee7d1662ba69b970d7e4d5e22741cf
dest-filename: pdfsam.tar.gz
- type: file
path: org.pdfsam.PDFsam-Basic.desktop
- type: file
path: icon.svg