games/higan: Fixed symlink, cleanups, and download link.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
This commit is contained in:
parent
b6a419a11f
commit
6e6831c724
|
@ -27,14 +27,14 @@
|
|||
|
||||
PRGNAM=higan
|
||||
VERSION=${VERSION:-093}
|
||||
BUILD=${BUILD:-1}
|
||||
BUILD=${BUILD:-2}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
if [ -z "$ARCH" ]; then
|
||||
case "$( uname -m )" in
|
||||
i?86) export ARCH=i486 ;;
|
||||
arm*) export ARCH=arm ;;
|
||||
*) export ARCH=$( uname -m ) ;;
|
||||
i?86) ARCH=i486 ;;
|
||||
arm*) ARCH=arm ;;
|
||||
*) ARCH=$( uname -m ) ;;
|
||||
esac
|
||||
fi
|
||||
|
||||
|
@ -68,10 +68,10 @@ cd ${PRGNAM}_v${VERSION}-source
|
|||
find . -type d -exec chmod -R 0755 {} \;
|
||||
chown -R root:root .
|
||||
find -L . \
|
||||
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
|
||||
-exec chmod 755 {} \; -o \
|
||||
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
|
||||
-exec chmod 644 {} \;
|
||||
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
|
||||
-o -perm 511 \) -exec chmod 755 {} \; -o \
|
||||
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
||||
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
||||
|
||||
# Apply the patch to allow proper install on Slackware as root
|
||||
patch -p1 -i $CWD/higan-v093.patch
|
||||
|
@ -111,9 +111,15 @@ mkdir $PKG/usr/share/higan/Video\ Shaders
|
|||
cp -r shaders/*.shader $PKG/usr/share/higan/Video\ Shaders
|
||||
chmod -R 777 $PKG/usr/share/higan/Video\ Shaders
|
||||
|
||||
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
|
||||
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
|
||||
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
||||
|
||||
# Fix broken link.
|
||||
cd $PKG/usr/lib${LIBDIRSUFFIX}
|
||||
rm libananke.so
|
||||
ln -s libananke.so.1 libananke.so
|
||||
cd -
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
PRGNAM="higan"
|
||||
VERSION="093"
|
||||
HOMEPAGE="http://byuu.org/higan/"
|
||||
DOWNLOAD="http://byuu.org/higan/release/higan_v093-source.tar.xz"
|
||||
DOWNLOAD="http://byuu.org/files/higan_v093-source.tar.xz"
|
||||
MD5SUM="051e794c2f86c185fd51106181a09c58"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
|
|
Loading…
Reference in New Issue