void-packages/srcpkgs/xcolorsel/template

24 lines
824 B
Bash

# Template file for 'xcolorsel'
pkgname=xcolorsel
version=1.1a
revision=2
wrksrc="${pkgname}-${version}.orig"
build_style=gnu-makefile
make_build_args="HELPFILE=/usr/share/X11/Xcolorsel.help"
make_install_args="install.man ${make_build_args}"
hostmakedepends="imake xorg-cf-files gccmakedep groff"
makedepends="libXaw-devel"
depends="rgb"
short_desc="Display and grab colors in X"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="GPL-2"
homepage="http://packages.debian.org/stable/x11/xcolorsel"
distfiles="${DEBIAN_SITE}/main/x/${pkgname}/${pkgname}_${version}.orig.tar.gz"
checksum=ba0813af427dfab7dfbd9eaadbedd217d432f8141179ac43bb39393b1424f7a2
nocross=yes
do_configure() {
xmkmf -a -DHasSELinux=0 -DUseConfDirForAppDefaults=0
sed -i '/INSTALL/s,\$(XPALDIR)/Xcolorsel.help,$(HELPFILE),' Makefile
}