summaryrefslogtreecommitdiff
path: root/extra/gnome-alsamixer
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-08-22 23:14:28 +0000
committerroot <root@rshg054.dnsready.net>2011-08-22 23:14:28 +0000
commit64e290184042563a240e2d6d15c02e06703d00ee (patch)
treebf85f88c86a6315c8ed783e0f1492a56e3f3e51b /extra/gnome-alsamixer
parente9a5c646563c984f362db1777f8c6bc7da63a4ab (diff)
Mon Aug 22 23:14:28 UTC 2011
Diffstat (limited to 'extra/gnome-alsamixer')
-rw-r--r--extra/gnome-alsamixer/PKGBUILD33
-rw-r--r--extra/gnome-alsamixer/gnome-alsamixer.desktop11
2 files changed, 32 insertions, 12 deletions
diff --git a/extra/gnome-alsamixer/PKGBUILD b/extra/gnome-alsamixer/PKGBUILD
index 277ddcbde..84698b9c1 100644
--- a/extra/gnome-alsamixer/PKGBUILD
+++ b/extra/gnome-alsamixer/PKGBUILD
@@ -1,24 +1,33 @@
-# $Id: PKGBUILD 49919 2009-08-16 21:30:55Z jgc $
-# Maintainer: damir <damir@archlinux.org>
-# Contributor: Ben <ben@benmazer.net>
+# $Id: PKGBUILD 136003 2011-08-21 09:18:58Z eric $
+# Maintainer: Eric BĂ©langer <eric@archlinux.org>
pkgname=gnome-alsamixer
pkgver=0.9.6
-pkgrel=3
+pkgrel=4
pkgdesc="Gnome ALSA mixer"
arch=('i686' 'x86_64')
-url="http://www.paw.za.org"
+url="https://launchpad.net/gnome-alsamixer"
license=('GPL')
-depends=('libgnomeui>=2.24.1')
+depends=('libgnomeui')
source=(ftp://ftp.archlinux.org/other/gnome-alsamixer/${pkgname}-${pkgver}.tar.gz
- gnome-alsamixer-0.9.6-gtk24.patch)
+ gnome-alsamixer-0.9.6-gtk24.patch gnome-alsamixer.desktop)
md5sums=('387623cfeb079d78325eed2d6bc94251'
- '82b95a0df43429da5098b4da883f6bd0')
+ '82b95a0df43429da5098b4da883f6bd0'
+ 'c7dbc44207bede96e4fafc24a7c7beb3')
+sha1sums=('faece601a4329d2b01b9efe65200021538fc066d'
+ 'b4e3b871676025600170ba54f59db4977b853c08'
+ '31639f7932d088ca76a18c79839682be811f23d0')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
- patch -Np1 -i "${srcdir}/gnome-alsamixer-0.9.6-gtk24.patch" || return 1
- ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var || return 1
- make || return 1
- make DESTDIR="${pkgdir}" install || return 1
+ patch -Np1 -i "${srcdir}/gnome-alsamixer-0.9.6-gtk24.patch"
+ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+ install -D -m644 "${srcdir}/gnome-alsamixer.desktop" \
+ "${pkgdir}/usr/share/applications/gnome-alsamixer.desktop"
}
diff --git a/extra/gnome-alsamixer/gnome-alsamixer.desktop b/extra/gnome-alsamixer/gnome-alsamixer.desktop
new file mode 100644
index 000000000..861a22849
--- /dev/null
+++ b/extra/gnome-alsamixer/gnome-alsamixer.desktop
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Name=GNOME ALSA Mixer
+Comment=ALSA sound mixer for GNOME
+Comment[es]=Mezclador de sonido ALSA para GNOME
+Comment[fr]=MĂ©langeur de son ALSA pour GNOME
+Exec=gnome-alsamixer
+Icon=/usr/share/pixmaps/gnome-alsamixer/gnome-alsamixer-icon.png
+Terminal=false
+Type=Application
+Categories=Application;AudioVideo;
+StartupNotify=true