diff options
author | blackhole | 2016-02-25 22:25:15 +0100 |
---|---|---|
committer | blackhole | 2016-02-25 22:25:15 +0100 |
commit | c6d1e32f9098a95657135975c0e2b8d489275127 (patch) | |
tree | 5a6de60c42760af7ee84f6a1cf4f68ae1a407ec8 /PKGBUILD | |
download | aur-c6d1e32f9098a95657135975c0e2b8d489275127.tar.gz |
Initial import
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..de91ff4266d8 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,48 @@ +# Maintainer: AudioLinux <audiolinux AT fastmail DOT fm> + +# Contributor: Christian Hesse <mail@eworm.de +# Contributor: Mika Fischer <mika.fischer@zoopnet.de> + +pkgname=squeezelite-r2-git +pkgver=v1.8.2.R2.r1.g681fc3d +pkgrel=1 +pkgdesc='Lightweight headless squeezebox emulator - version r2' +arch=('i686' 'x86_64' 'armv6h') +url='http://www.marcoc1712.it/' +license=(GPL3) +depends=('alsa-lib') +makedepends=('git' 'alsa-lib' 'faad2' 'flac' 'libmad' 'libvorbis' 'mpg123' + 'portaudio') +optdepends=('faad2: Support for decoding AAC' + 'flac: Support for decoding FLAC' + 'libmad: Support for decoding MP3' + 'libvorbis: Support for decoding Ogg Vorbis' + 'mpg123: Support for decoding MP3' + 'portaudio: Use of binary using portaudio for output') +provides=('squeezelite') +conflicts=('squeezelite') +source=('git+https://github.com/marcoc1712/squeezelite-R2') +sha256sums=('SKIP') + +pkgver() { + cd squeezelite-R2/ + git describe --long --tags | sed -E 's/([^-]*-g)/r\1/;s/-/./g;s/\(//g;s/\)//g' +} + +build() { + cd squeezelite-R2/ + + # build squeezelite + make + +} + +package() { + cd squeezelite-R2/ + + # Install binaries + install -Dm755 squeezelite-R2 "${pkgdir}/usr/bin/squeezelite-r2" + install -Dm644 "LICENSE.txt" "$pkgdir/usr/share/licenses/$pkgname/COPYING" + +} + |