void-packages/srcpkgs/xcalib/template

24 lines
637 B
Bash

# Template file for 'xcalib'
pkgname=xcalib
version=0.8
revision=5
build_style="gnu-makefile"
makedepends="libX11-devel libXxf86vm-devel"
short_desc="Tiny monitor calibration loader for X.org"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="http://xcalib.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/xcalib/xcalib-source-${version}.tar.gz"
checksum="8a112ee710e5446f6c36e62345b2066f10639d500259db8c48bf1716caea06e6"
post_extract() {
vsed -i '/CC.*-o/s/$/ $(LDFLAGS)/' Makefile
}
do_install() {
vbin xcalib
vdoc README
for file in *.icc *.icm; do
vinstall "$file" 644 usr/share/xcalib
done
}