Skip to content

Commit

Permalink
Merge pull request #53 from RohitSingh107/master
Browse files Browse the repository at this point in the history
added flatpak
  • Loading branch information
Bhupesh-V authored Sep 18, 2022
2 parents cd5960b + 1c698ca commit 8bf1dec
Show file tree
Hide file tree
Showing 3 changed files with 52 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ugit-flatpak/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
.flatpak-builder
build-dir
5 changes: 5 additions & 0 deletions ugit-flatpak/org.ssoc.ugit.desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[Desktop Entry]
Name=ugit
Exec=ugit
Type=Application
Terminal=true
45 changes: 45 additions & 0 deletions ugit-flatpak/org.ssoc.ugit.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 8bf1dec

Please sign in to comment.