From af9452bb4ea3e65505fa3be93a52c08e1b7634ab Mon Sep 17 00:00:00 2001 From: "coadde [Márcio Alexandre Silva Delgado]" Date: Sat, 16 Apr 2016 14:32:51 -0300 Subject: alsa-lib-static: add new package to [libre] --- libre/alsa-lib-static/PKGBUILD | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 libre/alsa-lib-static/PKGBUILD (limited to 'libre/alsa-lib-static') diff --git a/libre/alsa-lib-static/PKGBUILD b/libre/alsa-lib-static/PKGBUILD new file mode 100644 index 000000000..3a73fcb05 --- /dev/null +++ b/libre/alsa-lib-static/PKGBUILD @@ -0,0 +1,30 @@ +# Maintainer: Márcio Silva +# based of alsa-lib + +_pkgname=alsa-lib +pkgname=alsa-lib-static +pkgver=1.1.1 +pkgrel=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/{alsa-lib,pkgconfig},share} +} -- cgit v1.2.3