void-packages/srcpkgs/xcolorsel/template
Đoàn Trần Công Danh a92d370caa srcpkgs: add patch_args=-Np0 en-mass
Generated with:

	git ls-files 'srcpkgs/**/patches/*' |
	cut -d/ -f2 | uniq |
	xargs printf 'srcpkgs/%s/template\n'  |
	xargs grep -L 'patch_args=' |
	xargs sed -i "$(printf '1,/^$/{/^$/i\\\npatch_args=-Np0\n}\n')"
2021-06-20 13:17:29 +07:00

27 lines
886 B
Bash

# Template file for 'xcolorsel'
pkgname=xcolorsel
version=1.1a
revision=4
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="Leah Neukirchen <leah@vuxu.org>"
license="GPL-2.0-or-later"
homepage="http://packages.debian.org/stable/x11/xcolorsel"
distfiles="${DEBIAN_SITE}/main/x/${pkgname}/${pkgname}_${version}.orig.tar.gz"
checksum=ba0813af427dfab7dfbd9eaadbedd217d432f8141179ac43bb39393b1424f7a2
nocross=yes
patch_args=-Np0
do_configure() {
xmkmf -a -DHasSELinux=0 -DUseConfDirForAppDefaults=0
sed -i '/INSTALL/s,\$(XPALDIR)/Xcolorsel.help,$(HELPFILE),' Makefile
}
pre_build() {
export LOCAL_LDFLAGS="$LDFLAGS"
}