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
07b74901
Commit
07b74901
authored
8 months ago
by
Boris Yumankulov
Committed by
Vitaly Lipatov
8 months ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm play: fix tsukimi (eterbug #17547)
parent
4a1275cb
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
29 additions
and
8 deletions
+29
-8
tsukimi.sh
pack.d/tsukimi.sh
+22
-0
tsukimi.sh
play.d/tsukimi.sh
+3
-4
tsukimi.sh
repack.d/tsukimi.sh
+4
-4
No files found.
pack.d/tsukimi.sh
0 → 100755
View file @
07b74901
#!/bin/sh
TAR
=
"
$1
"
RETURNTARNAME
=
"
$2
"
URL
=
"
$4
"
.
$(
dirname
$0
)
/common.sh
VERSION
=
$(
echo
"
$URL
"
|
grep
-oP
'v\K[0-9]+\.[0-9]+\.[0-9]+'
)
[
-n
"
$VERSION
"
]
||
fatal
"Can't get package version"
# use version from tarball
# (TODO: get basename via erc
PKGNAME
=
"
$(
basename
$TAR
.tar.gz |
sed
-e
"s|-x86_64-linux-gnu||"
)
"
PKGNAME
=
$PRODUCT
-
$VERSION
mkdir
-p
opt/
erc unpack
$TAR
||
fatal
mv
$PRODUCT
*
opt/
$PRODUCT
erc pack
$PKGNAME
.tar opt
||
fatal
return_tar
$PKGNAME
.tar
This diff is collapsed.
Click to expand it.
play.d/tsukimi.sh
View file @
07b74901
...
...
@@ -9,10 +9,9 @@ URL="https://github.com/tsukinaha/tsukimi"
.
$(
dirname
$0
)
/common.sh
if
[
"
$VERSION
"
=
"*"
]
;
then
PKGURL
=
$(
eget
--list
--latest
https://github.com/tsukinaha/tsukimi/releases/
"
${
PKGNAME
}
_
${
VERSION
}
_amd64.deb
"
)
PKGURL
=
$(
get_github_version
"https://github.com/tsukinaha/tsukimi/"
"tsukimi-x86_64-linux-gnu.tar.gz
"
)
else
PKGURL
=
"https://github.com/tsukinaha/tsukimi/releases/download/v
$VERSION
/
${
PKGNAME
}
_
${
VERSION
}
_amd64.deb
"
PKGURL
=
"https://github.com/tsukinaha/tsukimi/releases/download/v
$VERSION
/
tsukimi-x86_64-linux-gnu.tar.gz
"
fi
install_pkgurl
install_pack_pkgurl
This diff is collapsed.
Click to expand it.
repack.d/tsukimi.sh
100644 → 100755
View file @
07b74901
...
...
@@ -6,6 +6,10 @@ SPEC="$2"
.
$(
dirname
$0
)
/common.sh
add_bin_link_command
$PRODUCT
$PRODUCTDIR
/
$PRODUCT
add_requires
"/usr/bin/clapper"
install_file https://raw.githubusercontent.com/tsukinaha/tsukimi/main/resources/ui/icons/
$PRODUCT
.png /usr/share/pixmaps/
$PRODUCT
.png
install_file https://raw.githubusercontent.com/tsukinaha/tsukimi/main/moe.tsuna.tsukimi.gschema.xml /usr/share/glib-2.0/schemas/moe.tsuna.tsukimi.gschema.xml
...
...
@@ -20,8 +24,4 @@ Categories=AudioVideo;
StartupWMClass=moe.tsuna.tsukimi
EOF
# glib-compile-schemas /usr/share/glib-2.0/schemas/
add_requires
"/usr/bin/clapper"
add_libs_requires
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