gendesk: update to 1.0.10.

This commit is contained in:
Roger Freitas Pereira 2024-08-22 03:56:30 -03:00 committed by classabbyamp
parent fc299ef27a
commit a6fc6fc13d

View File

@ -1,25 +1,25 @@
# Template file for 'gendesk' # Template file for 'gendesk'
pkgname=gendesk pkgname=gendesk
version=1.0.9 version=1.0.10
revision=4 revision=1
build_style=go build_style=go
go_import_path=github.com/xyproto/gendesk go_import_path=github.com/xyproto/gendesk
short_desc="Utility to generate .desktop files and download icons" short_desc="Utility to generate .desktop files and download icons"
maintainer="Benjamín Albiñana <benalb@gmail.com>" maintainer="Benjamín Albiñana <benalb@gmail.com>"
license="MIT" license="BSD-3-Clause"
homepage="https://roboticoverlords.org/gendesk/" homepage="https://gendesk.roboticoverlords.org/"
distfiles="https://github.com/xyproto/gendesk/archive/${version}.tar.gz distfiles="https://github.com/xyproto/gendesk/archive/v${version}.tar.gz
https://roboticoverlords.org/images/default.png" https://roboticoverlords.org/images/${pkgname}.png"
checksum="dd0008512eebc893e4b630d07d9bf5e3a4f121b87fe725c32773caa6e391db58 checksum="a9e7a6d7be514f829ebf86d9764d37436539f29d0b8a03a31d8386f9be604fdb
4d96eded48e536d02e35727c36dc20844c2e44654e81baf78e10aee4eb48e837" 4d96eded48e536d02e35727c36dc20844c2e44654e81baf78e10aee4eb48e837"
skip_extraction="default.png" skip_extraction="${pkgname}.png"
pre_build() { pre_build() {
vsed -e 's|gendesk|github.com/xyproto/gendesk|' -i go.mod vsed -e 's|gendesk|github.com/xyproto/gendesk|' -i go.mod
} }
post_install() { post_install() {
vinstall ${XBPS_SRCDISTDIR}/${pkgname}-${version}/default.png 644 usr/share/pixmaps vinstall ${XBPS_SRCDISTDIR}/${pkgname}-${version}/${pkgname}.png 644 usr/share/pixmaps
vman ${pkgname}.1 vman ${pkgname}.1
vlicense LICENSE vlicense LICENSE
} }