diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /extra/xfce4-mixer |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'extra/xfce4-mixer')
-rw-r--r-- | extra/xfce4-mixer/PKGBUILD | 38 | ||||
-rw-r--r-- | extra/xfce4-mixer/xfce4-mixer.install | 11 |
2 files changed, 49 insertions, 0 deletions
diff --git a/extra/xfce4-mixer/PKGBUILD b/extra/xfce4-mixer/PKGBUILD new file mode 100644 index 000000000..dd0e3337f --- /dev/null +++ b/extra/xfce4-mixer/PKGBUILD @@ -0,0 +1,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 +} diff --git a/extra/xfce4-mixer/xfce4-mixer.install b/extra/xfce4-mixer/xfce4-mixer.install new file mode 100644 index 000000000..21b79d2d4 --- /dev/null +++ b/extra/xfce4-mixer/xfce4-mixer.install @@ -0,0 +1,11 @@ +post_install() { + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor +} |