void-packages/srcpkgs/read-edid/template

26 lines
704 B
Bash

# Template file for 'read-edid'
pkgname=read-edid
version=3.0.2
revision=3
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="Leah Neukirchen <leah@vuxu.org>"
license="custom"
homepage="http://www.polypux.org/projects/read-edid/"
distfiles="http://www.polypux.org/projects/read-edid/${pkgname}-${version}.tar.gz"
checksum=c7c6d8440f5b90f98e276829271ccea5b2ff5a3413df8a0f87ec09f834af186f
CFLAGS="-fcommon"
pre_install() {
sed -i 's/COPYING//' CMakeLists.txt
}
post_install() {
vlicense LICENSE
rm -rf ${DESTDIR}/usr/share/doc
}