void-packages/srcpkgs/read-edid/template

23 lines
702 B
Bash

# Template file for 'read-edid'
pkgname=read-edid
version=3.0.2
revision=2
build_style=cmake
case "$XBPS_TARGET_MACHINE" in
i686*|x86_64*) makedepends="libx86-devel";;
*) configure_args="-DCLASSICBUILD=NO";;
esac
short_desc="Hardware information-gathering tool for VESA PnP monitors"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="read-edid"
homepage="http://www.polypux.org/projects/read-edid/"
distfiles="http://www.polypux.org/projects/read-edid/${pkgname}-${version}.tar.gz"
checksum=c7c6d8440f5b90f98e276829271ccea5b2ff5a3413df8a0f87ec09f834af186f
pre_install() {
sed -i 's/COPYING//' CMakeLists.txt
}
post_install() {
vlicense LICENSE
rm -rf ${DESTDIR}/usr/share/doc
}