diff --git a/srcpkgs/ayugram-desktop/template b/srcpkgs/ayugram-desktop/template index e9cd4cd..bd3a23e 100644 --- a/srcpkgs/ayugram-desktop/template +++ b/srcpkgs/ayugram-desktop/template @@ -7,19 +7,18 @@ homepage="https://github.com/AyuGram/AyuGramDesktop" short_desc="AyuGram binary package" maintainer="Wallenstein " license="GPL-3.0-or-later" -distfiles="https://ayugram.cringetech.net/" +distfiles="https://ayugram.cringetech.net/ayugram-desktop-${version}" checksum="4840425c4f476cdf5a4558740fc0280297e365c7f02ad4dfd1feb2b79171b9cb" do_install() { - # Распакуйте архив - wget ${XBPS_SRCDISTDIR}/ayugram-desktop-${version} -O ${DESTDIR}/usr/bin/ayugram-desktop + local url="https://ayugram.cringetech.net/ayugram-desktop-${version}" + local binfile="${DESTDIR}/usr/bin/ayugram-desktop" - # Установка прав на исполняемый файл - chmod 755 ${DESTDIR}/usr/bin/ayugram-desktop + wget -O ${binfile} ${url} + + chmod 755 ${binfile} - # Создание .desktop файла vinstall ayugram.desktop 644 usr/share/applications - # Копирование иконки install -Dm644 ${FILESDIR}/ayuchan.png ${DESTDIR}/usr/share/icons/hicolor/256x256/apps/ayuchan.png }