void-packages/srcpkgs/xcolorsel/template

24 lines
824 B
Bash
Raw Normal View History

2015-03-09 15:19:51 +00:00
# Template file for 'xcolorsel'
pkgname=xcolorsel
version=1.1a
revision=1
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
2015-03-09 15:21:16 +00:00
nocross=yes
2015-03-09 15:19:51 +00:00
do_configure() {
xmkmf -a -DHasSELinux=0 -DUseConfDirForAppDefaults=0
sed -i '/INSTALL/s,\$(XPALDIR)/Xcolorsel.help,$(HELPFILE),' Makefile
}