diff options
-rw-r--r-- | ham/svxlink-sounds-en_US-heather-16k/svxlink-sounds-en_US-heather-16k.SlackBuild | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/ham/svxlink-sounds-en_US-heather-16k/svxlink-sounds-en_US-heather-16k.SlackBuild b/ham/svxlink-sounds-en_US-heather-16k/svxlink-sounds-en_US-heather-16k.SlackBuild index 7b20ff5dd2..c60cc3d72a 100644 --- a/ham/svxlink-sounds-en_US-heather-16k/svxlink-sounds-en_US-heather-16k.SlackBuild +++ b/ham/svxlink-sounds-en_US-heather-16k/svxlink-sounds-en_US-heather-16k.SlackBuild @@ -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 . \ |