1 # Contributor: Thomas Mudrunka <harvie@@email..cz>
2 # Maintainer: Thomas Mudrunka <harvie@@email..cz>
3 # You can also contact me on http://blog.harvie.cz/
8 pkgdesc="Print machine check event log from x86-64 kernel"
9 url="http://freshmeat.net/projects/mcelog/"
11 arch=('i686' 'x86_64')
13 source=("ftp://ftp.kernel.org/pub/linux/utils/cpu/mce/${pkgname}-${pkgver}.tar.gz"
15 md5sums=('b42f2214de6f4feb992556149edc67fa'
16 'f039a77d7bde3518d3d695b144816e8a')
19 cd "${srcdir}/${pkgname}-${pkgver}"
22 mkdir -p "${pkgdir}/usr/sbin/"
23 cp mcelog "${pkgdir}/usr/sbin/"
24 cp mcelog.cron "${pkgdir}/usr/sbin/"
26 mkdir -p "${pkgdir}/etc/rc.d/"
27 cp "${srcdir}/mcelog.rc" "${pkgdir}/etc/rc.d/mcelog"
29 chmod -R 755 "${pkgdir}/"