void-packages/srcpkgs/pa-applet/template

27 lines
816 B
Bash
Raw Normal View History

# Template file for 'pa-applet'
pkgname=pa-applet
version=0.0.0.20140304
revision=1
_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="2-clause-BSD"
homepage="https://github.com/fernandotcl/pa-applet"
distfiles="$homepage/archive/$_commit.tar.gz"
checksum=db30c04a6954e1d138c6bc80739dae80d667a0af151b015db503e48fb30b0b7a
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
}