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