diff options
author | Christoph Gysin | 2015-10-24 00:59:57 +0300 |
---|---|---|
committer | Christoph Gysin | 2015-10-24 00:59:57 +0300 |
commit | c35a6f09affce5b40d89a8eac5f6914aa7b132b3 (patch) | |
tree | 16fe25d45ad9cbbe79a331f1418a49274e198570 /PKGBUILD | |
download | aur-c35a6f09affce5b40d89a8eac5f6914aa7b132b3.tar.gz |
initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..5e4d3b235fab --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,65 @@ +# Maintainer: Christoph Gysin <christoph.gysin@gmail.com> + +pkgname=moc-lyrics-git +_pkgname=moc +pkgver=7c57de0 +pkgrel=1 +epoch=1 +pkgdesc="An ncurses console audio player (with lyrics patch)" +arch=('i686' 'x86_64') +url="https://github.com/christophgysin/moc" +license=('GPL') +depends=('libmad' 'libid3tag' 'jack' 'curl' 'libltdl' 'file') +makedepends=('speex' 'ffmpeg' 'taglib' 'libmpcdec' 'wavpack' 'libmodplug' 'faad2') +optdepends=('speex: for using the speex plugin' + 'ffmpeg: for using the ffmpeg plugin' + 'taglib: for using the musepack plugin' + 'libmpcdec: for using the musepack plugin' + 'wavpack: for using the wavpack plugin' + 'faad2: for using the aac plugin' + 'libmodplug: for using the modplug plugin') +provides=('moc') +conflicts=('moc') +source=('git+https://github.com/christophgysin/moc#branch=lyrics') +sha1sums=('SKIP') + +pkgver() +{ + cd $_pkgname + git describe --always --long | sed -r "s/^$_pkgname-//;s/([^-]*-g)/r\\1/;s/-/./g" +} + +build() +{ + cd $_pkgname + autoreconf -ifs + ./configure \ + --prefix=/usr \ + --without-rcc \ + --with-oss \ + --with-alsa \ + --with-jack \ + --with-aac \ + --with-mp3 \ + --with-musepack \ + --with-vorbis \ + --with-flac \ + --with-wavpack \ + --with-sndfile \ + --with-modplug \ + --with-ffmpeg \ + --with-speex \ + --with-samplerate \ + --with-curl \ + --disable-cache \ + --disable-debug + make +} + +package() +{ + cd $_pkgname + make \ + DESTDIR="${pkgdir}" \ + install +} |