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
c9b26244
Commit
c9b26244
authored
Nov 23, 2025
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm play wpsoffice-cn: use wps-office-cn package name
parent
5800d467
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
2 deletions
+8
-2
common.sh
play.d/common.sh
+1
-0
wpsoffice-cn.sh
play.d/wpsoffice-cn.sh
+2
-1
wpsoffice.sh
repack.d/wpsoffice.sh
+5
-1
No files found.
play.d/common.sh
View file @
c9b26244
...
...
@@ -112,6 +112,7 @@ warn_version_is_not_supported()
VERSION
=
"*"
}
# set awaited pkgname to check with
override_pkgname
()
{
PKGNAME
=
"
$1
"
...
...
play.d/wpsoffice-cn.sh
View file @
c9b26244
#!/bin/sh
PKGNAME
=
wps-office
PKGNAME
=
wps-office
-cn
SUPPORTEDARCHES
=
"x86_64"
VERSION
=
"
$2
"
DESCRIPTION
=
"WPS Office for Linux from the official site (Chinese version)"
...
...
@@ -19,4 +19,5 @@ timestamp10=$(date '+%s')
md5hash
=
$(
printf
'%s%s%s'
"
$secrityKey
"
"
$uri
"
"
$timestamp10
"
|
md5sum
|
cut
-d
' '
-f1
)
PKGURL
=
"
$CHN_DEB_URL
?t=
${
timestamp10
}
&k=
${
md5hash
}
"
export
EPM_REPACK_SCRIPT
=
"
$PKGNAME
"
install_pkgurl
repack.d/wpsoffice.sh
View file @
c9b26244
...
...
@@ -4,11 +4,15 @@
BUILDROOT
=
"
$1
"
SPEC
=
"
$2
"
PRODUCTDIR
=
/opt/kingsoft/wps-office
PKGNAME
=
$(
basename
$0
.sh
)
.
$(
dirname
$0
)
/common.sh
#REQUIRES="fonts-ttf-liberation, fonts-ttf-dejavu"
#subst "s|^\(Name: .*\)$|# Converted from original package requires\nRequires:$REQUIRES\n\1|g" $SPEC
if
[
"
$PKGNAME
"
=
"wps-office-cn"
]
;
then
subst
"s|^
\(
Name: .*
\)
$|
Name:
$PKGNAME
|"
$SPEC
add_conflicts wps-office
fi
remove_dir /etc/cron.d
remove_dir /etc/logrotate.d
...
...
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