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
Nurlan
eepm
Commits
e89b0e36
Commit
e89b0e36
authored
Mar 10, 2023
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm play: add liteide support
parent
a1505da3
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
60 additions
and
0 deletions
+60
-0
liteide.sh
play.d/liteide.sh
+22
-0
liteidex.sh
repack.d/liteidex.sh
+38
-0
No files found.
play.d/liteide.sh
0 → 100755
View file @
e89b0e36
#!/bin/sh
PKGNAME
=
liteide
SUPPORTEDARCHES
=
"x86_64 x86"
DESCRIPTION
=
"LiteIDE is a simple, open source, cross-platform Go IDE. From the official site"
.
$(
dirname
$0
)
/common.sh
archbit
=
"
$(
$DISTRVENDOR
-b
)
"
PKGURL
=
$(
epm tool eget
--list
--latest
https://github.com/visualfc/liteide/releases
"liteidex*.linux
$archbit
-qt5*-system.tar.gz"
)
#"
[
-n
"
$PKGURL
"
]
||
fatal
"Can't get package URL"
# cd to tmp dir
PKGDIR
=
$(
mktemp
-d
)
trap
"rm -fr
$PKGDIR
"
EXIT
cd
$PKGDIR
||
fatal
name
=
"
$(
basename
"
$PKGURL
"
|
sed
-e
's|liteidex|liteidex-|'
)
"
epm tool eget
-O
"
$name
"
"
$PKGURL
"
epm
install
--repack
"
$name
"
repack.d/liteidex.sh
0 → 100755
View file @
e89b0e36
#!/bin/sh -x
# It will be run with two args: buildroot spec
BUILDROOT
=
"
$1
"
SPEC
=
"
$2
"
PRODUCT
=
liteide
.
$(
dirname
$0
)
/common.sh
subst
"s|^Group:.*|Group: Development/Tools|"
$SPEC
subst
"s|^License: unknown
$|
License: LGPLv2|"
$SPEC
subst
"s|^URL:.*|URL: http://liteide.org/en/|"
$SPEC
subst
"s|^Summary:.*|Summary: LiteIDE is a simple, open source, cross-platform Go IDE|"
$SPEC
move_to_opt /liteide
for
i
in
gocode gomodifytags gotools liteide
;
do
add_bin_link_command
$i
$PRODUCTDIR
/bin/
$i
done
install_file
$PRODUCTDIR
/share/liteide/welcome/images/liteide.png /usr/share/pixmaps/
$PRODUCT
.png
# create desktop file
mkdir
-p
$BUILDROOT
/usr/share/applications/
cat
<<
EOF
>
$BUILDROOT
/usr/share/applications/
$PRODUCT
.desktop
[Desktop Entry]
Type=Application
Name=liteide
Exec=liteide
Icon=liteide
Comment=LiteIDE is a simple, open source, cross-platform Go IDE.
Terminal=false
Categories=Development;
Name[zh_CN]=liteide
EOF
pack_file /usr/share/applications/
$PRODUCT
.desktop
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