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

Allan McRae allan at archlinux.org
Fri Sep 9 22:57:17 UTC 2011


    Date: Friday, September 9, 2011 @ 18:57:17
  Author: allan
Revision: 137582

upgpkg: speex 1.2rc1-2

old package rebuild

Modified:
  speex/trunk/PKGBUILD

----------+
 PKGBUILD |   23 +++++++++++++----------
 1 file changed, 13 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-09-09 22:14:52 UTC (rev 137581)
+++ PKGBUILD	2011-09-09 22:57:17 UTC (rev 137582)
@@ -1,25 +1,28 @@
 # $Id$
+# Maintainer: 
 # Contributer: Jason Chu <jason at archlinux.org>
-# Maintainer: Jason Chu <jason at archlinux.org>
 
 pkgname=speex
 pkgver=1.2rc1
-pkgrel=1.1
+pkgrel=2
 pkgdesc="A free codec for free speech"
 arch=('i686' 'x86_64')
+url="http://www.speex.org/"
 license=('BSD')
 depends=('libogg')
 options=('!libtool')
 source=(http://downloads.us.xiph.org/releases/$pkgname/$pkgname-$pkgver.tar.gz)
 md5sums=('c4438b22c08e5811ff10e2b06ee9b9ae')
-url="http://www.speex.org/"
 
 build() {
-   cd $startdir/src/speex-$pkgver
-   ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
-   make || return 1
-   make DESTDIR=$startdir/pkg install
-   #to fix kde detection
-   cp $startdir/pkg/usr/include/speex/* $startdir/pkg/usr/include/
-   install -D -m644 COPYING $startdir/pkg/usr/share/licenses/$pkgname/LICENSE
+  cd $srcdir/speex-$pkgver
+  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
+  make
 }
+
+package() {
+  cd $srcdir/speex-$pkgver
+  make DESTDIR=$startdir/pkg install
+
+  install -D -m644 COPYING $startdir/pkg/usr/share/licenses/$pkgname/LICENSE
+}




More information about the arch-commits mailing list