summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexandre Macabies2017-10-23 19:07:22 +0200
committerAlexandre Macabies2017-10-23 19:08:31 +0200
commit1d6712789ae61831e946177bcf70ff1566558d3c (patch)
tree324410bb3e3d890af3a838716b5acc0450763e47
downloadaur-spotify-web-shortcut.tar.gz
Initial commit
-rw-r--r--.SRCINFO17
-rw-r--r--.gitignore3
-rw-r--r--PKGBUILD21
-rw-r--r--spotify-web.desktop8
-rw-r--r--spotify-web.pngbin0 -> 8853 bytes
5 files changed, 49 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 000000000000..a1ba15458406
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+# Generated by mksrcinfo v8
+# Mon Oct 23 17:06:40 UTC 2017
+pkgbase = spotify-web-shortcut
+ pkgdesc = Desktop shortcut for Spotify Web application
+ pkgver = 1.0.0
+ pkgrel = 1
+ arch = any
+ license = MIT
+ depends = chromium
+ options = !strip
+ source = spotify-web.desktop
+ source = spotify-web.png
+ md5sums = 1c563c1061785c99b4a7a1b04457c35d
+ md5sums = 73b5b5660e6dd4e8a465186248f9b70d
+
+pkgname = spotify-web-shortcut
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 000000000000..7caf235b600e
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+*.tar.xz
+src/
+pkg/
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 000000000000..7d5d103c8f82
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,21 @@
+# Maintainer: Alexandre Macabies <web+oss@zopieux.com>
+pkgname=spotify-web-shortcut
+pkgver=1.0.0
+pkgrel=1
+pkgdesc="Desktop shortcut for Spotify Web application"
+arch=('any')
+license=('MIT')
+depends=('chromium')
+source=('spotify-web.desktop'
+ 'spotify-web.png')
+md5sums=('1c563c1061785c99b4a7a1b04457c35d'
+ '73b5b5660e6dd4e8a465186248f9b70d')
+options=(!strip)
+
+package() {
+ cd "$srcdir"
+ install -d "${pkgdir}/usr/share/applications"
+ install -d "${pkgdir}/usr/share/pixmaps"
+ install -m644 "${srcdir}/spotify-web.desktop" "${pkgdir}/usr/share/applications/spotify-web.desktop"
+ install -m644 "${srcdir}/spotify-web.png" "${pkgdir}/usr/share/pixmaps/spotify-web.png"
+}
diff --git a/spotify-web.desktop b/spotify-web.desktop
new file mode 100644
index 000000000000..0274f1a1f54a
--- /dev/null
+++ b/spotify-web.desktop
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Name=Spotify Web
+Comment=Open open.spotify.com in app-mode chromium
+Exec=chromium --app="https://open.spotify.com/"
+Icon=spotify-web
+Type=Application
+Terminal=False
+Categories=Audio;Player;Music;Network;
diff --git a/spotify-web.png b/spotify-web.png
new file mode 100644
index 000000000000..e8aab702cec3
--- /dev/null
+++ b/spotify-web.png
Binary files differ