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
34df8a4d
Commit
34df8a4d
authored
Jul 07, 2024
by
Valentin Pechenov
Committed by
Vitaly Lipatov
Jul 11, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm play: add ayugram
parent
7e396bf4
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
84 additions
and
0 deletions
+84
-0
ayugram.sh
pack.d/ayugram.sh
+53
-0
ayugram.sh
play.d/ayugram.sh
+13
-0
ayugram.sh
repack.d/ayugram.sh
+18
-0
No files found.
pack.d/ayugram.sh
0 → 100755
View file @
34df8a4d
#!/bin/sh
TAR
=
"
$1
"
RETURNTARNAME
=
"
$2
"
#VERSION="$3"
.
$(
dirname
$0
)
/common.sh
PKGNAME
=
"
$(
basename
$TAR
|
awk
'{print tolower($0)}'
)
"
mkdir
-p
opt/
$PRODUCT
mv
$TAR
opt/
$PRODUCT
/
||
fatal
mv
opt/
$PRODUCT
/
$(
basename
$TAR
)
opt/
$PRODUCT
/
$PRODUCT
chmod
0755 opt/
$PRODUCT
/
$PRODUCT
#IPFS_ICONS_URL="ipfs://QmWYv5mMrvpbN9YWpJ2MuK9rEu6crJBP8YvDp1SKxhqLWP?filename=telegram-icons.tar"
#if eget $IPFS_ICONS_URL && erc telegram-icons.tar ; then
# iconpath=telegram-icons
#else
iconpath
=
https://github.com/AyuGram/AyuGramDesktop/raw/dev/Telegram/Resources/art
#fi
iconname
=
$PRODUCT
for
i
in
16 32 48 64 128 256 512
;
do
install_file
$iconpath
/icon
$i
.png /usr/share/icons/hicolor/
${
i
}
x
${
i
}
/apps/
$iconname
.png
done
cat
<<
EOF
| create_file /usr/share/applications/ayugram.desktop.desktop
[Desktop Entry]
Version=1.0
Name=AyuGram Desktop
Comment=Desktop Telegram client with good customization and Ghost mode
Exec=
$PRODUCT
-- %u
Icon=
$iconname
StartupWMClass=AyuGram
Type=Application
Categories=Chat;Network;InstantMessaging;Qt;
MimeType=x-scheme-handler/tg;
Keywords=tg;chat;im;messaging;messenger;sms;tdesktop;
X-GNOME-UsesNotifications=true
EOF
erc pack
$PKGNAME
.tar opt usr
cat
<<
EOF
>
$PKGNAME
.tar.eepm.yaml
name:
$PRODUCT
group: Networking/Instant messaging
license: GPLv3
url: https://github.com/AyuGram/AyuGramDesktop
summary: Unofficial Telegram Client
description: Unofficial Telegram Client
EOF
return_tar
$PKGNAME
.tar
play.d/ayugram.sh
0 → 100755
View file @
34df8a4d
#!/bin/sh
PKGNAME
=
ayugram
SUPPORTEDARCHES
=
"x86_64"
VERSION
=
"
$2
"
DESCRIPTION
=
"Desktop Telegram client with good customization and Ghost mode"
URL
=
"https://github.com/AyuGram/AyuGramDesktop"
.
$(
dirname
$0
)
/common.sh
PKGURL
=
$(
eget
--list
--latest
https://github.com/nevazno00/AyuGramDesktop-Linux-Binary/releases
"AyuGram-
$VERSION
"
)
install_pack_pkgurl
repack.d/ayugram.sh
0 → 100755
View file @
34df8a4d
#!/bin/sh -x
# It will be run with two args: buildroot spec
BUILDROOT
=
"
$1
"
SPEC
=
"
$2
"
PRODUCT
=
ayugram
PRODUCTCUR
=
AyuGram
PRODUCTDIR
=
/opt/
$PRODUCT
.
$(
dirname
$0
)
/common.sh
# /usr/bin/AyuGram
add_bin_link_command
$PRODUCT
$PRODUCTDIR
/
$PRODUCT
add_bin_link_command
$PRODUCTCUR
$PRODUCT
add_libs_requires
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