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