From 1c698ca10b71ab74e66e1dc2943721cd1d5d5efe Mon Sep 17 00:00:00 2001 From: Rohit Date: Thu, 8 Sep 2022 22:30:09 +0530 Subject: [PATCH] added flatpak --- ugit-flatpak/.gitignore | 2 ++ ugit-flatpak/org.ssoc.ugit.desktop | 5 ++++ ugit-flatpak/org.ssoc.ugit.yml | 45 ++++++++++++++++++++++++++++++ 3 files changed, 52 insertions(+) create mode 100644 ugit-flatpak/.gitignore create mode 100644 ugit-flatpak/org.ssoc.ugit.desktop create mode 100644 ugit-flatpak/org.ssoc.ugit.yml diff --git a/ugit-flatpak/.gitignore b/ugit-flatpak/.gitignore new file mode 100644 index 0000000..8423336 --- /dev/null +++ b/ugit-flatpak/.gitignore @@ -0,0 +1,2 @@ +.flatpak-builder +build-dir diff --git a/ugit-flatpak/org.ssoc.ugit.desktop b/ugit-flatpak/org.ssoc.ugit.desktop new file mode 100644 index 0000000..616c9dd --- /dev/null +++ b/ugit-flatpak/org.ssoc.ugit.desktop @@ -0,0 +1,5 @@ +[Desktop Entry] +Name=ugit +Exec=ugit +Type=Application +Terminal=true diff --git a/ugit-flatpak/org.ssoc.ugit.yml b/ugit-flatpak/org.ssoc.ugit.yml new file mode 100644 index 0000000..e3654a8 --- /dev/null +++ b/ugit-flatpak/org.ssoc.ugit.yml @@ -0,0 +1,45 @@ +app-id: org.ssoc.ugit +runtime: org.freedesktop.Platform +runtime-version: '21.08' +sdk: org.freedesktop.Sdk +command: ugit +finish-args: + - --filesystem=home:rw + - --share=network +modules: + - name: fzf + buildsystem: simple + build-commands: + - tar -xvf fzf-0.33.0-linux_amd64.tar.gz + - install -Dm755 fzf ${FLATPAK_DEST}/bin/fzf + sources: + - type: file + url: https://github.com/junegunn/fzf/releases/download/0.33.0/fzf-0.33.0-linux_amd64.tar.gz + sha256: bcf2f4ba957cce15cea1546f48cdd3bfe9b5dc9a6e80ccc400314bda171466f3 + + - name: git + buildsystem: simple + build-commands: + - install -Dm755 $(which git) ${FLATPAK_DEST}/bin/ + - install -Dm755 $(which git-cvsserver) ${FLATPAK_DEST}/bin/ + - install -Dm755 $(which git-receive-pack) ${FLATPAK_DEST}/bin/ + - install -Dm755 $(which git-shell) ${FLATPAK_DEST}/bin/ + - install -Dm755 $(which git-upload-archive) ${FLATPAK_DEST}/bin/ + - install -Dm755 $(which git-upload-pack) ${FLATPAK_DEST}/bin/ + + + - name: ugit + buildsystem: simple + build-options: + build-commands: + - chmod +x ugit + - install -Dm755 ugit ${FLATPAK_DEST}/bin/ugit + - install -Dm755 org.ssoc.ugit.desktop ${FLATPAK_DEST}/share/applications/org.ssoc.ugit.desktop + sources: + - type: git + url: https://github.com/Bhupesh-V/ugit + tag: v5.3 + commit: 14da50780e696e758bf362489496b74901f84cc1 + + - type: file + path: org.ssoc.ugit.desktop