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
2d010dd3
Commit
2d010dd3
authored
Mar 30, 2024
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm play liteide: move repacking to pack.d
parent
d3d574dc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
10 deletions
+15
-10
liteide.sh
pack.d/liteide.sh
+12
-0
liteide.sh
play.d/liteide.sh
+3
-10
No files found.
pack.d/liteide.sh
0 → 100755
View file @
2d010dd3
#!/bin/sh
TAR
=
"
$1
"
RETURNTARNAME
=
"
$2
"
#VERSION="$3"
.
$(
dirname
$0
)
/common.sh
PKGNAME
=
"
$(
basename
"
$TAR
"
|
sed
-e
's|liteidex|liteide-|'
)
"
mv
-v
$TAR
$PKGNAME
return_tar
$PKGNAME
play.d/liteide.sh
View file @
2d010dd3
...
@@ -4,20 +4,13 @@ PKGNAME=liteide
...
@@ -4,20 +4,13 @@ PKGNAME=liteide
SUPPORTEDARCHES
=
"x86_64 x86"
SUPPORTEDARCHES
=
"x86_64 x86"
VERSION
=
"
$2
"
VERSION
=
"
$2
"
DESCRIPTION
=
"LiteIDE is a simple, open source, cross-platform Go IDE. From the official site"
DESCRIPTION
=
"LiteIDE is a simple, open source, cross-platform Go IDE. From the official site"
URL
=
"https://github.com/visualfc/liteide"
.
$(
dirname
$0
)
/common.sh
.
$(
dirname
$0
)
/common.sh
archbit
=
"
$(
epm print info
-b
)
"
archbit
=
"
$(
epm print info
-b
)
"
PKGURL
=
$(
e
pm tool e
get
--list
--latest
https://github.com/visualfc/liteide/releases
"liteidex
$VERSION
.linux
$archbit
-qt5*-system.tar.gz"
)
#"
PKGURL
=
$(
eget
--list
--latest
https://github.com/visualfc/liteide/releases
"liteidex
$VERSION
.linux
$archbit
-qt5*-system.tar.gz"
)
#"
[
-n
"
$PKGURL
"
]
||
fatal
"Can't get package URL"
[
-n
"
$PKGURL
"
]
||
fatal
"Can't get package URL"
# cd to tmp dir
epm pack
--install
$PKGNAME
"
$PKGURL
"
PKGDIR
=
$(
mktemp
-d
)
trap
"rm -fr
$PKGDIR
"
EXIT
cd
$PKGDIR
||
fatal
name
=
"
$(
basename
"
$PKGURL
"
|
sed
-e
's|liteidex|liteide-|'
)
"
epm tool eget
-O
"
$name
"
"
$PKGURL
"
epm
install
--repack
"
$name
"
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