updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / udev-block-notify / PKGBUILD
blobe92be60e80f50ca7509a691b8aee4dc64f5dfbe8
1 # Maintainer: Christian Hesse <mail@eworm.de>
3 pkgname=udev-block-notify
4 pkgver=0.3.4
5 pkgrel=1
6 pkgdesc="Notify about udev block events"
7 arch=('i686' 'x86_64')
8 url="http://www.eworm.de/"
9 depends=('libnotify' 'udev' 'util-linux')
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 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')