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 /PKGBUILD | |
download | aur-85086b0f77b961911b4298f588d780c616d9e350.tar.gz |
Import from official repositories
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 47 |
1 files changed, 47 insertions, 0 deletions
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 +} |