updated on Wed Jan 25 08:34:36 UTC 2012
[aur-mirror.git] / mpd-notification / PKGBUILD
blob8ce92fe096cfcda738b3070a203f5dc537da25e8
1 # Maintainer: Christian Hesse <mail@eworm.de>
3 pkgname=mpd-notification
4 pkgver=0.3.4
5 pkgrel=1
6 pkgdesc="Notify about tracks played by mpd"
7 arch=('i686' 'x86_64')
8 url="http://www.eworm.de/"
9 depends=('libnotify' 'libmpdclient')
10 license=('GPL')
11 source=("${pkgname}.c" "${pkgname}.desktop")
12     
13 build() {
14   cd ${srcdir}/
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')