xcalib: pass LDFLAGS. Cleanup.

This commit is contained in:
Christian Neukirchen 2016-05-24 16:45:11 +02:00
parent ff442d392b
commit fd8c06e611

View file

@ -1,19 +1,23 @@
# Template file for 'xcalib'
pkgname=xcalib
version=0.8
revision=3
distfiles="${SOURCEFORGE_SITE}/xcalib/xcalib-source-${version}.tar.gz"
checksum="8a112ee710e5446f6c36e62345b2066f10639d500259db8c48bf1716caea06e6"
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/"
license="GPL"
short_desc="A tiny monitor calibration loader for X.org"
distfiles="${SOURCEFORGE_SITE}/xcalib/xcalib-source-${version}.tar.gz"
checksum="8a112ee710e5446f6c36e62345b2066f10639d500259db8c48bf1716caea06e6"
do_install() {
vinstall xcalib 755 usr/bin
for file in README *.icc *.icm; do
vinstall "$file" 644 usr/share/xcalib
done
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
}