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
617f7712
Commit
617f7712
authored
Feb 28, 2026
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm play: add fvm (Flutter Version Management)
parent
bbba1ecb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
52 additions
and
0 deletions
+52
-0
fvm.sh
pack.d/fvm.sh
+31
-0
fvm.sh
play.d/fvm.sh
+21
-0
No files found.
pack.d/fvm.sh
0 → 100644
View file @
617f7712
#!/bin/sh
TAR
=
"
$1
"
RETURNTARNAME
=
"
$2
"
VERSION
=
"
$3
"
URL
=
"
$4
"
.
$(
dirname
$0
)
/common.sh
[
-n
"
$VERSION
"
]
||
VERSION
=
"
$(
echo
"
$URL
"
|
grep
-oE
'[0-9]+\.[0-9]+\.[0-9]+(-[0-9A-Za-z.]+)?'
|
head
-n1
)
"
[
-n
"
$VERSION
"
]
||
fatal
"Can't get package version"
PKGNAME
=
$PRODUCT
-
$VERSION
erc unpack
"
$TAR
"
||
fatal
cd
$PRODUCT
||
fatal
install
-D
-m755
$PRODUCT
usr/bin/
$PRODUCT
||
fatal
erc pack
$PKGNAME
.tar usr/bin
||
fatal
cat
<<
EOF
>
$PKGNAME
.tar.eepm.yaml
name:
$PRODUCT
group: Development/Tools
license: MIT
url: https://fvm.app/
summary: Flutter Version Management
description: A simple CLI to manage Flutter SDK versions.
EOF
return_tar
$PKGNAME
.tar
play.d/fvm.sh
0 → 100644
View file @
617f7712
#!/bin/sh
PKGNAME
=
fvm
SUPPORTEDARCHES
=
"x86_64 aarch64"
VERSION
=
"
$2
"
DESCRIPTION
=
"Flutter Version Management: A simple CLI to manage Flutter SDK versions"
URL
=
"https://fvm.app/"
.
$(
dirname
$0
)
/common.sh
arch
=
"
$(
epm print info
-a
)
"
case
"
$arch
"
in
x86_64
)
arch
=
"x64"
;;
aarch64
)
arch
=
"arm64"
;;
esac
PKGURL
=
"
$(
get_github_url https://github.com/leoafarias/fvm
"fvm-
${
VERSION
}
-linux-
${
arch
}
.tar.gz"
)
"
install_pack_pkgurl
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