summaryrefslogtreecommitdiff
path: root/extra/xfce4-mixer/PKGBUILD
blob: dd0e3337fd5aa4479575127d9e374b22b7adc0bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# $Id: PKGBUILD 111572 2011-02-27 18:15:06Z andyrtr $
# Maintainer: Tobias Kieslich <tobias funnychar archlinux.org>

pkgname=xfce4-mixer
pkgver=4.8.0
pkgrel=1
pkgdesc="The volume control plugin for the Xfce panel"
arch=(i686 x86_64)
license=('GPL2')
url="http://www.xfce.org/"
groups=('xfce4')
depends=("xfce4-panel>=4.8.0" 'gstreamer0.10-base>=0.10.22' 'hicolor-icon-theme')
makedepends=('intltool')
optdepends=('gstreamer0.10-base-plugins:  to support basic audio hardware' \
            'gstreamer0.10-good-plugins:  well supported hardware'\
            'gstreamer0.10-bad-plugins:   not so well supported hardware'\
            'gstreamer0.10-ugly-plugins:  might contain questionable license hardware')
options=('!libtool')
install=${pkgname}.install
source=(http://archive.xfce.org/src/apps/${pkgname}/4.8/${pkgname}-${pkgver}.tar.bz2)
md5sums=('3fa3a9973e18c04da26709a654e242ff')

build() {
  cd ${srcdir}/${pkgname}-${pkgver}
  ./configure --prefix=/usr \
	--sysconfdir=/etc \
	--libexecdir=/usr/lib \
	--localstatedir=/var \
	--disable-static \
	--with-sound=alsa \
	--disable-debug
  make
}

package() {
  cd ${srcdir}/${pkgname}-${pkgver}
  make DESTDIR=${pkgdir} install
}