void-packages/srcpkgs/pa-applet/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
832 B
Bash

# Template file for 'pa-applet'
pkgname=pa-applet
version=0.0.0.20140304
revision=2
_commit=33b413b83234d457b9512219cf4c1020eb99a3de
wrksrc="$pkgname-$_commit"
build_style=gnu-configure
hostmakedepends="automake libtool pkg-config"
makedepends="gtk+3-devel libnotify-devel libcanberra-devel pulseaudio-devel"
short_desc="PulseAudio system tray applet with volume bar"
maintainer="Alexander Mamay <alexander@mamay.su>"
license="BSD-2-Clause"
homepage="https://github.com/fernandotcl/pa-applet"
distfiles="$homepage/archive/$_commit.tar.gz"
checksum=db30c04a6954e1d138c6bc80739dae80d667a0af151b015db503e48fb30b0b7a
patch_args=-Np0
pre_configure() {
sed -i -e 's| -Werror||' src/Makefile.am
./autogen.sh
}
post_install() {
vlicense LICENSE
vmkdir etc/xdg/autostart
vinstall ${FILESDIR}/pa-applet.desktop 644 etc/xdg/autostart
}