From 42e6b3f7df33c06c4e4a563e500ece1e218f539a Mon Sep 17 00:00:00 2001 From: wallenstein Date: Sun, 13 Oct 2024 15:38:10 +0300 Subject: [PATCH] Update srcpkgs/ayugram-desktop/template update --- srcpkgs/ayugram-desktop/template | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/srcpkgs/ayugram-desktop/template b/srcpkgs/ayugram-desktop/template index 7c36a68..d98d453 100644 --- a/srcpkgs/ayugram-desktop/template +++ b/srcpkgs/ayugram-desktop/template @@ -7,14 +7,13 @@ homepage="https://github.com/AyuGram/AyuGramDesktop" short_desc="AyuGram binary package" maintainer="Wallenstein " license="GPL-3.0-or-later" -#distfiles="https://ayugram.cringetech.net/ayugram-desktop-${version}" -#checksum="4840425c4f476cdf5a4558740fc0280297e365c7f02ad4dfd1feb2b79171b9cb" +distfiles="https://ayugram.cringetech.net/ayugram-desktop-${version}" +checksum="4840425c4f476cdf5a4558740fc0280297e365c7f02ad4dfd1feb2b79171b9cb" do_install() { - local url="https://ayugram.cringetech.net/ayugram-desktop-${version}" local binfile="${DESTDIR}/usr/bin/ayugram-desktop" - wget -O ${binfile} ${url} + cp ${XBPS_BUILDDIR}/ayugram-desktop-${version} ${binfile} chmod 755 ${binfile}