[arch-commits] Commit in lib32-alsa-lib/repos/multilib-x86_64 (PKGBUILD PKGBUILD)
Jan Steffens
heftig at archlinux.org
Wed Jan 22 23:35:49 UTC 2020
Date: Wednesday, January 22, 2020 @ 23:35:48
Author: heftig
Revision: 554654
archrelease: copy trunk to multilib-x86_64
Added:
lib32-alsa-lib/repos/multilib-x86_64/PKGBUILD
(from rev 554653, lib32-alsa-lib/trunk/PKGBUILD)
Deleted:
lib32-alsa-lib/repos/multilib-x86_64/PKGBUILD
----------+
PKGBUILD | 68 +++++++++++++++++++++++++++++++++++--------------------------
1 file changed, 40 insertions(+), 28 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-01-22 23:35:35 UTC (rev 554653)
+++ PKGBUILD 2020-01-22 23:35:48 UTC (rev 554654)
@@ -1,28 +0,0 @@
-# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
-
-pkgname=lib32-alsa-lib
-pkgver=1.2.1.2
-pkgrel=1
-pkgdesc="An alternative implementation of Linux sound support (32 bit)"
-arch=('x86_64')
-url="https://www.alsa-project.org"
-depends=('lib32-glibc' 'alsa-lib')
-license=('LGPL')
-source=(ftp://ftp.alsa-project.org/pub/lib/alsa-lib-$pkgver.tar.bz2)
-sha512sums=('e8286fd55f63ee0d95513279d0885c287533de89b7af6c338413dec5d38ba4f5a15da1a4a4ce36e052614e4b730e3778782dab9979d82958283be17b48604913')
-
-build() {
- cd alsa-lib-$pkgver
-
- export CC='gcc -m32'
- export PKG_CONFIG=i686-pc-linux-gnu-pkg-config
-
- ./configure --without-debug --prefix=/usr --libdir=/usr/lib32 --disable-python
- make
-}
-
-package() {
- cd alsa-lib-$pkgver
- make DESTDIR="$pkgdir" install
- rm -rf "$pkgdir"/usr/{bin,include,share}
-}
Copied: lib32-alsa-lib/repos/multilib-x86_64/PKGBUILD (from rev 554653, lib32-alsa-lib/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-01-22 23:35:48 UTC (rev 554654)
@@ -0,0 +1,40 @@
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+
+pkgname=lib32-alsa-lib
+pkgver=1.2.1.2
+pkgrel=2
+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')
+provides=('libasound.so' 'libatopology.so')
+source=("https://www.alsa-project.org/files/pub/lib/alsa-lib-$pkgver.tar.bz2")
+sha512sums=('e8286fd55f63ee0d95513279d0885c287533de89b7af6c338413dec5d38ba4f5a15da1a4a4ce36e052614e4b730e3778782dab9979d82958283be17b48604913')
+
+prepare() {
+ cd alsa-lib-$pkgver
+ autoreconf -vfi
+}
+
+build() {
+ cd alsa-lib-$pkgver
+
+ export CC='gcc -m32'
+ export PKG_CONFIG=i686-pc-linux-gnu-pkg-config
+
+ ./configure --without-debug --prefix=/usr --libdir=/usr/lib32 --disable-python
+ make
+}
+
+check() {
+ cd alsa-lib-$pkgver
+ export LD_LIBRARY_PATH="${PWD}/src/.libs/:${LD_LIBRARY_PATH}"
+ make -k check
+}
+
+package() {
+ cd alsa-lib-$pkgver
+ make DESTDIR="$pkgdir" install
+ rm -r "$pkgdir"/usr/{bin,include,share}
+}
More information about the arch-commits
mailing list