db-move: moved seahorse from [testing] to [extra] (x86_64)
[arch-packages.git] / sbc / repos / extra-x86_64 / PKGBUILD
blobef6d003898d8470bf6743b495317ccdf04c83e43
1 # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
3 pkgname=sbc
4 pkgver=2.0
5 pkgrel=1
6 pkgdesc="Bluetooth Subband Codec (SBC) library"
7 url="https://git.kernel.org/pub/scm/bluetooth/sbc.git"
8 arch=(x86_64)
9 license=(GPL LGPL)
10 depends=(glibc)
11 makedepends=(git)
12 provides=(libsbc.so)
13 options=(debug)
14 _commit=8dc5d5ba381512ad5b1afa45c63ec6b0a3833244  # tags/2.0^0
15 source=("git+$url#commit=$_commit")
16 b2sums=('SKIP')
18 pkgver() {
19   cd sbc
20   git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
23 prepare() {
24   cd sbc
25   autoreconf -fvi
28 build() {
29   cd sbc
30   ./configure --prefix=/usr --disable-static --disable-tester
31   make
34 check() {
35   cd sbc
36   make check
39 package() {
40   cd sbc
41   make DESTDIR="$pkgdir" install