OCaml 4.14.0 rebuild
[arch-packages.git] / faad2 / trunk / PKGBUILD
bloba817de91641ae18ab040fbe675319e6fdbefa05a
1 # Maintainer: David Runge <dvzrv@archlinux.org>
3 pkgname=faad2
4 pkgver=2.10.0
5 pkgrel=1
6 pkgdesc="ISO AAC audio decoder"
7 arch=('x86_64')
8 url="https://github.com/knik0/faad2"
9 license=('GPL2')
10 depends=('glibc')
11 provides=('faad' 'libfaad_drm.so' 'libfaad.so')
12 source=($pkgname-$pkgver.tar.gz::https://github.com/knik0/faad2/archive/${pkgver//./_}.tar.gz)
13 sha512sums=('92c8b5e79f85b7a7caac9e7954959c26d74ef148a658dcb37e2c1b303fc2fcc5a0d12f21e7bd476870498109bdd03916a56c13f578186a69d6eceb103222e771')
14 b2sums=('73ecbcbb3fce93e8ceb88f6f7669bb681d2329935018cc2a23929cf6672959a0678b47c830cfdcf8e716709ce5252a02178737a7af09de373f7c8b54f38f3d9d')
16 prepare() {
17   mv -v "${pkgname}-${pkgver//./_}" "${pkgname}-${pkgver}"
18   cd "${pkgname}-${pkgver}"
19   autoreconf -vfi
22 build() {
23   cd "${pkgname}-${pkgver}"
24   ./configure --prefix=/usr
25   make
28 package() {
29   cd "${pkgname}-${pkgver}"
30   make DESTDIR="${pkgdir}" install
31   install -vDm 644 {AUTHORS,ChangeLog,NEWS,README*,TODO} \
32     -t "${pkgdir}/usr/share/doc/${pkgname}"