[arch-commits] Commit in lib32-speexdsp/trunk (PKGBUILD)
Jan Steffens
heftig at archlinux.org
Fri Feb 13 01:23:18 UTC 2015
Date: Friday, February 13, 2015 @ 02:23:18
Author: heftig
Revision: 127637
lib32-speexdsp
Added:
lib32-speexdsp/trunk/PKGBUILD
----------+
PKGBUILD | 39 +++++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
Added: PKGBUILD
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2015-02-13 01:23:18 UTC (rev 127637)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+
+_pkgbasename=speexdsp
+pkgname=lib32-$_pkgbasename
+pkgver=1.2rc3
+pkgrel=1
+pkgdesc="DSP library derived from Speex (32-bit)"
+arch=(x86_64)
+url="http://www.speex.org/"
+license=(BSD)
+depends=(lib32-glibc $_pkgbasename)
+makedepends=(gcc-multilib)
+source=(http://downloads.us.xiph.org/releases/speex/$_pkgbasename-$pkgver.tar.gz)
+sha256sums=('4ae688600039f5d224bdf2e222d2fbde65608447e4c2f681585e4dca6df692f1')
+
+build() {
+ cd $_pkgbasename-$pkgver
+
+ export CC="gcc -m32"
+ export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
+
+ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --disable-static \
+ --libdir=/usr/lib32
+ make
+}
+
+check() {
+ cd $_pkgbasename-$pkgver
+ make -k check
+}
+
+package() {
+ cd $_pkgbasename-$pkgver
+ make DESTDIR="$pkgdir" install
+ rm -rf "${pkgdir}"/usr/{include,share}
+ mkdir -p "$pkgdir/usr/share/licenses"
+ ln -s $_pkgbasename "$pkgdir/usr/share/licenses/$pkgname"
+}
Property changes on: lib32-speexdsp/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
More information about the arch-commits
mailing list