1 # Maintainer: Daniel Stengel <dstengel@gmx.net>
2 # Contributor: Daniel Stengel <dstengel@gmx.net>
3 # Contributor: Nicolas QuiƩnot <niQo @ aur>
5 pkgname=airfoilspeakers
8 pkgdesc="Airfoil Speakers for Linux runs on any version of Linux with Mono 1.2.6 or higher, enabling Airfoil to send any audio to it. Airfoil Speakers for Linux works exclusively with Airfoil for Mac and Airfoil for Windows."
9 url="http://www.rogueamoeba.com/airfoil/"
10 arch=('i686' 'x86_64')
12 depends=('mono' 'avahi' 'mono-zeroconf' 'alsa-utils' 'alsa-lib')
13 [ "$CARCH" = "x86_64" ] && depends=('mono' 'avahi' 'mono-zeroconf' 'alsa-utils' 'lib32-alsa-lib')
15 source=(http://rogueamoeba.com/airfoil/download/AirfoilSpeakersLinux.tgz http://kevin.colyar.net/wp-content/uploads/2009/12/Airfoil-DLLs.zip)
18 cd ${srcdir}/${pkgname}_${pkgver}-${pkgrel}
19 mkdir -p ${pkgdir}/usr/{bin,lib,share}
21 cp bin/* ${pkgdir}/usr/bin/
22 cp -R lib/* ${pkgdir}/usr/lib/
23 cp -R share/* ${pkgdir}/usr/share/
25 # Change PREFIX to fit Archlinux
26 cp run_airfoilspeakers tmp_run_airfoilspeakers
27 sed 's:PREFIX=./:PREFIX=/usr/:g' tmp_run_airfoilspeakers > ${pkgdir}/usr/bin/airfoilspeakers
28 #chown root:root ${pkgdir}/usr/bin/airfoilspeakers
29 chmod 755 ${pkgdir}/usr/bin/airfoilspeakers
30 rm tmp_run_airfoilspeakers
33 ## see http://kevin.colyar.net/2009/12/fixing-airfoil-speakers-for-ubuntu/
34 cd ${srcdir}/Airfoil\ DLLs/
35 cp *.dll ${pkgdir}/usr/lib/airfoilspeakers/
39 md5sums=('f7c02e93d62a80333ba0bf462cf512b9'
40 '74267324cbf277609df1a403dd3f4f77')