summaryrefslogtreecommitdiff
path: root/extra/opencore-amr
diff options
context:
space:
mode:
Diffstat (limited to 'extra/opencore-amr')
-rw-r--r--extra/opencore-amr/PKGBUILD14
1 files changed, 8 insertions, 6 deletions
diff --git a/extra/opencore-amr/PKGBUILD b/extra/opencore-amr/PKGBUILD
index affd35652..dcee133c9 100644
--- a/extra/opencore-amr/PKGBUILD
+++ b/extra/opencore-amr/PKGBUILD
@@ -1,24 +1,26 @@
-# $Id: PKGBUILD 62601 2010-01-10 14:07:22Z ibiru $
+# $Id: PKGBUILD 150469 2012-02-18 00:45:39Z allan $
# Maintainer: Ionut Biru <ionut@archlinux.ro>
# Contributor: WAntilles <wantilles@adslgr.com>
pkgname=opencore-amr
pkgver=0.1.2
-pkgrel=1
+pkgrel=2
pkgdesc="Open source implementation of the Adaptive Multi Rate (AMR) speech codec"
arch=('i686' 'x86_64' 'mips64el')
license=('APACHE')
url="http://opencore-amr.sourceforge.net/"
-depends=('gcc-libs')
source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz)
options=('!libtool')
md5sums=('8e8b8b253eb046340ff7b6bf7a6ccd3e')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
+ ./configure --prefix=/usr
+ make
+}
- ./configure --prefix=/usr || return 1
- make || return 1
- make DESTDIR=${pkgdir}/ install || return 1
+package() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ make DESTDIR=${pkgdir}/ install
}