summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-08-07 20:49:38 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-08-07 20:49:38 (GMT)
commit7a15f3cb4f5a525f37403a55d099728dacd4bc85 (patch)
tree97ce34feb30da4b62d74780f29972ed6cda9c86c
parentf3ed85f517da4f9c61e2cc42098a5344ba92b92a (diff)
downloadlinhes_pkgbuild-7a15f3cb4f5a525f37403a55d099728dacd4bc85.zip
linhes_pkgbuild-7a15f3cb4f5a525f37403a55d099728dacd4bc85.tar.gz
linhes_pkgbuild-7a15f3cb4f5a525f37403a55d099728dacd4bc85.tar.bz2
speex 1.2rc1
-rw-r--r--abs/extra/speex/PKGBUILD27
1 files changed, 15 insertions, 12 deletions
diff --git a/abs/extra/speex/PKGBUILD b/abs/extra/speex/PKGBUILD
index aac6749..7bf7e7b 100644
--- a/abs/extra/speex/PKGBUILD
+++ b/abs/extra/speex/PKGBUILD
@@ -1,25 +1,28 @@
-# $Id: PKGBUILD 7445 2008-08-02 03:05:20Z eduardo $
+# $Id: PKGBUILD 137583 2011-09-09 22:58:20Z allan $
+# Maintainer:
# Contributer: Jason Chu <jason@archlinux.org>
-# Maintainer: Jason Chu <jason@archlinux.org>
pkgname=speex
pkgver=1.2rc1
-pkgrel=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/
- #libtoolslay
- find $startdir/pkg -name '*.la' -exec rm {} \;
+ 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
}