diff options
Diffstat (limited to 'multimedia/opera-developer-ffmpeg-codecs/opera-developer-ffmpeg-codecs.SlackBuild')
-rw-r--r-- | multimedia/opera-developer-ffmpeg-codecs/opera-developer-ffmpeg-codecs.SlackBuild | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/multimedia/opera-developer-ffmpeg-codecs/opera-developer-ffmpeg-codecs.SlackBuild b/multimedia/opera-developer-ffmpeg-codecs/opera-developer-ffmpeg-codecs.SlackBuild index e4fe8519e6..625d0edd71 100644 --- a/multimedia/opera-developer-ffmpeg-codecs/opera-developer-ffmpeg-codecs.SlackBuild +++ b/multimedia/opera-developer-ffmpeg-codecs/opera-developer-ffmpeg-codecs.SlackBuild @@ -24,7 +24,7 @@ PRGNAM="opera-developer-ffmpeg-codecs" VERSION=${VERSION:-60.0.3107.4} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -44,23 +44,27 @@ if [ "$ARCH" = "i586" ]; then SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" BITS="i686" + echo "This package is currently only available for 64bit." + exit 1 elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" BITS="i686" + echo "This package is currently only available for 64bit." + exit 1 elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" BITS="x86_64" else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" + echo "Package for $(uname -m) architecture is not available." + exit 1 fi -set -e - SRCVER=$VERSION-1 +set -e + rm -rf $PKG $TMP/$PRGNAM mkdir -p $TMP/$PRGNAM $PKG $OUTPUT |