archrelease: copy trunk to extra-x86_64
[arch-packages.git] / faad2 / trunk / PKGBUILD
blob5cb44e132ed58f460a8914f9ebd91ff29a3102da
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 source=($pkgname-$pkgver.tar.gz::https://github.com/knik0/faad2/archive/$pkgver.tar.gz)
13 sha512sums=('8df69278350c68dd770c4bc482e42bc95eb04cd784eeea3f3fc58d615833c8b07dc3c72029bb7e5bfed612b7c1b8daefc9cb57be9789befb587120ef115e55b3')
14 b2sums=('f25bf9242675250b910bd5540487cf708d6e195e1ddca0b27588678e5fbf2bedf9d41e6bc607aa34bb2dbff95a8a4071e74e2f9bd9493ccb7ef040ce9bf81b4c')
16 prepare() {
17   cd $pkgname-$pkgver
18   autoreconf -fiv
21 build() {
22   cd $pkgname-$pkgver
23   ./configure --prefix=/usr
24   make
27 check() {
28   make -k check -C $pkgname-$pkgver
31 package() {
32   cd $pkgname-$pkgver
33   make DESTDIR="$pkgdir" install
34   install -vDm 644 {AUTHORS,ChangeLog,NEWS,README*,TODO} -t "$pkgdir/usr/share/doc/$pkgname/"