New package: ymuse-0.19

This commit is contained in:
Andrew J. Hesford 2022-03-01 08:36:58 -05:00 committed by Andrew J. Hesford
parent 518c09ab12
commit e183793c76
1 changed files with 29 additions and 0 deletions

29
srcpkgs/ymuse/template Normal file
View File

@ -0,0 +1,29 @@
# Template file for 'ymuse'
pkgname=ymuse
version=0.19
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=c2cfb5387c919d4b2d296d677965f2e251a426bfe3ed7d020ad91d0bdbb2b5a7
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/ymuse.desktop usr/share/applications
}