30 lines
818 B
Bash
30 lines
818 B
Bash
# 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
|
|
}
|