1 # Maintainer: Lari <lartza at wippies.com<
2 # Contributor: Uwe <keksvernichter at gmail.com>
6 pkgdesc="MPNotifier is a lightweight client for MPD displaying a popup notification each time a new song is played"
8 url="http://chadok.info/mpn/"
10 depends=('python-notify' 'python-mpd' 'pygtk' 'python2-yaml')
12 source=(http://chadok.info/mpn/MPNotifier-$pkgver.tar.gz
13 http://chadok.info/darcs/mpn/mpnrc
14 http://chadok.info/darcs/mpn/COPYING)
15 md5sums=('b16ab662f5b8eebd1ad8f32b90a3da8f'
16 'e3a696c3e25a6d1a84665d7c09abfda9'
17 'b234ee4d69f5fce4486a80fdaf4a4263')
20 mkdir -p ${pkgdir}/usr/share/doc/${pkgname}
21 mkdir -p ${pkgdir}/usr/share/licenses/${pkgname}
22 mkdir -p ${pkgdir}/usr/bin
24 sed -i "s#/usr/bin/python#/usr/bin/python2#" ${srcdir}/MPNotifier-${pkgver}/mpn
28 install -D -m755 ${srcdir}/MPNotifier-${pkgver}/mpn ${pkgdir}/usr/bin/mpn
29 install -D -m644 ${srcdir}/COPYING ${pkgdir}/usr/share/licenses/${pkgname}/COPYING
30 install -D -m744 ${srcdir}/mpnrc ${pkgdir}/usr/share/doc/${pkgname}/mpnrc.sample