30 lines
828 B
Bash
30 lines
828 B
Bash
# Template file for 'ymuse'
|
|
pkgname=ymuse
|
|
version=0.21
|
|
revision=2
|
|
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=47aeee4bbea2121691288b7c3849d6d2db02c0be7f44989a022082f5dd6b5c42
|
|
|
|
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
|
|
}
|