void-packages/srcpkgs/xcalib/template
2021-08-22 16:38:22 +07:00

23 lines
630 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="Steven R <dev@styez.com>"
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
}