void-packages/srcpkgs/read-edid/template
2019-12-25 15:12:14 +01:00

23 lines
685 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
pre_install() {
sed -i 's/COPYING//' CMakeLists.txt
}
post_install() {
vlicense LICENSE
rm -rf ${DESTDIR}/usr/share/doc
}