summaryrefslogtreecommitdiff
path: root/extra/sbc/PKGBUILD
blob: 70a61c17b811ad3a140bc0aab87f059c3274dc35 (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
# $Id: PKGBUILD 166341 2012-09-06 18:04:29Z heftig $
# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>

pkgname=sbc
pkgver=1.0
pkgrel=1
pkgdesc="Bluetooth Subband Codec (SBC) library"
arch=('i686' 'x86_64')
url="http://www.bluez.org/"
license=('GPL' 'LGPL')
depends=('glibc')
options=(!libtool)
source=(http://www.kernel.org/pub/linux/bluetooth/$pkgname-$pkgver.tar.xz)
md5sums=('aa2bc39c4a09aade064efea4bbbc4b2d')

build() {
  cd $pkgname-$pkgver
  ./configure --prefix=/usr --disable-static --disable-tester
  make
}

package() {
  cd $pkgname-$pkgver
  make DESTDIR="$pkgdir" install
}