# Maintainer: Natanael Copa pkgname=alsa-lib pkgver=1.1.7 pkgrel=0 pkgdesc="Advanced Linux Sound Architecture (ALSA) library" url="http://www.alsa-project.org" arch="all" license="LGPL-2.1-or-later" subpackages="$pkgname-dev $pkgname-dbg" makedepends="linux-headers" source="ftp://ftp.alsa-project.org/pub/lib/$pkgname-$pkgver.tar.bz2 remove-test.patch " builddir="$srcdir/$pkgname-$pkgver" prepare() { default_prepare update_config_sub } build() { cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --disable-python \ --disable-static \ --disable-resmgr \ --enable-rawmidi \ --enable-seq \ --enable-aload \ --disable-dependency-tracking \ --without-versioned make } check() { cd "$builddir" make check } package() { cd "$builddir" make -j1 DESTDIR="$pkgdir" install } sha512sums="7cc81464d876a137e9ac9700420bfff7cd528338bdc6e0bdbe313d45c5b97c81f1a9483df0556fe390d54a9db747fbec62e843b42d2cbc740d5a91b015714f6c alsa-lib-1.1.7.tar.bz2 8ef518517647b702da7f3573f4f3f10be8bbac3f092834b38c59521f7236acae258a9afe65eebfa415828135ac8a1836e3dce83ee3f0eaf4403158a48802144d remove-test.patch"