[arch-commits] Commit in opencore-amr/trunk (PKGBUILD)

Allan McRae allan at archlinux.org
Fri Feb 17 19:44:38 EST 2012


    Date: Friday, February 17, 2012 @ 19:44:37
  Author: allan
Revision: 150468

upgpkg: opencore-amr 0.1.2-2

signing rebuild

Modified:
  opencore-amr/trunk/PKGBUILD

----------+
 PKGBUILD |   12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-02-18 00:40:03 UTC (rev 150467)
+++ PKGBUILD	2012-02-18 00:44:37 UTC (rev 150468)
@@ -4,21 +4,23 @@
 
 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')
 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
 }
 



More information about the arch-commits mailing list