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
31613117
Commit
31613117
authored
Apr 05, 2025
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm play: add cstcadnavigator
parent
66710af5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
43 additions
and
0 deletions
+43
-0
cstcadnavigator.sh
play.d/cstcadnavigator.sh
+19
-0
cstcadnavigator.sh
repack.d/cstcadnavigator.sh
+24
-0
No files found.
play.d/cstcadnavigator.sh
0 → 100755
View file @
31613117
#!/bin/sh
PKGNAME
=
cstcadnavigator
VERSION
=
"
$2
"
SUPPORTEDARCHES
=
"x86_64"
DESCRIPTION
=
"CST CAD Navigator from the official site"
URL
=
"https://cadsofttools.ru/products/cst-cad-navigator/download/"
.
$(
dirname
$0
)
/common.sh
# Используются одни и те же бинарники в deb и rpm
# но файл rpm с версией, поэтому нам предпочтительнее для истории
if
[
"
$VERSION
"
=
"*"
]
;
then
PKGURL
=
"
$(
eget
--list
--latest
https://cadsofttools.ru/products/cst-cad-navigator/download/
"
$PKGNAME
-*x86_64.rpm"
)
"
else
PKGURL
=
"https://cadsofttools.ru/download/cstcadnavigator-
$VERSION
-1.x86_64.rpm"
fi
install_pack_pkgurl
repack.d/cstcadnavigator.sh
0 → 100755
View file @
31613117
#!/bin/sh -x
# It will run with two args: buildroot spec
BUILDROOT
=
"
$1
"
SPEC
=
"
$2
"
PRODUCTCUR
=
cstCadNavigator
.
$(
dirname
$0
)
/common.sh
move_to_opt
# TODO: fix bug in upstream
remove_file /usr/bin/libfmux.so
remove_file /usr/bin/libdynapdf.so
find
.
-type
f
-exec
chmod
0644
{}
+
add_bin_exec_command
$PRODUCTCUR
add_bin_link_command
$PRODUCT
$PRODUCTCUR
cat
<<
EOF
>>./usr/share/applications/
$PRODUCT
.desktop
MimeType=image/vnd.dwg;model/stl;image/cgm;image/svg+xml;
EOF
add_libs_requires
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