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
ed40b12e
Commit
ed40b12e
authored
1 year ago
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm repack.d/example.sh: improve example
parent
02721027
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
31 additions
and
1 deletion
+31
-1
example.sh
repack.d/example.sh
+31
-1
No files found.
repack.d/example.sh
View file @
ed40b12e
...
@@ -3,8 +3,38 @@
...
@@ -3,8 +3,38 @@
# It will be run with two args: buildroot spec
# It will be run with two args: buildroot spec
# Name this script as package name
# Name this script as package name
# You can use
epm tool eget, epm print info and other epm commands
# You can use
follow commands here: epm, subst, realpath
# subst - the same like sed -i
# realpath - print real path (resolved path) of a file
# root dir of the files
BUILDROOT
=
"
$1
"
BUILDROOT
=
"
$1
"
# rpm spec file
SPEC
=
"
$2
"
SPEC
=
"
$2
"
# a command to run the application from cli (get from the script name by default)
#PRODUCT=<cmd>
# path to the application (/opt/$PRODUCT by default)
#PRODUCTDIR=/opt/$PRODUCT
.
$(
dirname
$0
)
/common.sh
# spec additions
# subst '1iAutoReq:no' $SPEC
# fix script example
# subst "s|/usr/bin/sh|/bin/sh|" $BUILDROOT$PRODUCTDIR/cmd.bash
# copy and add file to the package
# install_file $PRODUCTDIR/aimp.desktop /usr/share/applications/$PRODUCT.desktop
# download and add file to the package
# install_file https://dashboard.snapcraft.io/site_media/appmedia/2020/04/icq_copy.png /usr/share/pixmaps/$PRODUCT.png
# remove file from the package
# remove_file /usr/share/anydesk/files/init/anydesk
# drop according lines from autogenerated requires
# filter_from_requires libpangox-1.0.so.0 libgdkglext-x11-1.0.so.0 libsomename
This diff is collapsed.
Click to expand it.
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