updated on Fri Jan 13 00:14:41 UTC 2012
[aur-mirror.git] / scmpc / PKGBUILD
blob3a7bd320b229f120aa8aaf3cfe8c4ee1b2e7b8ae
1 # Contributor: Mark Taylor <skymt0@gmail.com>
2 pkgname=scmpc
3 pkgver=0.3.1
4 pkgrel=1
5 pkgdesc="Audioscrobbler client daemon for mpd"
6 arch=('i686' 'x86_64')
7 url="http://cmende.github.com/scmpc"
8 license=('GPL2')
9 backup=(etc/scmpc.conf)
10 depends=('confuse' 'curl' 'glib2')
11 options=(emptydirs)
12 source=($pkgname-$pkgver.tar.bz2::https://github.com/downloads/cmende/scmpc/$pkgname-$pkgver.tar.bz2
13         scmpcd)
14 changelog=scmpc.changelog
16 build() {
17   cd ${srcdir}/${pkgname}-${pkgver}
18   ./configure \
19         --prefix=/usr \
20         --sysconfdir=/etc \
21   make
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')