archrelease: copy trunk to extra-x86_64
[arch-packages.git] / faad2 / repos / extra-x86_64 / PKGBUILD
blob0e51307aa31f1686af3ba49aec0e9ff597e4abfe
1 # Maintainer: David Runge <dvzrv@archlinux.org>
3 pkgname=faad2
4 pkgver=2.10.1
5 pkgrel=1
6 pkgdesc="Freeware Advanced Audio (AAC) 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 options=(debug)
13 source=($pkgname-$pkgver.tar.gz::https://github.com/knik0/faad2/archive/$pkgver.tar.gz)
14 sha512sums=('8df69278350c68dd770c4bc482e42bc95eb04cd784eeea3f3fc58d615833c8b07dc3c72029bb7e5bfed612b7c1b8daefc9cb57be9789befb587120ef115e55b3')
15 b2sums=('f25bf9242675250b910bd5540487cf708d6e195e1ddca0b27588678e5fbf2bedf9d41e6bc607aa34bb2dbff95a8a4071e74e2f9bd9493ccb7ef040ce9bf81b4c')
17 prepare() {
18   cd $pkgname-$pkgver
19   autoreconf -fiv
22 build() {
23   cd $pkgname-$pkgver
24   ./configure --prefix=/usr
25   make
28 check() {
29   make -k check -C $pkgname-$pkgver
32 package() {
33   cd $pkgname-$pkgver
34   make DESTDIR="$pkgdir" install
35   install -vDm 644 {AUTHORS,ChangeLog,NEWS,README*,TODO} -t "$pkgdir/usr/share/doc/$pkgname/"