# Maintainer: Natanael Copa pkgname=alsa-lib pkgver=1.2.2 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/alsa-lib-$pkgver.tar.bz2 remove-test.patch" build() { ./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() { make check } package() { make -j1 DESTDIR="$pkgdir" install } sha512sums="d21adb3ff998918c7d1820f9ce2aaf4202dd45ccb87cb092d49da8b2402b6ddaad06325be0fd59f17393a5d9958e3743bfccb4b14bdb947a42e7d791d73c7033 alsa-lib-1.2.2.tar.bz2 e15318431fe2d5bd1e42ef793f223e3e5995890d7befe6daa3d7456ccf5cb2f51eb79171539cecae13032a9b8a798ea35e04c89b27c7ef9567e2c03fb8db4512 remove-test.patch"