Update srcpkgs/ayugram-desktop/template
update
This commit is contained in:
parent
682213bebb
commit
5d2f7e979c
1 changed files with 6 additions and 7 deletions
|
@ -7,19 +7,18 @@ homepage="https://github.com/AyuGram/AyuGramDesktop"
|
||||||
short_desc="AyuGram binary package"
|
short_desc="AyuGram binary package"
|
||||||
maintainer="Wallenstein <wallenstein@cringetech.net>"
|
maintainer="Wallenstein <wallenstein@cringetech.net>"
|
||||||
license="GPL-3.0-or-later"
|
license="GPL-3.0-or-later"
|
||||||
distfiles="https://ayugram.cringetech.net/"
|
distfiles="https://ayugram.cringetech.net/ayugram-desktop-${version}"
|
||||||
checksum="4840425c4f476cdf5a4558740fc0280297e365c7f02ad4dfd1feb2b79171b9cb"
|
checksum="4840425c4f476cdf5a4558740fc0280297e365c7f02ad4dfd1feb2b79171b9cb"
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
# Распакуйте архив
|
local url="https://ayugram.cringetech.net/ayugram-desktop-${version}"
|
||||||
wget ${XBPS_SRCDISTDIR}/ayugram-desktop-${version} -O ${DESTDIR}/usr/bin/ayugram-desktop
|
local binfile="${DESTDIR}/usr/bin/ayugram-desktop"
|
||||||
|
|
||||||
# Установка прав на исполняемый файл
|
wget -O ${binfile} ${url}
|
||||||
chmod 755 ${DESTDIR}/usr/bin/ayugram-desktop
|
|
||||||
|
chmod 755 ${binfile}
|
||||||
|
|
||||||
# Создание .desktop файла
|
|
||||||
vinstall ayugram.desktop 644 usr/share/applications
|
vinstall ayugram.desktop 644 usr/share/applications
|
||||||
|
|
||||||
# Копирование иконки
|
|
||||||
install -Dm644 ${FILESDIR}/ayuchan.png ${DESTDIR}/usr/share/icons/hicolor/256x256/apps/ayuchan.png
|
install -Dm644 ${FILESDIR}/ayuchan.png ${DESTDIR}/usr/share/icons/hicolor/256x256/apps/ayuchan.png
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue