upgpkg: ufw 0.36.2-1
[ArchLinux/community.git] / libfdk-aac / trunk / PKGBUILD
blob83365b324100dd2135a966e12f2ec31f8ce15e33
1 # Maintainer: Maxime Gauduin <alucryd@archlinux.org>
2 # Contributor: PelPix <kylebloss@pelpix.info>
3 # Contributor: DrZaius <lou[at]fakeoutdoorsman[dot]com>
5 pkgname=libfdk-aac
6 pkgver=2.0.2
7 pkgrel=1
8 pkgdesc='Fraunhofer FDK AAC codec library'
9 arch=(x86_64)
10 url=https://sourceforge.net/projects/opencore-amr/
11 license=(custom)
12 depends=(glibc)
13 makedepends=(git)
14 provides=(libfdk-aac.so)
15 source=(git+https://github.com/mstorsjo/fdk-aac.git#tag=8003a054c81c45c10fe70a832f02c6985383608f)
16 sha256sums=(SKIP)
18 pkgver() {
19   cd fdk-aac
21   git describe --tags | sed 's/^v//'
24 prepare() {
25   cd fdk-aac
27   ./autogen.sh
30 build() {
31   cd fdk-aac
33   ./configure \
34     --prefix=/usr \
35     --disable-static
36   make
39 package () {
40   cd fdk-aac
42   make DESTDIR="${pkgdir}" install
43   install -Dm 644 NOTICE -t "${pkgdir}"/usr/share/licenses/libfdk-aac/
46 # vim: ts=2 sw=2 et: