From e183793c7679b2cd9353a8fa09017e2d5c791023 Mon Sep 17 00:00:00 2001 From: "Andrew J. Hesford" Date: Tue, 1 Mar 2022 08:36:58 -0500 Subject: [PATCH] New package: ymuse-0.19 --- srcpkgs/ymuse/template | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 srcpkgs/ymuse/template diff --git a/srcpkgs/ymuse/template b/srcpkgs/ymuse/template new file mode 100644 index 00000000000..018e8e41602 --- /dev/null +++ b/srcpkgs/ymuse/template @@ -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 " +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 +}