# Maintainer: Daniel M. Capella # Contributor: Sibren Vasse # Contributor: Preston Carpenter pkgname=spotify-adkiller-git pkgver=r155.1fa0ff9 pkgrel=1 pkgdesc='Your Party with Spotify - without ads!' arch=('any') url=https://github.com/SecUpwN/Spotify-AdKiller license=('GPL3') depends=('libnotify' 'pulseaudio' 'spotify' 'xdotool' 'xorg-xprop') makedepends=('git') provides=("${pkgname%-*}") conflicts=("${pkgname%-*}") source=("$url.git") sha512sums=('SKIP') pkgver() { cd ${pkgname%-*} printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } package() { cd ${pkgname%-*} install -Dm755 ${pkgname%-*}.sh "$pkgdir"/usr/bin/${pkgname%-*}.sh install -Dm755 spotify-wrapper.sh "$pkgdir"/usr/bin/spotify-wrapper.sh install -Dm644 'Spotify (AdKiller).desktop' "$pkgdir"/usr/share/applications/'Spotify (AdKiller).desktop' } # vim:set ts=2 sw=2 et: