Date: Saturday, January 18, 2020 @ 16:18:13
  Author: dvzrv
Revision: 373680

archrelease: copy trunk to extra-x86_64

Added:
  alsa-lib/repos/extra-x86_64/PKGBUILD
    (from rev 373679, alsa-lib/trunk/PKGBUILD)
Deleted:
  alsa-lib/repos/extra-x86_64/PKGBUILD

----------+
 PKGBUILD |   63 ++++++++++++++++++++++++++++++++++++++-----------------------
 1 file changed, 40 insertions(+), 23 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2020-01-18 16:18:02 UTC (rev 373679)
+++ PKGBUILD    2020-01-18 16:18:13 UTC (rev 373680)
@@ -1,23 +0,0 @@
-# Contributor: judd <jvi...@zeroflux.org>
-
-pkgname=alsa-lib
-pkgver=1.2.1.2
-pkgrel=2
-pkgdesc="An alternative implementation of Linux sound support"
-arch=('x86_64')
-url="https://www.alsa-project.org";
-depends=('glibc' 'alsa-topology-conf' 'alsa-ucm-conf')
-license=('LGPL')
-source=(ftp://ftp.alsa-project.org/pub/lib/$pkgname-$pkgver.tar.bz2)
-sha512sums=('e8286fd55f63ee0d95513279d0885c287533de89b7af6c338413dec5d38ba4f5a15da1a4a4ce36e052614e4b730e3778782dab9979d82958283be17b48604913')
-
-build() {
-  cd "$srcdir/$pkgname-$pkgver"
-  ./configure --without-debug --prefix=/usr
-  make
-}
-
-package() {
-  cd "$srcdir/$pkgname-$pkgver"
-  make DESTDIR="$pkgdir" install
-}

Copied: alsa-lib/repos/extra-x86_64/PKGBUILD (from rev 373679, 
alsa-lib/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2020-01-18 16:18:13 UTC (rev 373680)
@@ -0,0 +1,40 @@
+# Maintainer: David Runge <dv...@archlinux.org>
+# Contributor: judd <jvi...@zeroflux.org>
+
+pkgname=alsa-lib
+pkgver=1.2.1.2
+pkgrel=3
+pkgdesc="An alternative implementation of Linux sound support"
+arch=('x86_64')
+url="https://www.alsa-project.org";
+license=('LGPL2.1')
+depends=('glibc' 'alsa-topology-conf' 'alsa-ucm-conf')
+provides=('libasound.so' 'libatopology.so')
+source=("https://www.alsa-project.org/files/pub/lib/$pkgname-$pkgver.tar.bz2";)
+sha512sums=('e8286fd55f63ee0d95513279d0885c287533de89b7af6c338413dec5d38ba4f5a15da1a4a4ce36e052614e4b730e3778782dab9979d82958283be17b48604913')
+
+prepare() {
+  cd "$pkgname-$pkgver"
+  autoreconf -vfi
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+  ./configure --prefix=/usr \
+              --without-debug
+  make
+}
+
+check() {
+  cd "$pkgname-$pkgver"
+  export LD_LIBRARY_PATH="${PWD}/src/.libs/:${LD_LIBRARY_PATH}"
+  make -k check
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+  make DESTDIR="$pkgdir" install
+  make DESTDIR="$pkgdir" install -C doc
+  install -vDm 644 {MEMORY-LEAK,TODO,NOTES,ChangeLog,doc/asoundrc.txt} \
+    -t "${pkgdir}/usr/share/doc/${pkgname}"
+}

Reply via email to