diff options
author | BryanLiang | 2023-11-20 10:31:58 +0800 |
---|---|---|
committer | BryanLiang | 2023-11-20 10:31:58 +0800 |
commit | 8bcb8470d14223ebbb203c700f9acc9fa05d362f (patch) | |
tree | e15e776932eadf41c05737ea53a6c53a11ae33e5 | |
parent | a62dc6679423d09bb9aa75f26a5f22ca19bcbefd (diff) | |
download | aur-8bcb8470d14223ebbb203c700f9acc9fa05d362f.tar.gz |
Add LICENSE file
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 6 |
2 files changed, 8 insertions, 2 deletions
@@ -1,7 +1,7 @@ pkgbase = spotifox-bin pkgdesc = Spotifox is yet another spotify CLI client similar to go-musicfox. (Precompiled version) pkgver = 1.0.2 - pkgrel = 2 + pkgrel = 3 url = https://github.com/go-musicfox/spotifox arch = x86_64 arch = aarch64 @@ -10,6 +10,8 @@ pkgbase = spotifox-bin depends = glibc depends = alsa-lib conflicts = spotifox + source = https://raw.githubusercontent.com/go-musicfox/spotifox/master/LICENSE + sha256sums = 20535828272932407c2f5172aeb714ac7b374a34e5ecb1825af509f2902cde54 source_x86_64 = https://github.com/go-musicfox/spotifox/releases/download/v1.0.2/spotifox_1.0.2_linux_amd64.zip sha256sums_x86_64 = 23d3b1c97ce0407c7975b5bd5e8917e90486f52b50aa0b9c602658b6ea0fbba0 source_aarch64 = https://github.com/go-musicfox/spotifox/releases/download/v1.0.2/spotifox_1.0.2_linux_arm64.zip @@ -2,7 +2,7 @@ pkgname=spotifox-bin pkgver=1.0.2 -pkgrel=2 +pkgrel=3 pkgdesc='Spotifox is yet another spotify CLI client similar to go-musicfox. (Precompiled version)' arch=('x86_64' 'aarch64' 'armv7h') url='https://github.com/go-musicfox/spotifox' @@ -11,10 +11,12 @@ conflicts=('spotifox') depends=('glibc' 'alsa-lib') +source=('https://raw.githubusercontent.com/go-musicfox/spotifox/master/LICENSE') source_x86_64=("${url}/releases/download/v${pkgver}/spotifox_${pkgver}_linux_amd64.zip") source_aarch64=("${url}/releases/download/v${pkgver}/spotifox_${pkgver}_linux_arm64.zip") source_armv7h=("${url}/releases/download/v${pkgver}/spotifox_${pkgver}_linux_arm.zip") +sha256sums=('20535828272932407c2f5172aeb714ac7b374a34e5ecb1825af509f2902cde54') sha256sums_x86_64=('23d3b1c97ce0407c7975b5bd5e8917e90486f52b50aa0b9c602658b6ea0fbba0') sha256sums_aarch64=('062cfb2f7d6c14458fe08e9a5ac32b4041d021835ee313c41836fb0f1fd306cc') sha256sums_armv7h=('5c15d13f3f75a72f9db3a815bac68b80379cf0917e86ecf411b7ea345fcf3461') @@ -30,4 +32,6 @@ _arch="${_archmap[${CARCH}]}" package() { cd "${srcdir}/spotifox_${pkgver}_linux_${_arch}" install -Dm 755 spotifox -t "${pkgdir}/usr/bin/" + cd .. + install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/spotifox" } |