pkgname: spotify pkgver: '1.2.63.394' pkgrel: '1' pkgdesc: A proprietary music streaming service url: 'https://www.spotify.com' arch: x86_64 depends: - alsa-lib - gtk3 - desktop-file-utils - openssl - nss - at-spi2-core - xorg-libsm - xorg-libxscrnsaver - gnutls - hicolor-icon-theme - gtk-update-icon-cache - shared-mime-info - libayatana-appindicator makedepends: [] source: - 'https://curl.haxx.se/download/curl-8.13.0.tar.gz' - 'http://repository.spotify.com/pool/non-free/s/spotify-client/spotify-client_${pkgver}.g126b0d89_amd64.deb' sha256sums: - c261a4db579b289a7501565497658bbd52d3138fdbaccf1490fa918129ab45bc - SKIP build: | bsdtar -xf *.deb cd curl-8.13.0 ./configure --with-gnutls make -C lib bsdtar -xf data.tar.gz -C ${PKGDIR} package: | sed -i 's/^Exec=.*/Exec=spotify --uri=%U/' ${PKGDIR}/usr/share/spotify/spotify.desktop mkdir -p ${PKGDIR}/usr/share/applications mv ${PKGDIR}/usr/share/spotify/spotify.desktop \ ${PKGDIR}/usr/share/applications for size in 22 24 32 48 64 128 256 512 do install -D ${PKGDIR}/usr/share/spotify/icons/spotify-linux-$size.png \ ${PKGDIR}/usr/share/icons/hicolor/${size}x${size}/apps/spotify-client.png done install -D ./curl-8.13.0/lib/.libs/libcurl.so.4.8.0 \ ${PKGDIR}/usr/share/spotify/libcurl-gnutls.so.4 mkdir -p ${PKGDIR}/usr/share/kservices5 echo > ${PKGDIR}/usr/share/kservices5/spotify.protocol << "EOF" [Protocol] exec=/usr/bin/spotify -uri "%u" protocol=spotify input=none output=none helper=true listing=false reading=false writing=false makedir=false deleting=false EOF