Date: Monday, May 31, 2021 @ 17:36:51 Author: dvzrv Revision: 416889 archrelease: copy trunk to staging-x86_64
Added: alsa-lib/repos/staging-x86_64/ alsa-lib/repos/staging-x86_64/PKGBUILD (from rev 416888, alsa-lib/trunk/PKGBUILD) ----------+ PKGBUILD | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) Copied: alsa-lib/repos/staging-x86_64/PKGBUILD (from rev 416888, alsa-lib/trunk/PKGBUILD) =================================================================== --- staging-x86_64/PKGBUILD (rev 0) +++ staging-x86_64/PKGBUILD 2021-05-31 17:36:51 UTC (rev 416889) @@ -0,0 +1,44 @@ +# Maintainer: David Runge <dv...@archlinux.org> +# Contributor: judd <jvi...@zeroflux.org> + +pkgname=alsa-lib +pkgver=1.2.5 +pkgrel=1 +pkgdesc="An alternative implementation of Linux sound support" +arch=('x86_64') +url="https://www.alsa-project.org" +license=('LGPL2.1') +depends=('glibc' 'alsa-topology-conf' 'alsa-ucm-conf') +provides=('libasound.so' 'libatopology.so') +source=("https://www.alsa-project.org/files/pub/lib/${pkgname}-${pkgver}.tar.bz2"{,.sig}) +sha512sums=('d9b53484737a3684aac7e08b4b18400aac10fec1a78a8bf9101944bea2c50710bc7355e9bb0012541b067e2d5ee7b1b818bf1bdbffbb2b2d7ad0eb15efe49725' + 'SKIP') +b2sums=('84fe4e22d4316bfc84f15f2493f40f113eb3db7722f230550586533e80daf214140164e8ddc1a399b82a3fd0fb21125ff225cfeb45eaa19320c2e2aa3997c662' + 'SKIP') +validpgpkeys=('F04DF50737AC1A884C4B3D718380596DA6E59C91') # ALSA Release Team (Package Signing Key v1) <rele...@alsa-project.org> + +prepare() { + cd "$pkgname-$pkgver" + autoreconf -vfi +} + +build() { + cd "$pkgname-$pkgver" + ./configure --prefix=/usr \ + --without-debug + make +} + +check() { + cd "$pkgname-$pkgver" + export LD_LIBRARY_PATH="${PWD}/src/.libs/:${LD_LIBRARY_PATH}" + make -k check +} + +package() { + cd "$pkgname-$pkgver" + make DESTDIR="$pkgdir" install + make DESTDIR="$pkgdir" install -C doc + install -vDm 644 {MEMORY-LEAK,TODO,NOTES,ChangeLog,doc/asoundrc.txt} \ + -t "${pkgdir}/usr/share/doc/${pkgname}" +}