Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
eepm
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
eepm
Commits
060dc123
Commit
060dc123
authored
Jul 18, 2023
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm play: add figma
parent
b2cb8c4a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
52 additions
and
0 deletions
+52
-0
figma.sh
play.d/figma.sh
+37
-0
figma-linux.sh
repack.d/figma-linux.sh
+15
-0
No files found.
play.d/figma.sh
0 → 100755
View file @
060dc123
#!/bin/sh
PKGNAME
=
figma-linux
SUPPORTEDARCHES
=
"x86_64"
VERSION
=
"
$2
"
DESCRIPTION
=
"Figma-linux - an unofficial Electron-based Figma desktop app for Linux"
URL
=
"https://github.com/Figma-Linux/figma-linux"
.
$(
dirname
$0
)
/common.sh
[
"
$VERSION
"
=
"*"
]
&&
VERSION
=
"[0-9]*"
pkgtype
=
"
$(
epm print info
-p
)
"
# https://github.com/Figma-Linux/figma-linux/releases/download/v0.10.0/figma-linux_0.10.0_linux_x86_64.rpm
# https://github.com/Figma-Linux/figma-linux/releases/download/v0.10.0/figma-linux_0.10.0_linux_amd64.deb
case
"
$pkgtype
"
in
rpm
)
file
=
"
${
PKGNAME
}
_
${
VERSION
}
_linux_x86_64.
$pkgtype
"
;;
deb
)
file
=
"
${
PKGNAME
}
_
${
VERSION
}
_linux_amd64.
$pkgtype
"
;;
*
)
pkgtype
=
"deb"
file
=
"
${
PKGNAME
}
_
${
VERSION
}
_linux_amd64.
$pkgtype
"
;;
esac
PKGURL
=
$(
epm tool eget
--list
--latest
https://github.com/Figma-Linux/figma-linux/releases
$file
)
||
fatal
"Can't get package URL"
repack
=
''
[
"
$(
epm print info
-s
)
"
=
"alt"
]
&&
repack
=
'--repack'
epm
install
$repack
"
$PKGURL
"
||
exit
repack.d/figma-linux.sh
0 → 100755
View file @
060dc123
#!/bin/sh -x
# It will be run with two args: buildroot spec
BUILDROOT
=
"
$1
"
SPEC
=
"
$2
"
.
$(
dirname
$0
)
/common-chromium-browser.sh
add_bin_link_command
fix_desktop_file
fix_chrome_sandbox
add_electron_deps
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment