blob: 3804ed5a877a596b342ff381211718d069c0d7a9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# $Id: PKGBUILD 197236 2013-10-24 15:27:20Z eric $
# Maintainer: Eric Bélanger <eric@archlinux.org>
pkgname=faad2
pkgver=2.7
pkgrel=4
pkgdesc="ISO AAC audio decoder"
arch=('i686' 'x86_64')
url="http://www.audiocoding.com/"
license=('GPL')
depends=('glibc')
options=('!makeflags')
source=(http://downloads.sourceforge.net/sourceforge/faac/${pkgname}-${pkgver}.tar.bz2
faad2-2.7-libmp4ff-install-mp4ff_int_types_h.patch
faad2-2.7-libmp4ff-shared-lib.patch
faad2-2.7-man1_MANS.patch)
sha1sums=('b0e80481d27ae9faf9e46c8c8dfb617a0adb91b5'
'1cf28cfd32dbae6cc484b149fd6adfea33506544'
'247658aa795cd6d44a153fae8c5cb62e427f3ecf'
'4b548a08f7611a5f4f395c7c1d4cef5e37368af2')
prepare() {
cd ${pkgname}-${pkgver}
patch -p1 -i "${srcdir}/faad2-2.7-libmp4ff-shared-lib.patch"
patch -p0 -i "${srcdir}/faad2-2.7-libmp4ff-install-mp4ff_int_types_h.patch"
patch -p1 -i "${srcdir}/faad2-2.7-man1_MANS.patch"
autoreconf --force --install
}
build() {
cd ${pkgname}-${pkgver}
./configure --prefix=/usr
make CFLAGS="${CFLAGS} -fPIC"
}
package() {
cd ${pkgname}-${pkgver}
make DESTDIR="${pkgdir}" install
}
|