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

Felix Yan fyan at archlinux.org
Tue Nov 10 03:23:03 UTC 2015


    Date: Tuesday, November 10, 2015 @ 04:23:02
  Author: fyan
Revision: 146463

archrelease: copy trunk to multilib-testing-x86_64

Added:
  lib32-alsa-lib/repos/multilib-testing-x86_64/
  lib32-alsa-lib/repos/multilib-testing-x86_64/PKGBUILD
    (from rev 146462, lib32-alsa-lib/trunk/PKGBUILD)

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

Copied: lib32-alsa-lib/repos/multilib-testing-x86_64/PKGBUILD (from rev 146462, lib32-alsa-lib/trunk/PKGBUILD)
===================================================================
--- multilib-testing-x86_64/PKGBUILD	                        (rev 0)
+++ multilib-testing-x86_64/PKGBUILD	2015-11-10 03:23:02 UTC (rev 146463)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Jan "heftig" Steffens <jan.steffens at gmail.com>
+
+_pkgbasename=alsa-lib
+pkgname=lib32-${_pkgbasename}
+pkgver=1.1.0
+pkgrel=1
+pkgdesc="An alternative implementation of Linux sound support (32 bit)"
+arch=('x86_64')
+url="http://www.alsa-project.org"
+depends=('lib32-glibc' $_pkgbasename)
+makedepends=('gcc-multilib')
+license=('GPL')
+source=(ftp://ftp.alsa-project.org/pub/lib/${_pkgbasename}-$pkgver.tar.bz2)
+md5sums=('69515ca73c3c4a212ef45160dea846c1')
+
+build() {
+  cd $srcdir/${_pkgbasename}-$pkgver
+
+  export CC='gcc -m32'
+  export PKG_CONFIG_PATH=/usr/lib32/pkgconfig
+
+  ./configure --prefix=/usr --libdir=/usr/lib32 --disable-python
+  make
+}
+
+package() {
+  cd $srcdir/${_pkgbasename}-$pkgver
+
+  make DESTDIR=$pkgdir install
+
+  # Clean up lib32 package
+  rm -rf "${pkgdir}"/usr/{bin,include,share}
+}



More information about the arch-commits mailing list