diff options
Diffstat (limited to 'games/higan')
-rw-r--r-- | games/higan/higan.SlackBuild | 24 | ||||
-rw-r--r-- | games/higan/higan.info | 2 |
2 files changed, 16 insertions, 10 deletions
diff --git a/games/higan/higan.SlackBuild b/games/higan/higan.SlackBuild index e4f90e9d0e..2692f2526a 100644 --- a/games/higan/higan.SlackBuild +++ b/games/higan/higan.SlackBuild @@ -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 diff --git a/games/higan/higan.info b/games/higan/higan.info index 1d313e6072..4d209e94f9 100644 --- a/games/higan/higan.info +++ b/games/higan/higan.info @@ -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="" |