summaryrefslogtreecommitdiff
path: root/community/libshairport/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/libshairport/PKGBUILD')
-rw-r--r--community/libshairport/PKGBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/community/libshairport/PKGBUILD b/community/libshairport/PKGBUILD
new file mode 100644
index 000000000..7e69f1b6e
--- /dev/null
+++ b/community/libshairport/PKGBUILD
@@ -0,0 +1,33 @@
+# $Id: PKGBUILD 87587 2013-04-03 13:29:16Z idevolder $
+# Maintainer: BlackIkeEagle <ike DOT devolder AT gmail DOT com>
+
+pkgname=libshairport
+_developer='amejia1'
+_version=1.2.1.20121215
+_commithash='16395d8'
+pkgver=${_version}
+pkgrel=1
+pkgdesc="emulates an AirPort Express"
+arch=('i686' 'x86_64')
+url='https://github.com/amejia1/libshairport'
+license=('GPL')
+depends=('openssl' 'libao')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/amejia1/libshairport/tarball/$_commithash")
+sha256sums=('98b73313d0a8f2abcb32e11f4fd4b422777a495cd62dbe881d5061b91959d1d5')
+options=(!libtool)
+
+_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
+}