pkgname=alsa-lib pkgver=1.2.13 pkgrel=1 pkgdesc="An alternative implementation of Linux sound support" arch=('x86_64') url="https://www.alsa-project.org" license=('LGPL-2.1-or-later') depends=('glibc') source=(https://www.alsa-project.org/files/pub/lib/${pkgname}-${pkgver}.tar.bz2 https://www.alsa-project.org/files/pub/lib/alsa-ucm-conf-${pkgver}.tar.bz2) sha256sums=(8c4ff37553cbe89618e187e4c779f71a9bb2a8b27b91f87ed40987cc9233d8f6 4483b6e3983cca08fd326a73fbae449b5036e444fb1a07c0dee74b504b7ab5af) build() { cd ${pkgname}-${pkgver} local configure_args=( ${configure_options} ) CFLAGS+=" -flto-partition=none" ./configure ${configure_args[@]} make } package() { cd ${pkgname}-${pkgver} make DESTDIR=${pkgdir} install cp -ar ${srcdir}/alsa-ucm-conf-${pkgver}/* ${pkgdir}/usr/share/alsa }