# Maintainer: Andy Kluger # Upstream PKGBUILD (telegram-desktop in community repo): # Maintainer: Sven-Hendrik Haase # Contributor: hexchain _pkgname=telegram-desktop-userfonts pkgname=${_pkgname}-bin _ghrepo=andydecleyre/archbuilder_${_pkgname} pkgver=4.16.8 # match telegram-desktop-userfonts:pkgver _pkgrel=1 # match telegram-desktop-userfonts:pkgrel pkgrel=1 conflicts=('telegram-desktop') provides=('telegram-desktop') pkgdesc='Official Telegram Desktop client, with your fonts as set by fontconfig' arch=('x86_64') url="https://desktop.telegram.org/" license=('GPL3') options=('!debug') # depends match telegram-desktop-userfonts:depends depends=('hunspell' 'ffmpeg' 'hicolor-icon-theme' 'lz4' 'minizip' 'openal' 'qt6-imageformats' 'qt6-svg' 'qt6-wayland' 'xxhash' 'rnnoise' 'pipewire' 'libxtst' 'libxrandr' 'libxcomposite' 'libxdamage' 'abseil-cpp' 'libdispatch' 'openssl' 'protobuf' 'glib2' 'libsigc++-3.0' 'kcoreaddons') # optdepends match telegram-desktop-userfonts:optdepends optdepends=('webkit2gtk: embedded browser features' 'xdg-desktop-portal: desktop integration') source=("https://github.com/${_ghrepo}/releases/download/${pkgver}-${_pkgrel}/${_pkgname}-${pkgver}-${_pkgrel}-${arch}.pkg.tar.zst") # sha512sums match latest successful build at releases URL sha512sums=('2742a478dbc61a5920c17036706d894531326a445a548b1f7ec1c149248f3ec524822b8444425dc82b139091024e0a269f6cc7d49073a6d7c0287712ccfee4f4') package() { cp -a usr $pkgdir/ }