void-packages/srcpkgs/xosview/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

21 lines
575 B
Bash

# Template file for 'xosview'
pkgname=xosview
version=1.22
revision=1
build_style=gnu-makefile
makedepends="libXpm-devel"
short_desc="A classic system monitoring tool"
maintainer="Diogo Leal <diogo@diogoleal.com>"
license="GPL-2.0-or-later"
homepage="http://www.pogo.org.uk/~mark/xosview"
distfiles="http://www.pogo.org.uk/~mark/xosview/releases/xosview-${version}.tar.gz"
checksum=901b75af2676b11b28b88f0c79c5bd0f4f01de4790c0c5385edf6d71aee1f83a
patch_args=-Np0
case "$XBPS_TARGET_MACHINE" in
*-musl) # does not have asm/io.h
;;
*) CFLAGS="-DHAVE_ASM_IO_H=1"
;;
esac