--- /dev/null
+[Flatpak Ref]
+Title=GNU PSPP
+Name=org.fsf.pspp
+Branch=master
+Url=REPO_URL
+IsRuntime=false
+RuntimeRepo=https://dl.flathub.org/repo/flathub.flatpakrepo
+GPGKey=LS0tLS1CRUdJTiBQR1AgUFVCTElDIEtFWSBCTE9DSy0tLS0tCgptRE1FWWpBT1hoWUpLd1lCQkFIYVJ3OEJBUWRBa09BOUFIVjdMdVdWbmdIbytzWnRSNkgrYTJ0aHlDSDlYbHcwCmx4Q2wrQTIwQkhCemNIQ0lsZ1FURmdnQVBoWWhCTExBR0VkczJJUExFZ3VSMmxDeU1Cd0t0Zkl5QlFKaU1BNWUKQWhzREJRa0R3bWNBQlFzSkNBY0RCUlVLQ1FnTEJSWUNBd0VBQWg0RkFoZUFBQW9KRUZDeU1Cd0t0Zkl5T01ZQgpBSm54dUJlNWFxWTJiVXc1c0ltVXI5ejFKOEtGYzROMjRWdlRqMW1weEJKUkFQOXp6ZnRrNnpQT1gvSS95RFA3CnN0S2lLTTdVNDBGd0dwMmZCTk9WL3AxMENyZzRCR0l3RGw0U0Npc0dBUVFCbDFVQkJRRUJCMERHYlBCVCt0eVUKbWwzS2MxcmRiN2UxR0RpWGVyNEF6c3BCQitkeVZRNlVDQU1CQ0FlSWVBUVlGZ2dBSUJZaEJMTEFHRWRzMklQTApFZ3VSMmxDeU1Cd0t0Zkl5QlFKaU1BNWVBaHNNQUFvSkVGQ3lNQndLdGZJeTh5VUEvanNCczZGRHo1OHhjL3FlCkcyUDFKRjRycmdQZFNxMVU1S3FSYjNPU2hDWUJBUDBVV0NnZTR2QjRFL3NSYmFMMEJQNVR6MnBlOHZ4Vk9IM1AKbFFvTWdYa25EQT09Cj0xQjlWCi0tLS0tRU5EIFBHUCBQVUJMSUMgS0VZIEJMT0NLLS0tLS0K
--- /dev/null
+app-id: org.fsf.pspp
+runtime: org.gnome.Platform
+runtime-version: '41'
+sdk: org.gnome.Sdk
+command: psppire
+modules:
+ - name: spread-sheet-widget
+ buildsystem: autotools
+ sources:
+ - type: archive
+ url: https://alpha.gnu.org/gnu/ssw/spread-sheet-widget-0.8.tar.gz
+ sha256: 8589d8298fcf3b5850d0968b04801a4f40faf0555544f6cc9d954b0162e9954b
+ - name: gsl
+ buildsystem: autotools
+ sources:
+ - type: archive
+ url: https://ftp.gnu.org/gnu/gsl/gsl-2.7.1.tar.gz
+ sha256: dcb0fbd43048832b757ff9942691a8dd70026d5da0ff85601e52687f6deeb34b
+ - name: pspp
+ buildsystem: simple
+ sources:
+ - type: archive
+ path: SOURCE_PATH
+ dest: pspp
+ build-commands:
+ - cd pspp && ./configure --prefix=/app --libdir=/app/lib && make -j$(nproc) && make -j$(nproc) install
+finish-args:
+ # X11 + XShm access
+ - --share=ipc
+ - --socket=x11
+ # Wayland access
+ - --socket=wayland
+ - --own-name=gnu.pspp
+ - --talk-name=org.gtk.vfs.*
+ - --filesystem=xdg-run/gvfsd