🔒 Repository is read-only – file editing is disabled.
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
pkgname: telegram-desktop
pkgver: '7.1.1'
pkgrel: 1
pkgdesc: Messaging app with a focus on speed and security, it’s super-fast, simple and free.
url: 'https://telegram.org/'
arch: x86_64
depends:
- gtk-update-icon-cache
- shared-mime-info
- hicolor-icon-theme
- desktop-file-utils
makedepends:
- xorg-libdrm
- xorg-libice
- xorg-libsm
- xorg-fontconfig
- freetype
- libxcb
- xorg-libx11
- glib
- dbus
- libpng
- expat
- xorg-libxau
- xorg-libxdmcp
- chrpath
source:
- 'https://updates.tdesktop.com/tlinux/tsetup.${pkgver}.tar.xz'
- tg.protocol
- 'https://github.com/telegramdesktop/tdesktop/raw/master/Telegram/Resources/art/icon16.png'
- 'https://github.com/telegramdesktop/tdesktop/raw/master/Telegram/Resources/art/icon32.png'
- 'https://github.com/telegramdesktop/tdesktop/raw/master/Telegram/Resources/art/icon48.png'
- 'https://github.com/telegramdesktop/tdesktop/raw/master/Telegram/Resources/art/icon64.png'
- 'https://github.com/telegramdesktop/tdesktop/raw/master/Telegram/Resources/art/icon128.png'
- 'https://github.com/telegramdesktop/tdesktop/raw/master/Telegram/Resources/art/icon256.png'
- 'https://github.com/telegramdesktop/tdesktop/raw/master/Telegram/Resources/art/icon512.png'
- telegram-desktop.desktop
sha256sums:
- e8bb8dff8f31d3ecebe026045768b3afa480835cfe21f05b045fc15c6898bd2e
- SKIP
- SKIP
- SKIP
- SKIP
- SKIP
- SKIP
- SKIP
- SKIP
- SKIP
build: "# Creating needed directories\ninstall -dm755 \"${PKGDIR}/usr/bin\"\ninstall -dm755 \"${PKGDIR}/usr/share/pixmaps/\"\
\ninstall -dm755 \"${PKGDIR}/usr/share/applications/\"\n\n# Program\ninstall -Dm755 Telegram/Telegram \"${PKGDIR}/usr/bin/telegram-desktop\"\
\n\n# Remove RPATH informations\nchrpath --delete \"${PKGDIR}/usr/bin/telegram-desktop\"\n\n# Desktop launcher\ninstall\
\ -Dm644 icon256.png \"${PKGDIR}/usr/share/pixmaps/telegram.png\"\ninstall -Dm644 ${pkgname}.desktop \"${PKGDIR}/usr/share/applications/telegramdesktop.desktop\"\
\n\n\n# Icons\nlocal icon_size icon_dir\nfor icon_size in 16 32 48 64 128 256 512; do\n\ticon_dir=\"${PKGDIR}/usr/share/icons/hicolor/${icon_size}x${icon_size}/apps\"\
\n\tinstall -d \"$icon_dir\"\n\tinstall -m644 \"./icon${icon_size}.png\" \"$icon_dir/telegram.png\"\ndone\n"
package: |
true