1 # Contributor: Mark Taylor <skymt0@gmail.com>
5 pkgdesc="Audioscrobbler client daemon for mpd"
7 url="http://cmende.github.com/scmpc"
9 backup=(etc/scmpc.conf)
10 depends=('confuse' 'curl' 'glib2')
12 source=($pkgname-$pkgver.tar.bz2::https://github.com/downloads/cmende/scmpc/$pkgname-$pkgver.tar.bz2
14 changelog=scmpc.changelog
17 cd ${srcdir}/${pkgname}-${pkgver}
22 make DESTDIR=${pkgdir} install
23 install -Dv -m 755 ${srcdir}/${source[1]} ${pkgdir}/etc/rc.d/scmpcd
24 install -Dv -m 644 ${srcdir}/${pkgname}-${pkgver}/scmpc.conf.example ${pkgdir}/etc/scmpc.conf
25 install -d -m 755 ${pkgdir}/var/lib/scmpc/
26 install -d -m 755 ${pkgdir}/usr/share/doc/scmpc/
27 install -v -m 644 {NEWS,AUTHORS,README,COPYING} ${pkgdir}/usr/share/doc/scmpc
30 sha1sums=('6f666a4b03f354c8b2d95e57d49b3e4fcf5df996'
31 '4049ff869ac30b8238ef840a5d5243f591c8eb14')