[arch-commits] Commit in lib32-alsa-lib/repos (2 files)
David Runge
dvzrv at archlinux.org
Mon May 31 17:40:07 UTC 2021
Date: Monday, May 31, 2021 @ 17:40:07
Author: dvzrv
Revision: 952849
archrelease: copy trunk to multilib-staging-x86_64
Added:
lib32-alsa-lib/repos/multilib-staging-x86_64/
lib32-alsa-lib/repos/multilib-staging-x86_64/PKGBUILD
(from rev 952848, lib32-alsa-lib/trunk/PKGBUILD)
----------+
PKGBUILD | 49 +++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 49 insertions(+)
Copied: lib32-alsa-lib/repos/multilib-staging-x86_64/PKGBUILD (from rev 952848, lib32-alsa-lib/trunk/PKGBUILD)
===================================================================
--- multilib-staging-x86_64/PKGBUILD (rev 0)
+++ multilib-staging-x86_64/PKGBUILD 2021-05-31 17:40:07 UTC (rev 952849)
@@ -0,0 +1,49 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+# Contributor: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+
+_name=alsa-lib
+pkgname=lib32-alsa-lib
+pkgver=1.2.5
+pkgrel=1
+pkgdesc="An alternative implementation of Linux sound support (32 bit)"
+arch=('x86_64')
+url="https://www.alsa-project.org"
+license=('LGPL2.1')
+depends=('lib32-glibc' "alsa-lib=${pkgver}")
+provides=('libasound.so' 'libatopology.so')
+source=("https://www.alsa-project.org/files/pub/lib/${_name}-${pkgver}.tar.bz2"{,.sig})
+sha512sums=('d9b53484737a3684aac7e08b4b18400aac10fec1a78a8bf9101944bea2c50710bc7355e9bb0012541b067e2d5ee7b1b818bf1bdbffbb2b2d7ad0eb15efe49725'
+ 'SKIP')
+b2sums=('84fe4e22d4316bfc84f15f2493f40f113eb3db7722f230550586533e80daf214140164e8ddc1a399b82a3fd0fb21125ff225cfeb45eaa19320c2e2aa3997c662'
+ 'SKIP')
+validpgpkeys=('F04DF50737AC1A884C4B3D718380596DA6E59C91') # ALSA Release Team (Package Signing Key v1) <release at alsa-project.org>
+
+prepare() {
+ cd "${_name}-$pkgver"
+ autoreconf -vfi
+}
+
+build() {
+ cd "${_name}-$pkgver"
+
+ export CC='gcc -m32'
+ export PKG_CONFIG=i686-pc-linux-gnu-pkg-config
+
+ ./configure --prefix=/usr \
+ --libdir=/usr/lib32 \
+ --without-debug \
+ --disable-python
+ make
+}
+
+check() {
+ cd "${_name}-$pkgver"
+ export LD_LIBRARY_PATH="${PWD}/src/.libs/:${LD_LIBRARY_PATH}"
+ make -k check
+}
+
+package() {
+ cd "${_name}-$pkgver"
+ make DESTDIR="$pkgdir" install
+ rm -r "$pkgdir"/usr/{bin,include,share}
+}
More information about the arch-commits
mailing list