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
a31ac847
Commit
a31ac847
authored
May 11, 2025
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm play: add pulsar
parent
eae9e701
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
54 additions
and
0 deletions
+54
-0
pulsar.sh
play.d/pulsar.sh
+28
-0
pulsar.sh
repack.d/pulsar.sh
+26
-0
No files found.
play.d/pulsar.sh
0 → 100755
View file @
a31ac847
#!/bin/sh
PKGNAME
=
pulsar
SUPPORTEDARCHES
=
"x86_64 aarch64"
VERSION
=
"
$2
"
DESCRIPTION
=
"A Community-led Hyper-Hackable Text Editor from the official site"
URL
=
"https://pulsar-edit.dev/"
.
$(
dirname
$0
)
/common.sh
if
[
"
$VERSION
"
=
"*"
]
;
then
VERSION
=
"
$(
get_github_tag https://github.com/pulsar-edit/pulsar/
)
"
fi
arch
=
$(
epm print info
-a
)
case
$arch
in
aarch64
)
PKGURL
=
"https://github.com/pulsar-edit/pulsar/releases/download/v
${
VERSION
}
/ARM.Linux.pulsar_
${
VERSION
}
_arm64.deb"
;;
x86_64
)
PKGURL
=
"https://github.com/pulsar-edit/pulsar/releases/download/v
${
VERSION
}
/Linux.pulsar_
${
VERSION
}
_amd64.deb"
;;
*
)
fatal
"Unsupported arch
$arch
"
;;
esac
install_pkgurl
repack.d/pulsar.sh
0 → 100755
View file @
a31ac847
#!/bin/sh -x
# It will be run with two args: buildroot spec
BUILDROOT
=
"
$1
"
SPEC
=
"
$2
"
PRODUCT
=
pulsar
PRODUCTDIR
=
/opt/Pulsar
.
$(
dirname
$0
)
/common-chromium-browser.sh
add_electron_deps
add_unirequires coreutils findutils
grep sed
/usr/bin/git /usr/bin/node /usr/bin/npm /usr/bin/npx util-linux which xprop python3
install_file
$PRODUCTDIR
/resources/pulsar.sh /usr/bin/
$PRODUCT
chmod
a+x
$BUILDROOT
/usr/bin/
$PRODUCT
add_bin_link_command ppm
$PRODUCTDIR
/resources/app/ppm/bin/apm
# replace embedded xdg-open
for
EMBDIR
in
$PRODUCTDIR
/resources/app/ppm/node_modules/open/xdg-open
;
do
echo
"Removing
$BUILDROOT$EMBDIR
..."
rm
$BUILDROOT$EMBDIR
ln
-s
/usr/bin/
$(
basename
$EMBDIR
)
$BUILDROOT$EMBDIR
done
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