From a2d60fd884a624d91114d68454886a221ee81ac4 Mon Sep 17 00:00:00 2001 From: wael <40663@protonmail.com> Date: Fri, 27 May 2022 16:42:03 +0300 Subject: [PATCH] New package: spicetify-cli-2.9.9 --- srcpkgs/spicetify-cli/template | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 srcpkgs/spicetify-cli/template diff --git a/srcpkgs/spicetify-cli/template b/srcpkgs/spicetify-cli/template new file mode 100644 index 000000000000..09710767657f --- /dev/null +++ b/srcpkgs/spicetify-cli/template @@ -0,0 +1,22 @@ +# Template file for 'spicetify-cli' +pkgname=spicetify-cli +version=2.10.1 +revision=1 +archs="x86_64" +build_style=go +go_import_path=github.com/spicetify/spicetify-cli +go_ldflags=" -X main.version=${version}" +short_desc="Command-line tool to customize Spotify client" +maintainer="wael <40663@protonmail.com>" +license="LGPL-2.1-only" +homepage="https://spicetify.app/" +distfiles="https://github.com/spicetify/$pkgname/archive/refs/tags/v${version}.tar.gz" +checksum=4cd51e9decd187e15cc61c601f502b99e2ec657eea67a4168e75ddcdc2db1c8d + +do_install() { + vmkdir usr/share + vbin ${GOPATH}/bin/spicetify-cli spicetify + for cp in Themes Extensions CustomApps jsHelper globals.d.ts css-map.json; do + vcopy $cp usr/share/spicetify + done +}