summaryrefslogtreecommitdiff
path: root/libre/alsa-lib-static/PKGBUILD
blob: 5939e653a7f56f1301fc278184070e169e7ab6b7 (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
# Maintainer: Márcio Silva <coadde@parabola.nu>
# based of alsa-lib

_pkgname=alsa-lib
pkgname=alsa-lib-static
pkgver=1.1.1
pkgrel=1.1
pkgdesc="An alternative implementation of Linux sound support (static libraries only)"
arch=('i686' 'x86_64' 'armv7h')
url="http://www.alsa-project.org"
depends=('alsa-lib')
makedepends=('python2')
license=('GPL')
options=('staticlibs')
source=(ftp://ftp.alsa-project.org/pub/lib/$_pkgname-$pkgver.tar.bz2)
sha1sums=('09f7e9b2d88287e04a4bb0d56e0cbc9018e524ec')

build() {
  cd "$srcdir/$_pkgname-$pkgver"
  ./configure --prefix=/usr --with-pythonlibs="-lpthread -lm -ldl -lpython2.7" --with-pythonincludes=-I/usr/include/python2.7 --enable-static --disable-shared
  make
}

package() {
  cd "$srcdir/$_pkgname-$pkgver"
  make DESTDIR="$pkgdir" install

  # remove conflicting files
  rm -vr ${pkgdir}/usr/{bin,include,lib/pkgconfig,share}
}