diff options
author | Thomas Jost | 2015-07-15 12:01:13 +0200 |
---|---|---|
committer | Thomas Jost | 2015-07-15 12:01:13 +0200 |
commit | 7ff43ee2d7726c335fefca6cc297bdf8d7ff74dc (patch) | |
tree | d52eabaae3bcb6a11f531f3981e06e518071345e | |
parent | 1634ef27e939484cf89f44085d86619e6224ee68 (diff) | |
download | aur-7ff43ee2d7726c335fefca6cc297bdf8d7ff74dc.tar.gz |
Fix dependencies
-rw-r--r-- | .SRCINFO | 11 | ||||
-rw-r--r-- | PKGBUILD | 32 |
2 files changed, 30 insertions, 13 deletions
@@ -1,6 +1,6 @@ pkgbase = spop-git pkgdesc = A Spotify client running as a daemon, similar to mpd. - pkgver = 327.3890ab3 + pkgver = r328.1a26dec pkgrel = 1 url = https://github.com/Schnouki/spop arch = i686 @@ -9,6 +9,15 @@ pkgbase = spop-git makedepends = git makedepends = cmake depends = libspotify + depends = json-glib + optdepends = libao: libao audio output + optdepends = sox: libsox audio output + optdepends = dbus-glib: awesome integration + optdepends = libnotify: desktop notifications support + optdepends = libsoup: last.fm scrobble support + optdepends = python: dspop GUI + optdepends = dmenu: dspop GUI (or rofi) + optdepends = rofi: dspop GUI (or dmenu) source = git+https://github.com/Schnouki/spop.git md5sums = SKIP @@ -1,33 +1,41 @@ -# Maintainer: Rasmus Steinke <rasi at xssn dot at> - +# Maintainer: Thomas Jost <schnouki@schnouki.net> +# Contributor: Rasmus Steinke <rasi at xssn dot at> pkgname=spop-git _pkgname=spop -pkgver=327.3890ab3 +pkgver=r328.1a26dec pkgrel=1 pkgdesc="A Spotify client running as a daemon, similar to mpd." arch=('i686' 'x86_64') url='https://github.com/Schnouki/spop' license=('GPL') -depends=('libspotify') +depends=('libspotify' 'json-glib') makedepends=('git' 'cmake') +optdepends=( + 'libao: libao audio output' + 'sox: libsox audio output' + 'dbus-glib: awesome integration' + 'libnotify: desktop notifications support' + 'libsoup: last.fm scrobble support' + 'python: dspop GUI' + 'dmenu: dspop GUI (or rofi)' + 'rofi: dspop GUI (or dmenu)' +) source=('git+https://github.com/Schnouki/spop.git') +md5sums=('SKIP') pkgver() { - cd "$pkgname" + cd "${srcdir}/${_pkgname}" printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } build () { - cp -a ${_pkgname} ${_pkgname}-build - cd ${_pkgname}-build - cmake -DCMAKE_INSTALL_PREFIX:PATH=${pkgdir}/usr . + cd "${srcdir}/${_pkgname}" + cmake -DCMAKE_INSTALL_PREFIX:PATH="${pkgdir}/usr" . make } package() { - cd ${srcdir}/${_pkgname}-build + cd "${srcdir}/${_pkgname}" make DEST="${pkgdir}" install - install -D -m 644 ${srcdir}/${_pkgname-build}/spopd.conf.sample ${pkgdir}/usr/share/doc/spop/spopd.conf.sample + install -D -m 644 "${srcdir}/${_pkgname-build}"/spopd.conf.sample "${pkgdir}"/usr/share/doc/spop/spopd.conf.sample } - -md5sums=('SKIP') |