1 # Maintainer: Christian Hesse <mail@eworm.de>
3 pkgname=udev-block-notify
6 pkgdesc="Notify about udev block events"
8 url="http://www.eworm.de/"
9 depends=('libnotify' 'udev' 'util-linux')
11 source=("${pkgname}.c" "${pkgname}.desktop")
15 gcc -DPROGNAME="\"${pkgname}\"" -DVERSION="\"${pkgver}-${pkgrel}\"" -DDATE="\"`date -u`\"" \
16 `pkg-config --cflags --libs libnotify` \
17 `pkg-config --cflags --libs libudev` \
18 `pkg-config --cflags --libs blkid` \
19 ${pkgname}.c -o ${pkgname}
20 install -D -m755 ${pkgname} ${pkgdir}/usr/bin/${pkgname}
21 install -D -m644 ${pkgname}.desktop ${pkgdir}/etc/xdg/autostart/${pkgname}.desktop
24 # vim:set ts=2 sw=2 et:
25 md5sums=('936f971426620b479050e050e9d41195'
26 'dd7e19737ac54c043f1816a7c0f09542')