summaryrefslogtreecommitdiff
path: root/multimedia/plex-home-theater/plex-home-theater.SlackBuild
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2017-03-21 03:06:59 -0400
committerDavid Spencer <idlemoor@slackbuilds.org>2017-03-25 13:28:23 +0000
commitc2bcf861ff6ed4eb95f23f93c8f1523b24da83dd (patch)
tree99e5a7e58167413759ac21e2aaedd4caca6d0c55 /multimedia/plex-home-theater/plex-home-theater.SlackBuild
parent9fc07c4028d780708fcbbcf3c6898752c64941bf (diff)
downloadslackbuilds-c2bcf861ff6ed4eb95f23f93c8f1523b24da83dd.tar.gz
multimedia/plex-home-theater: Make .desktop validate, i486=>i586.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'multimedia/plex-home-theater/plex-home-theater.SlackBuild')
-rw-r--r--multimedia/plex-home-theater/plex-home-theater.SlackBuild7
1 files changed, 4 insertions, 3 deletions
diff --git a/multimedia/plex-home-theater/plex-home-theater.SlackBuild b/multimedia/plex-home-theater/plex-home-theater.SlackBuild
index b13f2e9a9c..ed7ca38074 100644
--- a/multimedia/plex-home-theater/plex-home-theater.SlackBuild
+++ b/multimedia/plex-home-theater/plex-home-theater.SlackBuild
@@ -32,7 +32,7 @@ TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -43,8 +43,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -129,6 +129,7 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}