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
b9a7c9ba
Commit
b9a7c9ba
authored
Apr 03, 2024
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm pack 64Gram: move icons/desktop from repack rules
parent
4af19997
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
24 deletions
+26
-24
64Gram.sh
pack.d/64Gram.sh
+26
-1
64Gram.sh
repack.d/64Gram.sh
+0
-23
No files found.
pack.d/64Gram.sh
View file @
b9a7c9ba
...
...
@@ -16,7 +16,32 @@ f=$FPRODUCT
[
-f
"
$(
echo
*
/
$FPRODUCT
)
"
]
&&
f
=
"
$(
echo
*
/
$FPRODUCT
)
"
install
-D
-m755
$f
opt/
$PRODUCT
/
$PRODUCT
||
fatal
erc pack
$PKGNAME
.tar opt/
$PRODUCT
# Icons
iconname
=
$PRODUCT
url
=
https://github.com/TDesktop-x64/tdesktop
for
i
in
16 32 48 64 128 256 512
;
do
install_file
$url
/raw/master/Telegram/Resources/art/icon
$i
.png /usr/share/icons/hicolor/
${
i
}
x
${
i
}
/apps/
$iconname
.png
done
cat
<<
EOF
| create_file /usr/share/applications/
$PRODUCT
.desktop
[Desktop Entry]
Version=1.0
Name=64Gram
Comment=64Gram (unofficial Telegram Desktop)
Exec=
$PRODUCT
-- %u
Icon=
$iconname
StartupWMClass=64Gram
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/
$PRODUCT
usr
cat
<<
EOF
>
$PKGNAME
.tar.eepm.yaml
name:
$PRODUCT
...
...
repack.d/64Gram.sh
View file @
b9a7c9ba
...
...
@@ -14,31 +14,9 @@ PRODUCTDIR=/opt/$PRODUCT
add_bin_link_command
add_bin_link_command
$PRODUCTCUR
$PRODUCT
# Icons
iconname
=
$PRODUCT
url
=
https://github.com/TDesktop-x64/tdesktop
for
i
in
16 32 48 64 128 256 512
;
do
install_file
$url
/raw/master/Telegram/Resources/art/icon
$i
.png /usr/share/icons/hicolor/
${
i
}
x
${
i
}
/apps/
$iconname
.png
done
echo
"
$PRODUCTDIR
/
$PRODUCT
"
| create_file /usr/share/64Gram/externalupdater.d/telegram-desktop.conf
# TODO: tg.protocol
# https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=telegram-desktop-bin
cat
<<
EOF
| create_file /usr/share/applications/
$PRODUCT
.desktop
[Desktop Entry]
Version=1.0
Name=64Gram
Comment=64Gram (unofficial Telegram Desktop)
Exec=
$PRODUCT
-- %u
Icon=
$iconname
StartupWMClass=64Gram
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
add_libs_requires
\ No newline at end of file
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