Skip to content

Instantly share code, notes, and snippets.

@Kasama
Created May 3, 2017 04:12
Show Gist options
  • Save Kasama/1aeea4c39d33ea515a5cf7957053d131 to your computer and use it in GitHub Desktop.
Save Kasama/1aeea4c39d33ea515a5cf7957053d131 to your computer and use it in GitHub Desktop.
PKGBUILD for spotify tray application
# Maintainer: Roberto Alegro <robertoaall@gmail.com>
pkgname=spotify-tray
pkgver=1.0
pkgrel=1
pkgdesc="A Spotify wrapper that adds a tray icon to the application"
arch=('x86_64' 'i686')
url="https://github.com/Kasama/SpotifyTray"
license=('MIT')
depends=( 'spotify'
'python'
'python-pyqt4'
'xdotool'
'playerctl')
makedepends=('git')
provides=('spotify-tray')
source=("$pkgname::git+https://github.com/Kasama/SpotifyTray")
md5sums=('SKIP')
package() {
cd "${pkgname}"
install -D "${srcdir}/${pkgname}"/spotify-tray.py "${pkgdir}"/usr/bin/spotify-tray.py
install -D "${srcdir}/${pkgname}"/spotify-tray.desktop "${pkgdir}"/usr/share/applications/spotify-tray.desktop
}
@Kasama
Copy link
Author

Kasama commented May 3, 2017

Check out the main repository at github.com/pirataspinhal/SpotifyTray

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment