# Maintainer: Natanael Copa pkgname=faac pkgver=1.29.9.2 pkgrel=0 pkgdesc="FAAC is an AAC audio encoder." options="!check" # No testsuite url="https://www.audiocoding.com/" arch="all" license="GPL-3.0-or-later" makedepends="autoconf automake libtool" subpackages="$pkgname-static $pkgname-dev $pkgname-doc" source="https://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz" build() { CXXFLAGS="$CXXFLAGS -fpermissive" \ ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr make } package() { make DESTDIR="$pkgdir" install } static() { depends="" pkgdesc="$pkgdesc (static library)" mkdir -p "$subpkgdir"/usr/lib mv "$pkgdir"/usr/lib/*.a "$subpkgdir"/usr/lib } sha512sums="71aaf060d087e866700a3a7c7d447e85709f65709e148610c4b34f5a3e095fa4a5c19f49450610949fd7db12345422b8a116a1d061899c127ad9a1bc30e79c7c faac-1.29.9.2.tar.gz"