spotify: don't manually extract deb

This commit is contained in:
classabbyamp 2022-11-11 02:38:03 -05:00 committed by classabbyamp
parent 3b8a8a7e9a
commit 92de98c979

View File

@ -2,18 +2,15 @@
pkgname=spotify
version=1.1.84
revision=2
_ver="${version}.716.gc5f8b819_amd64"
_filename="spotify-client_${_ver}.deb"
archs="x86_64"
create_wrksrc=yes
build_style=fetch
hostmakedepends="curl w3m libcurl"
depends="libcurl"
short_desc="Proprietary music streaming client"
maintainer="Stefan Mühlinghaus <jazzman@alphabreed.com>"
license="custom:Proprietary"
homepage="https://www.spotify.com"
distfiles="http://repository.spotify.com/pool/non-free/s/spotify-client/${_filename}"
distfiles="http://repository.spotify.com/pool/non-free/s/spotify-client/spotify-client_${version}.716.gc5f8b819_amd64.deb"
checksum=08e6b2666dc2a39624890e553a3046d05ecebe17bcc2fe930d49314b2fb812c7
_license_checksum=4465d0bba5deb87866184b04ba76604cd93561c0dc9cd21cacdf5b0295bdae3a
repository=nonfree
@ -31,11 +28,6 @@ post_extract() {
fi
}
do_build() {
ar x "${_filename}"
bsdtar -xf data.tar.gz
}
do_install() {
vbin "${FILESDIR}/spotify"