# Template file for 'mcelog'
pkgname=mcelog
version=112
revision=1
conf_files="/etc/mcelog/mcelog.conf"
only_for_archs="i686 x86_64"
build_style=gnu-makefile
short_desc="Decode kernel machine check log on x86 machines"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="GPL-2"
homepage="http://www.mcelog.org/"
distfiles="https://github.com/andikleen/${pkgname}/archive/v${version}.tar.gz"
checksum=2af439a153753bc972b64d09437774eda8fac7dda20d22cdf8ac2ff5b05c395b

pre_install() {
	vmkdir usr/share/man/man5
	vmkdir usr/share/man/man8
}

post_install() {
	mv ${DESTDIR}/usr/sbin ${DESTDIR}/usr/bin
	vsv mcelog
}
