diff options
Diffstat (limited to 'games')
-rw-r--r-- | games/gargoyle/gargoyle.SlackBuild | 32 | ||||
-rw-r--r-- | games/gargoyle/gargoyle.info | 8 |
2 files changed, 17 insertions, 23 deletions
diff --git a/games/gargoyle/gargoyle.SlackBuild b/games/gargoyle/gargoyle.SlackBuild index 2d78598ec517..d57156ab0091 100644 --- a/games/gargoyle/gargoyle.SlackBuild +++ b/games/gargoyle/gargoyle.SlackBuild @@ -4,17 +4,11 @@ # Written by Dugan Chen (thedoogster@gmail.com) # Yth | Pont-en-Royans, France | yth@ythogtha.org -# 20220222 bkw: Modified by SlackBuilds.org, BUILD=3: -# - fix build on 15.0. -# - move executable to /usr/games. -# - correct paths in .desktop file. -# - do not install useless INSTALL in package. - cd $(dirname $0) ; CWD=$(pwd) PRGNAM=gargoyle -VERSION=${VERSION:-2019.1.1} -BUILD=${BUILD:-3} +VERSION=${VERSION:-2022.1} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -67,22 +61,22 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \+ -env -u BUILD \ -jam -s DESTDIR=$PKG \ - -s _BINDIR=/usr/libexec/gargoyle \ - -s _APPDIR=/usr/libexec/gargoyle \ - -s _LIBDIR=/usr/lib$LIBDIRSUFFIX/gargoyle \ - -s CCFLAGS="$SLKCFLAGS -fcommon -fgnu89-inline -fpermissive" \ - -dx \ - install +mkdir -p build +cd build + cmake \ + -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS -fcommon -fgnu89-inline" \ + -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS -fcommon -fpermissive" \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=Release .. + make + make install DESTDIR=$PKG +cd .. 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 mkdir -p $PKG/usr/games -install -m755 $CWD/gargoyle.sh $PKG/usr/games/gargoyle - -ln -s gargoyle/libgarglk.so $PKG/usr/lib${LIBDIRSUFFIX}/libgarglk.so +mv $PKG/usr/bin/gargoyle $PKG/usr/games/gargoyle mkdir -p $PKG/etc cp garglk/garglk.ini $PKG/etc/garglk.ini.new diff --git a/games/gargoyle/gargoyle.info b/games/gargoyle/gargoyle.info index 2f17a5dc549e..57e915cbf8a6 100644 --- a/games/gargoyle/gargoyle.info +++ b/games/gargoyle/gargoyle.info @@ -1,10 +1,10 @@ PRGNAM="gargoyle" -VERSION="2019.1.1" +VERSION="2022.1" HOMEPAGE="http://ccxvii.net/gargoyle/" -DOWNLOAD="https://github.com/garglk/garglk/archive/2019.1.1/garglk-2019.1.1.tar.gz" -MD5SUM="4b0a92f55adf583b9d5a0ea3e8b59df0" +DOWNLOAD="https://github.com/garglk/garglk/archive/2022.1/garglk-2022.1.tar.gz" +MD5SUM="3db9498f95df5085b43f4c9a81531163" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="jam linux-libertine-fonts smpeg" +REQUIRES="" MAINTAINER="Yth - Arnaud" EMAIL="yth@ythogtha.org" |