void-packages/srcpkgs/pa-applet/template

26 lines
789 B
Bash

# Template file for 'pa-applet'
pkgname=pa-applet
version=0.0.0.20140304
revision=3
_commit=33b413b83234d457b9512219cf4c1020eb99a3de
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
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
}