From dcd9a5a3b34652c97be9e80b6e5f8488d4e82c9a Mon Sep 17 00:00:00 2001 From: Michael Date: Mon, 14 Oct 2013 12:55:03 +0000 Subject: [PATCH] libshairport: 1.2.1 added to apps repo --- libshairport/PKGBUILD | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 libshairport/PKGBUILD diff --git a/libshairport/PKGBUILD b/libshairport/PKGBUILD new file mode 100644 index 000000000..6e0aa0b5f --- /dev/null +++ b/libshairport/PKGBUILD @@ -0,0 +1,32 @@ +# Maintainer: Michael Haesel + +pkgname=libshairport +_developer='amejia1' +_version=1.2.1.20121215 +_commithash='16395d8' +pkgver=${_version} +pkgrel=1 +pkgdesc="emulates an AirPort Express" +arch=('x86_64') +url='https://github.com/amejia1/libshairport' +license=('GPL') +depends=('openssl' 'libao') +options=(!libtool) +source=("${pkgname}-${pkgver}.tar.gz::https://github.com/amejia1/libshairport/tarball/${_commithash}") +sha256sums=('98b73313d0a8f2abcb32e11f4fd4b422777a495cd62dbe881d5061b91959d1d5') + +_srcfolder=${_developer}-${pkgname}-${_commithash} + +build() { + mv "${_srcfolder}" "${pkgname}-${pkgver}" + + cd "${pkgname}-${pkgver}" + autoreconf -vif + ./configure --prefix=/usr + make +} + +package() { + cd "${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install +}