packager="Great-OS Team"
maintainer="Great-OS Team"

description="Fraunhofer FDK AAC codec library"
url="http://sourceforge.net/projects/opencore-amr/"

name=fdk-aac
version=2.0.3

source=(https://downloads.sourceforge.net/opencore-amr/$name-$version.tar.gz)

build() {

  cd $name-$version

  ./configure --prefix=/usr \
              --libdir=/usr/lib \
              --disable-static

  make

  make DESTDIR="${PKG}" install
  install -Dm 644 NOTICE -t "${PKG}"/usr/share/licenses/fdk-aac/
}
