[arch-commits] Commit in lib32-speex/trunk (PKGBUILD)
Jan Steffens
heftig at archlinux.org
Fri Feb 13 01:27:23 UTC 2015
Date: Friday, February 13, 2015 @ 02:27:22
Author: heftig
Revision: 127638
1.2rc2
Modified:
lib32-speex/trunk/PKGBUILD
----------+
PKGBUILD | 27 ++++++++++++++++-----------
1 file changed, 16 insertions(+), 11 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2015-02-13 01:23:18 UTC (rev 127637)
+++ PKGBUILD 2015-02-13 01:27:22 UTC (rev 127638)
@@ -1,34 +1,39 @@
# $Id$
-# Maintainer: Jan "heftig" Steffens <jan.steffens at gmail.com>
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
_pkgbasename=speex
pkgname=lib32-$_pkgbasename
-pkgver=1.2rc1
-pkgrel=5
+pkgver=1.2rc2
+pkgrel=1
pkgdesc="A free codec for free speech (32-bit)"
arch=(x86_64)
+url="http://www.speex.org/"
license=('BSD')
-depends=('lib32-libogg' $_pkgbasename)
+depends=('lib32-libogg' 'lib32-speexdsp' $_pkgbasename)
makedepends=(gcc-multilib)
-options=('!libtool')
source=(http://downloads.us.xiph.org/releases/$_pkgbasename/$_pkgbasename-$pkgver.tar.gz)
-md5sums=('c4438b22c08e5811ff10e2b06ee9b9ae')
-url="http://www.speex.org/"
+md5sums=('6ae7db3bab01e1d4b86bacfa8ca33e81')
build() {
- cd $srcdir/speex-$pkgver
+ cd $_pkgbasename-$pkgver
export CC="gcc -m32"
export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
- --libdir=/usr/lib32
+ --libdir=/usr/lib32 \
+ --enable-binaries # Must be given or configure won't use pkg-config correctly
make
}
+check() {
+ cd $_pkgbasename-$pkgver
+ make -k check
+}
+
package() {
- cd $srcdir/speex-$pkgver
- make DESTDIR=$pkgdir install
+ cd $_pkgbasename-$pkgver
+ make DESTDIR="$pkgdir" install
rm -rf "${pkgdir}"/usr/{include,share,bin}
mkdir -p "$pkgdir/usr/share/licenses"
ln -s $_pkgbasename "$pkgdir/usr/share/licenses/$pkgname"
More information about the arch-commits
mailing list