diff options
author | Bartłomiej Piotrowski | 2018-01-05 21:06:43 +0100 |
---|---|---|
committer | Bartłomiej Piotrowski | 2018-01-05 21:06:43 +0100 |
commit | 85086b0f77b961911b4298f588d780c616d9e350 (patch) | |
tree | 601f5950884d23ba6175ae4e509f0369d24ff5f2 | |
download | aur-85086b0f77b961911b4298f588d780c616d9e350.tar.gz |
Import from official repositories
-rw-r--r-- | .SRCINFO | 22 | ||||
-rw-r--r-- | PKGBUILD | 47 | ||||
-rw-r--r-- | aumix.desktop | 12 |
3 files changed, 81 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..6bc27c33e6c2 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,22 @@ +pkgbase = aumix + pkgdesc = A color text mode sound mixer with GPM support + pkgver = 2.9.1 + pkgrel = 8 + url = http://www.jpj.net/~trevor/aumix.html + arch = x86_64 + license = GPL + makedepends = gtk2 + makedepends = gpm + makedepends = ncurses + optdepends = gtk2: aumix + optdepends = ncurses: aumix-nox + optdepends = gpm: aumix-nox + provides = aumix-gtk + replaces = aumix-gtk + source = http://www.jpj.net/~trevor/aumix/releases/aumix-2.9.1.tar.bz2 + source = aumix.desktop + md5sums = 34f28ae1c94fc5298e8bb2688c4b3a20 + md5sums = afba8b39b8dd95d8a9d74356023de14a + +pkgname = aumix + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..7270a7182c3b --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,47 @@ +# $Id: PKGBUILD 266875 2017-11-15 14:29:11Z foutrelis $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> + +pkgname=aumix +pkgver=2.9.1 +pkgrel=8 +pkgdesc="A color text mode sound mixer with GPM support" +arch=('x86_64') +license=('GPL') +depends=() +makedepends=('gtk2' 'gpm' 'ncurses') +optdepends=('gtk2: aumix' + 'ncurses: aumix-nox' + 'gpm: aumix-nox') +replaces=('aumix-gtk') +provides=('aumix-gtk') +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" + cp -a aumix-$pkgver aumix-gtk-$pkgver + + cd "$srcdir"/aumix-$pkgver + msg "No X11 build" + ./configure --prefix=/usr --mandir=/usr/share/man --without-gtk --without-gtk1 \ + --without-alsa --without-x + make + + cd "$srcdir"/aumix-gtk-$pkgver + msg "X11+GTK2 build" + ./configure --prefix=/usr --mandir=/usr/share/man --without-gtk1 --without-alsa \ + --without-gpm + make +} + +package() { + cd "$srcdir"/aumix-$pkgver + install -D -m0755 src/aumix "$pkgdir"/usr/bin/aumix-nox + + cd "$srcdir"/aumix-gtk-$pkgver + make DESTDIR="$pkgdir" install + install -D -m0644 "$srcdir"/aumix.desktop "$pkgdir"/usr/share/applications/aumix.desktop +} diff --git a/aumix.desktop b/aumix.desktop new file mode 100644 index 000000000000..9bf61a7a231b --- /dev/null +++ b/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-интерфейсом |