summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorEdu4rdSHL2022-03-04 10:10:09 -0500
committerEdu4rdSHL2022-03-04 10:10:09 -0500
commit0b465f30e88564047c6053c80f220da5a301ae7c (patch)
treed7bbdbabb4a32a9968a8240a3dfa84761a227c3f
parent3e77767787194140ed00cbab6d4daf42749d36a4 (diff)
downloadaur-0b465f30e88564047c6053c80f220da5a301ae7c.tar.gz
Bump package.
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD5
2 files changed, 5 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 783a1c2aba0b..8a1a0e941892 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = spotify-snap
pkgdesc = A proprietary music streaming service.
pkgver = 1.1.80.699
- pkgrel = 1
+ pkgrel = 2
url = https://www.spotify.com
arch = x86_64
license = custom
diff --git a/PKGBUILD b/PKGBUILD
index be5c1f93d478..a7f53dd812ca 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@
pkgname=spotify-snap
pkgver=1.1.80.699
_commit=gc3dac750
-pkgrel=1
+pkgrel=2
pkgdesc='A proprietary music streaming service.'
arch=('x86_64')
license=('custom')
@@ -32,6 +32,9 @@ package() {
# Enable spotify to open URLs from the webapp
sed -i 's/^Exec=.*/Exec=spotify --uri=%U/' "${pkgdir}"/usr/share/spotify/spotify.desktop
+ # Use the correct icon path
+ sed 's/^Icon=.*/Icon=\/usr\/share\/pixmaps\/spotify-client.png/' /opt/spotify/spotify.desktop
+
install -Dm644 "${pkgdir}"/usr/share/spotify/spotify.desktop "${pkgdir}"/usr/share/applications/spotify.desktop
install -Dm644 "${pkgdir}"/usr/share/spotify/icons/spotify-linux-512.png "${pkgdir}"/usr/share/pixmaps/spotify-client.png