diff options
Diffstat (limited to 'community/aumix')
-rw-r--r-- | community/aumix/PKGBUILD | 38 | ||||
-rw-r--r-- | community/aumix/aumix.desktop | 12 | ||||
-rw-r--r-- | community/aumix/aumix.install | 13 |
3 files changed, 63 insertions, 0 deletions
diff --git a/community/aumix/PKGBUILD b/community/aumix/PKGBUILD new file mode 100644 index 000000000..bc409ec84 --- /dev/null +++ b/community/aumix/PKGBUILD @@ -0,0 +1,38 @@ +# $Id: PKGBUILD 42325 2011-03-16 11:08:26Z spupykin $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> + +pkgname=aumix +pkgver=2.9.1 +pkgrel=2 +pkgdesc="A color text mode sound mixer with GPM support" +arch=('i686' 'x86_64') +license=('GPL') +depends=() +optdepends=('gtk2: aumix' + 'ncurses: aumix-nox' + 'gpm: aumix-nox') +replaces=('aumix-gtk') +provides=('aumix-gtk') +install=aumix.install +url=(http://www.jpj.net/~trevor/aumix.html) +source=(http://www.jpj.net/~trevor/aumix/releases/aumix-$pkgver.tar.bz2 + aumix.desktop) +md5sums=('34f28ae1c94fc5298e8bb2688c4b3a20' + 'afba8b39b8dd95d8a9d74356023de14a') + +build() { + cd $srcdir/aumix-$pkgver + + msg "No X11 build" + ./configure --prefix=/usr --mandir=/usr/share/man --without-gtk --without-gtk1 \ + --without-alsa --without-x + make + install -D -m0755 src/aumix $pkgdir/usr/bin/aumix-nox + make distclean + + msg "X11+GTK2 build" + ./configure --prefix=/usr --mandir=/usr/share/man --without-gtk1 --without-alsa + make + make DESTDIR=$pkgdir install + install -D -m0644 $srcdir/aumix.desktop $pkgdir/usr/share/applications/aumix.desktop +} diff --git a/community/aumix/aumix.desktop b/community/aumix/aumix.desktop new file mode 100644 index 000000000..9bf61a7a2 --- /dev/null +++ b/community/aumix/aumix.desktop @@ -0,0 +1,12 @@ +[Desktop Entry] +Version=0.92 +Encoding=UTF-8 +MultipleArgs=false +Terminal=0 +Icon=/usr/share/aumix/aumix.xpm +Exec=/usr/bin/aumix +Categories=Application;GTK;AudioVideo;Audio;Video; +Type=Application +Name=GTK sound mixer +Name[en]=GTK sound mixer +Name[ru]=Микшер с GTK-интерфейсом diff --git a/community/aumix/aumix.install b/community/aumix/aumix.install new file mode 100644 index 000000000..783d3b3a5 --- /dev/null +++ b/community/aumix/aumix.install @@ -0,0 +1,13 @@ +post_install() { + [ -x /usr/bin/update-desktop-database ] && /usr/bin/update-desktop-database > /dev/null 2>&1 + true +} + +post_upgrade() { + post_install $1 +} + +post_remove () { + [ -x /usr/bin/update-desktop-database ] && /usr/bin/update-desktop-database > /dev/null 2>&1 + true +} |