mirror of
https://github.com/Ponce/slackbuilds
synced 2024-12-02 13:04:42 +01:00
ham/svxlink-sounds-en_US-heather-16k: Support alt tarball name.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
parent
a4f3217109
commit
578809a1d9
1 changed files with 5 additions and 7 deletions
|
@ -23,6 +23,7 @@
|
|||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
PRGNAM=svxlink-sounds-en_US-heather-16k
|
||||
SRCNAM=svxlink-sounds-en_US-heather
|
||||
VERSION=${VERSION:-14.08}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
@ -38,14 +39,11 @@ set -e
|
|||
|
||||
rm -rf $PKG
|
||||
mkdir -p $TMP $PKG $OUTPUT
|
||||
mkdir -p $PKG/usr/share/svxlink/sounds
|
||||
cd $PKG/usr/share/svxlink/sounds
|
||||
tar xzvf $CWD/$VERSION.tar.gz
|
||||
# source unpacks to nonstandard directory name, moving..
|
||||
mkdir -p $PKG/usr/share/svxlink/sounds/en_US-heather-16k
|
||||
mv $PKG/usr/share/svxlink/sounds/svxlink-sounds-en_US-heather-$VERSION/* $PKG/usr/share/svxlink/sounds/en_US-heather-16k/
|
||||
|
||||
rm -rf $PKG/usr/share/svxlink/sounds/svxlink-sounds-en_US-heather-$VERSION
|
||||
mkdir -p $PKG/usr/share/svxlink/sounds/en_US-heather-16k
|
||||
cd $PKG/usr/share/svxlink/sounds/en_US-heather-16k
|
||||
tar xvf $CWD/$VERSION.tar.gz --strip-components 1 || \
|
||||
tar xvf $CWD/$SRCNAM-$VERSION.tar.gz --strip-components 1
|
||||
|
||||
chown -R root:root .
|
||||
find -L . \
|
||||
|
|
Loading…
Reference in a new issue