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
f308a751
Commit
f308a751
authored
May 14, 2023
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm pack.d/generic-snap.sh: fixes
parent
3a5d747b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
+8
-3
generic-snap.sh
pack.d/generic-snap.sh
+8
-3
No files found.
pack.d/generic-snap.sh
View file @
f308a751
...
...
@@ -23,6 +23,9 @@ a= unsquashfs $TAR || fatal
# description:
eval
$(
epm tool yaml squashfs-root/meta/snap.yaml |
head
|
grep
-E
"(name|version|summary|description)="
)
mkdir
-p
opt/
mv
squashfs-root opt/
$name
PKGNAME
=
$name
-
$version
.tar
cat
<<
EOF
>
$PKGNAME
.eepm.yaml
...
...
@@ -34,10 +37,12 @@ upstream_file: $alpkg
generic_repack: snap
EOF
install_file meta/gui/icon.png /usr/share/pixmaps.png
install_file meta/gui/
*
.desktop /usr/share/applications/
$name
.desktop
cd
opt/
$name
||
fatal
install_file meta/gui/icon.png usr/share/pixmaps.png
install_file meta/gui/
*
.desktop usr/share/applications/
$name
.desktop
sed
-i
-e
's|^Icon=.*|Icon=$name|'
usr/share/applications/
$name
.desktop
cd
-
>
/dev/null
erc pack
$PKGNAME
squashfs-root
erc pack
$PKGNAME
opt/
$name
return_tar
$PKGNAME
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