[arch-commits] Commit in lib32-alsa-lib/trunk (PKGBUILD)
Jan Steffens
heftig at archlinux.org
Wed Jan 22 23:35:36 UTC 2020
Date: Wednesday, January 22, 2020 @ 23:35:35
Author: heftig
Revision: 554653
1.2.1.2-2
Modified:
lib32-alsa-lib/trunk/PKGBUILD
----------+
PKGBUILD | 20 ++++++++++++++++----
1 file changed, 16 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-01-22 23:19:15 UTC (rev 554652)
+++ PKGBUILD 2020-01-22 23:35:35 UTC (rev 554653)
@@ -2,15 +2,21 @@
pkgname=lib32-alsa-lib
pkgver=1.2.1.2
-pkgrel=1
+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')
-license=('LGPL')
-source=(ftp://ftp.alsa-project.org/pub/lib/alsa-lib-$pkgver.tar.bz2)
+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
@@ -21,8 +27,14 @@
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 -rf "$pkgdir"/usr/{bin,include,share}
+ rm -r "$pkgdir"/usr/{bin,include,share}
}
More information about the arch-commits
mailing list