[arch-commits] Commit in alsa-ucm-conf/trunk (PKGBUILD)

David Runge dvzrv at archlinux.org
Mon May 31 17:34:12 UTC 2021


    Date: Monday, May 31, 2021 @ 17:34:11
  Author: dvzrv
Revision: 416886

upgpkg: alsa-ucm-conf 1.2.5-1: Upgrade to 1.2.5.

Adapt to wrong directory naming: https://github.com/alsa-project/alsa-ucm-conf/issues/95

Modified:
  alsa-ucm-conf/trunk/PKGBUILD

----------+
 PKGBUILD |   14 ++++++++++----
 1 file changed, 10 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-05-31 17:25:13 UTC (rev 416885)
+++ PKGBUILD	2021-05-31 17:34:11 UTC (rev 416886)
@@ -2,19 +2,25 @@
 # Contributor: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
 
 pkgname=alsa-ucm-conf
-pkgver=1.2.4
-pkgrel=2
+pkgver=1.2.5
+pkgrel=1
 pkgdesc="ALSA Use Case Manager configuration (and topologies)"
 url="https://alsa-project.org/"
 arch=('any')
 license=('BSD')
 source=("https://www.alsa-project.org/files/pub/lib/${pkgname}-${pkgver}.tar.bz2"{,.sig})
-sha512sums=('9043460e92b2ed44757b08b9faca888e8bfae40d84e4ad7e7df44df2bb3b0617e86ef23783973accd62fb6681788262e67212e2bf67178d75781e57a0fa346d2'
+sha512sums=('f16e8f04018c65de5e24f2a3eb0b3edff26cbce78cc1820c42c46907c903913c571797b59e803ae36b8ec3136487d0a5aacd034e2a8df3e15ed998b7a70152b7'
             'SKIP')
-b2sums=('545f3bfb36c6c41e48a5d6c2a98b936b2e71d8aab99227faecfcb1dd1dec9a03eb25f1664ca9aad3f9371f140b548258bba5a3904f5a3ec83513eb72abe7c7c2'
+b2sums=('8ecd5adee6c9f429ab2791dfd57b0f9b1d58272b04d2c6cd3ad9aba36b53b380cfe626cae1e5c40f703eb7f891fb53b0bf70a78f9e5d2d8ae6b2dfb30fd6f659'
         'SKIP')
 validpgpkeys=('F04DF50737AC1A884C4B3D718380596DA6E59C91') # ALSA Release Team (Package Signing Key v1) <release at alsa-project.org>
 
+prepare() {
+  # upstream creates tarball contents that don't match the version
+  # https://github.com/alsa-project/alsa-ucm-conf/issues/95
+  mv -v "${pkgname}-"*/ "${pkgname}-${pkgver}"
+}
+
 package() {
   cd "${pkgname}-${pkgver}"
   find ucm2 -type f -iname "*.conf" -exec install -vDm 644 {} "${pkgdir}/usr/share/alsa/"{} \;



More information about the arch-commits mailing list