void-packages/srcpkgs/ymuse/template

30 lines
828 B
Bash

# Template file for 'ymuse'
pkgname=ymuse
version=0.22
revision=1
build_style=go
go_import_path=github.com/yktoo/ymuse
hostmakedepends="pkg-config gettext"
makedepends="gtk+3-devel gdk-pixbuf-devel glib-devel"
short_desc="GTK client for Music Player Daemon, written in Go"
maintainer="Andrew J. Hesford <ajh@sideband.org>"
license="Apache-2.0"
homepage="https://yktoo.com/en/software/ymuse/"
distfiles="https://github.com/yktoo/ymuse/archive/v${version}.tar.gz"
checksum=82c0850bbe7e2d9ce227284e167e091c497fffc9f5b80f84132305a4f360ec32
pre_build() {
go generate
}
post_install() {
vmkdir usr/share/icons
vcopy "resources/icons/*" usr/share/icons
vmkdir usr/share/locale
vcopy "resources/i18n/generated/*" usr/share/locale
vmkdir usr/share/applications
vcopy resources/com.yktoo.ymuse.desktop usr/share/applications
}