summaryrefslogtreecommitdiffstats
path: root/opencore-amr/PKGBUILD
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xssn.at>2009-11-01 11:45:31 +0100
committerFlorian Pritz <bluewind@xssn.at>2009-11-01 11:48:26 +0100
commit84f2ca8a80d6a9bc12020bcd21c836c74c5240da (patch)
treea56106f8c1540c99b51b5d769e90934cdabff793 /opencore-amr/PKGBUILD
parent27a87d5d108490d90b6be4e0003bcd2f6320b3ce (diff)
downloadaur-packages-84f2ca8a80d6a9bc12020bcd21c836c74c5240da.tar.gz
aur-packages-84f2ca8a80d6a9bc12020bcd21c836c74c5240da.tar.xz
upstream updates
Signed-off-by: Florian Pritz <bluewind@xssn.at>
Diffstat (limited to 'opencore-amr/PKGBUILD')
-rw-r--r--opencore-amr/PKGBUILD28
1 files changed, 6 insertions, 22 deletions
diff --git a/opencore-amr/PKGBUILD b/opencore-amr/PKGBUILD
index da36ced..755a7c8 100644
--- a/opencore-amr/PKGBUILD
+++ b/opencore-amr/PKGBUILD
@@ -1,37 +1,21 @@
# Contributor: WAntilles <wantilles@adslgr.com>
-# Many thanks to the Gentoo guys.
pkgname=opencore-amr
-pkgver=0.1.1
-pkgrel=2
+pkgver=0.1.2
+pkgrel=1
pkgdesc="Open source implementation of the Adaptive Multi Rate (AMR) speech codec"
arch=('i686' 'x86_64')
license=('GPL')
url="http://opencore-amr.sourceforge.net/"
depends=('glibc')
-source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz
- opencore-amr-0.1.1-gentoo-pic.patch
- opencore-amr-0.1.1-arch-paths.patch)
-md5sums=('d2e18436202fc14e03e5a254f8eb1df4'
- '8bf96678aaec5a6173185dd9608799d1'
- 'd253da6c39b3c7455ed01afa1e1d300a')
+source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz)
+md5sums=('8e8b8b253eb046340ff7b6bf7a6ccd3e')
build() {
- cd ${srcdir}/${pkgname}
-
- #Patch for -fPIC problem (graciously taken from Gentoo's e-build)
- patch -Np2 -i "${srcdir}/opencore-amr-0.1.1-gentoo-pic.patch" || return 1
-
- #Patch for correct Arch paths
- patch -Np1 -i "${srcdir}/opencore-amr-0.1.1-arch-paths.patch" || return 1
+ cd ${srcdir}/${pkgname}-${pkgver}
+ ./configure --prefix=/usr || return 1
make || return 1
make DESTDIR=${pkgdir}/ install || return 1
}
-md5sums=('dcdc1b3a7f32668b196e861b0fa0e602'
- '8bf96678aaec5a6173185dd9608799d1'
- 'd253da6c39b3c7455ed01afa1e1d300a')
-sha256sums=('eb17e4b99a37b66b85798551fb2036664e34f61fa06b2a9b5516d6216f5f007d'
- '83cce71c7bac50781cca800fbd0a81f7fd1f52714b9bd7cad46b242cc79000fa'
- '25f30aa53d3cc6a4fef2b3695c89cd399586eb5c741174bb371cb2084bfe55b5')