1 # Maintainer: David Runge <dvzrv@archlinux.org>
2 # Contributor: judd <jvinet@zeroflux.org>
7 pkgdesc="An alternative implementation of Linux sound support"
9 url="https://www.alsa-project.org"
11 depends=(glibc alsa-topology-conf alsa-ucm-conf)
12 provides=(libasound.so libatopology.so)
13 install="${pkgname}.install"
14 source=("https://www.alsa-project.org/files/pub/lib/${pkgname}-${pkgver}.tar.bz2"{,.sig})
15 sha512sums=('70e539cf092b5d43e00e4134d8a3e184f0dc34312823e4b58a574320cbf06cb7369bc3251ecb1858033756a7a8c35d36faa8da48d49f6efe0cec905784adbd45'
17 b2sums=('4f3d1d078678773b4f6a569d0eea95d0cf89a846605c3a95e11b92f1fe0bd9fb164b8f710906f0de9675ade7ef2123375eb1221945bec511708d6fdd85c051b9'
19 validpgpkeys=('F04DF50737AC1A884C4B3D718380596DA6E59C91') # ALSA Release Team (Package Signing Key v1) <release@alsa-project.org>
28 ./configure --prefix=/usr \
30 # prevent excessive overlinking due to libtool
31 sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
37 export LD_LIBRARY_PATH="${PWD}/src/.libs/:${LD_LIBRARY_PATH}"
43 make DESTDIR="$pkgdir" install
44 make DESTDIR="$pkgdir" install -C doc
45 install -vDm 644 {MEMORY-LEAK,TODO,NOTES,ChangeLog,doc/asoundrc.txt} -t "${pkgdir}/usr/share/doc/${pkgname}"