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
Vladislav
eepm
Commits
2cad885f
Commit
2cad885f
authored
1 year ago
by
Mikhail Tergoev
Committed by
Vitaly Lipatov
1 year ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm play far2l-portable: move to AppImage
parent
91021dca
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
62 deletions
+14
-62
far2l-portable.sh
pack.d/far2l-portable.sh
+9
-26
far2l-portable.sh
play.d/far2l-portable.sh
+5
-16
far2l-portable.sh
repack.d/far2l-portable.sh
+0
-20
No files found.
pack.d/far2l-portable.sh
View file @
2cad885f
...
@@ -2,33 +2,16 @@
...
@@ -2,33 +2,16 @@
TAR
=
"
$1
"
TAR
=
"
$1
"
RETURNTARNAME
=
"
$2
"
RETURNTARNAME
=
"
$2
"
VERSION
=
"
$3
"
# PRODUCT="far2l"
PRODUCTCUR
=
far2l
.
$(
dirname
$0
)
/common.sh
.
$(
dirname
$0
)
/common.sh
[
-n
"
$VERSION
"
]
||
fatal
"Missed archive version"
erc
$TAR
||
fatal
PKGNAME
=
"
$(
ls
|
grep
-e
"_x86_64.AppImage$"
)
"
PKGNAME
=
$PRODUCT
-
$VERSION
.tar
if
echo
"
$TAR
"
|
grep
-q
"far2l_portable.*.tar.gz"
;
then
erc
$TAR
||
fatal
RUNFILE
=
"
$(
echo
far2l
*
.run
)
"
elif
echo
"
$TAR
"
|
grep
-q
"far2l_portable.*.run"
;
then
RUNFILE
=
"
$TAR
"
fi
[
-s
"
$RUNFILE
"
]
||
fatal
"Missed
$RUNFILE
"
mkdir
-p
opt/
$PRODUCT
/
sh
$RUNFILE
--nox11
--noexec
--target
opt/
$PRODUCT
||
fatal
#mkdir -p $tdir/usr/bin/
#ln -s /opt/$PRODUCT/$PRODUCTCUR $tdir/usr/bin/$PRODUCTCUR
#erc pack $PKGNAME opt/$PRODUCT usr/bin/ || fatal
erc pack
$PKGNAME
opt/
$PRODUCT
||
fatal
return_tar
"
$PKGNAME
"
return_tar
"
$PKGNAME
"
# TODO: return original version from generic-appimage.sh
# VERSION="$(basename "$PKGNAME" .AppImage | awk -F_ '{print $2}')"
# [ -n "$VERSION" ] || fatal "Can't get version $TAR."
# mv "$PKGNAME" "$PRODUCT-$VERSION.AppImage"
# return_tar "$PRODUCT-$VERSION.AppImage"
This diff is collapsed.
Click to expand it.
play.d/far2l-portable.sh
View file @
2cad885f
#!/bin/sh
#!/bin/sh
PKGNAME
=
far2l-portable
PKGNAME
=
"far2l-portable"
SUPPORTEDARCHES
=
"x86_64
x86 aarch64
"
SUPPORTEDARCHES
=
"x86_64"
DESCRIPTION
=
"FAR2L Portable from the official site"
DESCRIPTION
=
"FAR2L Portable from the official site"
.
$(
dirname
$0
)
/common.sh
.
$(
dirname
$0
)
/common.sh
arch
=
$(
epm print info
-a
)
PKGURL
=
$(
epm tool eget
--list
--latest
https://github.com/spvkgn/far2l-portable/releases
"far2l_x86_64.AppImage.tar"
)
case
$arch
in
[
-n
"
$PKGURL
"
]
||
fatal
"Can't get package URL"
x86_64
)
arch
=
"amd64"
;;
x86
)
arch
=
"i386"
;;
aarch64
)
arch
=
$arch
;;
*
)
fatal
"Unsupported arch
$arch
for
$(
epm print info
-d
)
"
esac
VERSION
=
"2.4"
epm
--install
pack
$PKGNAME
"
$PKGURL
"
PKGURL
=
"https://github.com/unxed/far2l-deb/raw/master/portable/far2l_portable_
$arch
.tar.gz"
epm pack
--install
$PKGNAME
"
$PKGURL
"
"
$VERSION
"
This diff is collapsed.
Click to expand it.
repack.d/far2l-portable.sh
deleted
100755 → 0
View file @
91021dca
#!/bin/sh -x
# It will be run with two args: buildroot spec
BUILDROOT
=
"
$1
"
SPEC
=
"
$2
"
PRODUCT
=
far2l
PRODUCTDIR
=
/opt/far2l-portable
.
$(
dirname
$0
)
/common.sh
subst
"s|^Group:.*|Group: File tools|"
$SPEC
#subst "s|^License: unknown$|License: GPLv2|" $SPEC
subst
"s|^URL:.*|URL: https://github.com/elfmz/far2l|"
$SPEC
subst
"s|^Summary:.*|Summary: Linux port of FAR v2|"
$SPEC
subst
'1iConflicts: far2l'
$SPEC
add_bin_cdexec_command
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