1 # Maintainer: Nick Lanham <nick@afternight.org>
5 pkgdesc="PNMixer is a GTK volume mixer applet that runs in the system tray. \
6 It is lightweight, works with both pulseaudio and alsa, supports mouse wheel \
11 url="https://github.com/nicklan/pnmixer"
13 depends=('gtk2' 'alsa-lib')
18 _gitroot="git://github.com/nicklan/pnmixer.git"
23 msg "Getting git sources"
25 if [ -d ${srcdir}/$_gitname ] ; then
26 cd $_gitname && git pull origin
27 msg "The local files are updated."
32 msg "Git checkout finished"
34 msg "Building package"
36 cd ${srcdir}/${_gitname}
38 ./autogen.sh || return 1
39 ./configure --prefix=/usr || return 1
41 make DESTDIR="$pkgdir" install || return 1