summaryrefslogtreecommitdiffstats
path: root/source/l/alsa-lib/alsa-lib.SlackBuild
diff options
context:
space:
mode:
author Patrick J Volkerding <volkerdi@slackware.com>2020-02-22 05:41:50 +0000
committer Eric Hameleers <alien@slackware.com>2020-02-22 17:59:46 +0100
commitc2b213d184f11d3c6585997c13262ebcde3a58d0 (patch)
tree615cb9b6476bf8555650cf6452a25e49e720f02b /source/l/alsa-lib/alsa-lib.SlackBuild
parent7ca677f34e2bc1408813c8cf7a22de78b8c8ff53 (diff)
downloadcurrent-a10bd145c14383ca91a9a8603741d828343d7c3b.tar.gz
current-a10bd145c14383ca91a9a8603741d828343d7c3b.tar.xz
Sat Feb 22 05:41:50 UTC 202020200222054150
ap/alsa-utils-1.2.2-x86_64-1.txz: Upgraded. l/alsa-lib-1.2.2-x86_64-1.txz: Upgraded. l/alsa-plugins-1.2.2-x86_64-1.txz: Upgraded. l/imagemagick-7.0.9_25-x86_64-1.txz: Upgraded. x/libva-2.6.1-x86_64-2.txz: Rebuilt. Rebuilt to add libva-wayland. Thanks to hadack. extra/pure-alsa-system/alsa-lib-1.2.2-x86_64-1_alsa.txz: Upgraded. extra/pure-alsa-system/alsa-plugins-1.2.2-x86_64-1_alsa.txz: Upgraded.
Diffstat (limited to 'source/l/alsa-lib/alsa-lib.SlackBuild')
-rwxr-xr-xsource/l/alsa-lib/alsa-lib.SlackBuild8
1 files changed, 5 insertions, 3 deletions
diff --git a/source/l/alsa-lib/alsa-lib.SlackBuild b/source/l/alsa-lib/alsa-lib.SlackBuild
index 8f057a5db..45cc4c0a1 100755
--- a/source/l/alsa-lib/alsa-lib.SlackBuild
+++ b/source/l/alsa-lib/alsa-lib.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/bash
-# Copyright 2008, 2009, 2010, 2011, 2012, 2013, 2015, 2016, 2018, 2019 Patrick J. Volkerding, Sebeka, MN, USA
+# Copyright 2008, 2009, 2010, 2011, 2012, 2013, 2015, 2016, 2018, 2019, 2020 Patrick J. Volkerding, Sebeka, MN, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=alsa-lib
VERSION=${VERSION:-$(echo alsa-lib-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-1}
NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
@@ -84,8 +84,10 @@ fi
# Untar the configuration files. We'll install them later.
( mkdir ucm-and-topology-configs
cd ucm-and-topology-configs
- for file in $CWD/alsa-*conf*tar* ; do
+ for file in $CWD/alsa-*conf*tar.lz ; do
tar xvf $file
+ mv $(basename $file .tar.lz)/* .
+ rmdir $(basename $file .tar.lz)
mv README.md README-$(echo $(basename $file) | cut -f 1-3 -d -)
done
)