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
e839f940
Commit
e839f940
authored
Jun 04, 2024
by
Boris Yumankulov
Committed by
Vitaly Lipatov
Nov 09, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm play: fix figma deb package link and add pacman package (eterbug #17399)
parent
b0d7bad8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
13 deletions
+23
-13
figma.sh
play.d/figma.sh
+23
-13
No files found.
play.d/figma.sh
View file @
e839f940
#!/bin/sh
PKGNAME
=
figma-linux
SUPPORTEDARCHES
=
"x86_64"
SUPPORTEDARCHES
=
"x86_64
aarch64
"
VERSION
=
"
$2
"
DESCRIPTION
=
"Figma-linux - an unofficial Electron-based Figma desktop app for Linux"
URL
=
"https://github.com/Figma-Linux/figma-linux"
...
...
@@ -12,18 +12,28 @@ URL="https://github.com/Figma-Linux/figma-linux"
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
"
;;
*
)
pkgtype
=
"deb"
file
=
"
${
PKGNAME
}
_
${
VERSION
}
_linux_amd64.
$pkgtype
"
;;
esac
if
[
"
$pkgtype
"
==
"rpm"
]
;
then
case
"
$(
epm print info
-a
)
"
in
x86_64
)
file
=
"
${
PKGNAME
}
_
${
VERSION
}
_linux_x86_64.
$pkgtype
"
;;
aarch64
)
file
=
"
${
PKGNAME
}
_
${
VERSION
}
_linux_aarch64.
$pkgtype
"
;;
esac
elif
[
"
$pkgtype
"
==
"deb"
]
;
then
case
"
$(
epm print info
-a
)
"
in
x86_64
)
file
=
"
${
PKGNAME
}
_
${
VERSION
}
_linux_amd64.
$pkgtype
"
;;
aarch64
)
file
=
"
${
PKGNAME
}
_
${
VERSION
}
_linux_arm64.
$pkgtype
"
;;
esac
elif
[
"
$pkgtype
"
==
"pacman"
]
;
then
case
"
$(
epm print info
-a
)
"
in
x86_64
)
file
=
"
${
PKGNAME
}
_
${
VERSION
}
_linux_x64.
$pkgtype
"
;;
aarch64
)
file
=
"
${
PKGNAME
}
_
${
VERSION
}
_linux_aarch64.
$pkgtype
"
;;
esac
fi
PKGURL
=
$(
eget
--list
--latest
https://github.com/Figma-Linux/figma-linux/releases
"
$file
"
)
...
...
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