summaryrefslogtreecommitdiff
path: root/community/libshairport/PKGBUILD
blob: ec3a9d4987209122ad895c52b5be871c13db8090 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# $Id: PKGBUILD 99037 2013-10-22 19:26:56Z idevolder $
# Maintainer: BlackIkeEagle <ike DOT devolder AT gmail DOT com>

pkgname=libshairport
_developer='amejia1'
_version=1.2.1.20121215
_commithash='16395d8'
pkgver=${_version}
pkgrel=3
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')

_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
}