[arch-commits] Commit in lib32-speexdsp/repos (2 files)

Jan Steffens heftig at archlinux.org
Fri Feb 13 01:27:57 UTC 2015


    Date: Friday, February 13, 2015 @ 02:27:57
  Author: heftig
Revision: 127639

archrelease: copy trunk to multilib-x86_64

Added:
  lib32-speexdsp/repos/multilib-x86_64/
  lib32-speexdsp/repos/multilib-x86_64/PKGBUILD
    (from rev 127638, lib32-speexdsp/trunk/PKGBUILD)

----------+
 PKGBUILD |   39 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)

Copied: lib32-speexdsp/repos/multilib-x86_64/PKGBUILD (from rev 127638, lib32-speexdsp/trunk/PKGBUILD)
===================================================================
--- multilib-x86_64/PKGBUILD	                        (rev 0)
+++ multilib-x86_64/PKGBUILD	2015-02-13 01:27:57 UTC (rev 127639)
@@ -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"
+}



More information about the arch-commits mailing list