vp-build/srcpkgs/xcalib/template

24 lines
644 B
Bash

# Template file for 'xcalib'
pkgname=xcalib
version=0.8
revision=4
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"
homepage="http://www.etg.e-technik.uni-erlangen.de/web/doe/xcalib/"
distfiles="${SOURCEFORGE_SITE}/xcalib/xcalib-source-${version}.tar.gz"
checksum="8a112ee710e5446f6c36e62345b2066f10639d500259db8c48bf1716caea06e6"
post_extract() {
sed -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
}