1 # Maintainer: Christian Hesse <mail@eworm.de>
3 pkgname=mpd-notification
6 pkgdesc="Notify about tracks played by mpd"
8 url="http://www.eworm.de/"
9 depends=('libnotify' 'libmpdclient')
11 source=("${pkgname}.c" "${pkgname}.desktop")
15 gcc -DPROGNAME="\"${pkgname}\"" -DVERSION="\"${pkgver}-${pkgrel}\"" -DDATE="\"`date -u`\"" \
16 `pkg-config --cflags --libs libmpdclient` \
17 `pkg-config --cflags --libs libnotify` \
18 ${pkgname}.c -o ${pkgname}
19 install -D -m755 ${pkgname} ${pkgdir}/usr/bin/${pkgname}
20 install -D -m644 ${pkgname}.desktop ${pkgdir}/etc/xdg/autostart/${pkgname}.desktop
23 # vim:set ts=2 sw=2 et:
24 md5sums=('9dfec0de928404a8649ab8291eaa2a4c'
25 '4af84b19097fc690293b1b500525a2e2')