Update srcpkgs/ayugram-desktop/template

update
This commit is contained in:
Wallenstein 2024-10-13 15:38:10 +03:00
parent 597f2a61da
commit 42e6b3f7df

View file

@ -7,14 +7,13 @@ homepage="https://github.com/AyuGram/AyuGramDesktop"
short_desc="AyuGram binary package"
maintainer="Wallenstein <wallenstein@cringetech.net>"
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}