updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / lastfm-mpd-cli / PKGBUILD
blob2585d5742ed07d723d7c19e94af4dd10f434eaa0
1 # Maintainer: morendi <kracette at gmail dot com>
3 pkgname=lastfm-mpd-cli
4 pkgver=0.02
5 pkgrel=2
6 pkgdesc="A simple command-line utility for interfacing with MPD and Last.fm"
7 arch=(any)
8 url="http://morendi.github.com/lastfm-mpd-cli/"
9 license=('GPL')
10 depends=('python2' 'pylast' 'mpc' 'baker')
11 source=(http://morendi.github.com/lastfm-mpd-cli/$pkgname-$pkgver.tar.gz)
12 md5sums=('275349b33195e053f4bc63fc3ac187e2')
14 build() {
15     cd "${srcdir}"
16     # Have it use python2
17     sed 's|#!/usr/bin/python|#!/usr/bin/env python2|g' -i ${pkgname}.py
18     install -Dm755 "${pkgname}.py" "${pkgdir}/usr/bin/${pkgname}"
19     install -Dm644 "${pkgname}.rc" "${pkgdir}/etc/${pkgname}.rc"