diff options
author | root <root@rshg054.dnsready.net> | 2012-05-24 00:02:45 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-05-24 00:02:45 +0000 |
commit | 6553825d7281900890db91a21ac601d7aee9c55e (patch) | |
tree | f1840f9e4603c9fb5573f6984627dd089a678afc /community-staging | |
parent | bd614ac21d2754d778a796cd5e92d1568ec8baec (diff) |
Thu May 24 00:02:45 UTC 2012
Diffstat (limited to 'community-staging')
-rw-r--r-- | community-staging/cmus/PKGBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/community-staging/cmus/PKGBUILD b/community-staging/cmus/PKGBUILD new file mode 100644 index 000000000..5e9ff3b19 --- /dev/null +++ b/community-staging/cmus/PKGBUILD @@ -0,0 +1,41 @@ +# $Id: PKGBUILD 71033 2012-05-22 06:10:17Z bpiotrowski $ +# Maintainer: Bartłomiej Piotrowski <nospam@bpiotrowski.pl> +# Contributor: Aaron Griffin <aaron@archlinux.org> +# Contributor: dorphell <dorphell@archlinux.org> + +pkgname=cmus +pkgver=2.4.3 +pkgrel=2 +pkgdesc="A very feature-rich ncurses-based music player" +arch=('i686' 'x86_64') +url="http://cmus.sourceforge.net/" +license=('GPL') +depends=('ncurses') +makedepends=('libao' 'libmpcdec' 'ffmpeg' 'flac' 'libmad' 'faad2' 'libmodplug' + 'libvorbis' 'libpulse' 'wavpack' 'libmp4v2') +optdepends=('alsa-lib: for ALSA output plugin support' + 'libao: for AO output plugin support' + 'libpulse: for PulseAudio output plugin support' + 'ffmpeg: for ffmpeg input plugin support' + 'libmodplug: for modplug input plugin support' + 'faad2: for input AAC plugin support' + 'libmad: for mp3 input plugin support' + 'libmpcdec: for musepack input plugin support' + 'wavpack: for wavpack input plugin support' + 'libvorbis: for vorbis input plugin support' + 'flac: for flac input plugin support' + 'libmp4v2: for mp4 input plugin support') +source=("http://downloads.sourceforge.net/$pkgname/$pkgname-v$pkgver.tar.bz2") +sha1sums=('ba63a417b0df42fa9a4850dd8b922a95a426f7f5') + +build() { + cd "$srcdir/$pkgname-v$pkgver" + ./configure prefix=/usr + make +} + +package() { + cd "$srcdir/$pkgname-v$pkgver" + make DESTDIR="$pkgdir" install + install -D -m 644 contrib/_cmus "$pkgdir/usr/share/zsh/site-functions/_cmus" +} |