From dae0c30b6eb7473d03afe81acaf336e23a9a353a Mon Sep 17 00:00:00 2001 From: ThatGeekyWeeb Date: Fri, 24 Jul 2020 15:38:13 -0400 Subject: [PATCH] New Package: ncs-spot-0.2.0. --- srcpkgs/ncspot/files/LICENSE | 25 +++++++++++++++++++++++++ srcpkgs/ncspot/template | 18 ++++++++++++++++++ 2 files changed, 43 insertions(+) create mode 100644 srcpkgs/ncspot/files/LICENSE create mode 100644 srcpkgs/ncspot/template diff --git a/srcpkgs/ncspot/files/LICENSE b/srcpkgs/ncspot/files/LICENSE new file mode 100644 index 00000000000..1fc064f60ed --- /dev/null +++ b/srcpkgs/ncspot/files/LICENSE @@ -0,0 +1,25 @@ +BSD 2-Clause License + +Copyright (c) 2019, Henrik Friedrichsen +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/srcpkgs/ncspot/template b/srcpkgs/ncspot/template new file mode 100644 index 00000000000..cbbedec4ed6 --- /dev/null +++ b/srcpkgs/ncspot/template @@ -0,0 +1,18 @@ +# Template file for 'ncspot' +pkgname=ncspot +version=0.2.0 +revision=1 +wrksrc="ncspot-0.2.0" +build_style="cargo" +hostmakedepends="cargo" +makedepends="ncurses-devel dbus-devel xcb-util-renderutil-devel libxcb-devel libressl-devel pulseaudio-devel" +short_desc="Spotify client written in Rust using librespot and ncurses" +maintainer="ThatGeekyWeeb " +license="BSD-2-Clause" +homepage="https://github.com/hrkfdn/ncspot" +distfiles="https://github.com/hrkfdn/ncspot/archive/v${version}.tar.gz" +checksum="876553020e53b8bbf7dac1ddf18f69115d622b302506ce5dc1c3bac1b59ef39b" +pre_build() { + vlicense ${FILESDIR}/LICENSE "BSD-2-Clause" + cd ${wrksrc} +}