testing/pcaudiolib: new aport

This commit is contained in:
Dekedro 2021-08-09 16:48:10 +00:00 committed by Leo
parent 9c15e0596a
commit b5fda5ddc2

View File

@ -0,0 +1,37 @@
# Contributor: Dekedro <dekedro@tankers.xyz>
# Maintainer: Dekedro <dekedro@tankers.xyz>
pkgname=pcaudiolib
pkgver=1.2
pkgrel=0
pkgdesc="C API to different audio devices"
url="https://github.com/espeak-ng/pcaudiolib"
arch="all"
license="GPL-3.0-or-later"
makedepends="alsa-lib-dev autoconf automake libtool"
subpackages="$pkgname-dev"
options="!check" # no tests
source="$pkgname-$pkgver.tar.gz::https://github.com/espeak-ng/pcaudiolib/archive/refs/tags/$pkgver.tar.gz"
prepare() {
default_prepare
./autogen.sh
}
build() {
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var
make
}
package() {
make DESTDIR="$pkgdir" install
}
sha512sums="
0a0fe2a21a8410ad5196272cc579137764d5a4beba16b3c5cf46cd2967132bb48def4c7977a7ae48ff1a0a6d53e454affc6c5add503e73e7805f15aa93231af3 pcaudiolib-1.2.tar.gz
"