# Maintainer: Natanael Copa pkgname=alsa-lib pkgver=1.1.9 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" 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="402e39cca82d17555e3e52ef06b8ed9dcf58531da393809a7b5cf18658299fa90ee8a60bfc5213482d7a02b13140c441f1333b144556f44ab4adb786a2fb3c49 alsa-lib-1.1.9.tar.bz2 e15318431fe2d5bd1e42ef793f223e3e5995890d7befe6daa3d7456ccf5cb2f51eb79171539cecae13032a9b8a798ea35e04c89b27c7ef9567e2c03fb8db4512 remove-test.patch"