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

Jan Steffens heftig at archlinux.org
Fri Nov 17 23:28:45 UTC 2017


    Date: Friday, November 17, 2017 @ 23:28:43
  Author: heftig
Revision: 267173

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 267172, lib32-alsa-lib/trunk/PKGBUILD)

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

Copied: lib32-alsa-lib/repos/multilib-testing-x86_64/PKGBUILD (from rev 267172, lib32-alsa-lib/trunk/PKGBUILD)
===================================================================
--- multilib-testing-x86_64/PKGBUILD	                        (rev 0)
+++ multilib-testing-x86_64/PKGBUILD	2017-11-17 23:28:43 UTC (rev 267173)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+
+_pkgbasename=alsa-lib
+pkgname=lib32-${_pkgbasename}
+pkgver=1.1.5
+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)
+sha1sums=('636ac0b2b759108ca9b0f4efa1c3e8650cf9c9f6')
+
+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