archrelease: copy trunk to extra-x86_64
[arch-packages.git] / opencore-amr / trunk / PKGBUILD
blob43c444863d0c2bc86fec4afefac425f5347bc027
1 # Maintainer: David Runge <dvzrv@archlinux.org>
2 # Contributor: Ionut Biru <ionut@archlinux.ro>
3 # Contributor: WAntilles <wantilles@adslgr.com>
5 pkgname=opencore-amr
6 pkgver=0.1.5
7 pkgrel=5
8 pkgdesc="Open source implementation of the Adaptive Multi Rate (AMR) speech codec"
9 arch=('x86_64')
10 license=('Apache')
11 url="https://sourceforge.net/projects/opencore-amr/"
12 source=("https://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz")
13 depends=('glibc')
14 provides=('libopencore-amrwb.so' 'libopencore-amrnb.so')
15 sha512sums=('c324db9dcac5a31bfac633153bc054bfe42d5ff98202c4adb3c75a3fae9792f07f60d48cd659acf106dacd307174a62b2aeee22a4af53caa20d2bfba46488faf')
16 b2sums=('4943a27f0df3d874720c87f48c523d9aa4cce849dd0a3c9183466416a0629aa02dac8f01646e469e8c45438bf3c57047eb11e69f3f1b261449a0989a36639e59')
18 prepare() {
19   cd "$pkgname-$pkgver"
20   autoreconf -vfi
23 build() {
24   cd "$pkgname-$pkgver"
25   ./configure --prefix=/usr \
26               --disable-static \
27               --enable-examples
28   make
31 package() {
32   cd "$pkgname-$pkgver"
33   make DESTDIR="$pkgdir" install
34   install -vDm 644 {ChangeLog,README} -t "${pkgdir}/usr/share/doc/${pkgname}"