games/aisleriot: Fix build.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Johannes Schoepfer 2020-02-08 08:29:17 +07:00 committed by Willy Sudiarto Raharjo
parent 7879736d95
commit 064a260e73
3 changed files with 7 additions and 12 deletions

View file

@ -69,6 +69,8 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
patch < $CWD/guile3.diff
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@ -77,6 +79,9 @@ CXXFLAGS="$SLKCFLAGS" \
--sysconfdir=/etc \
--localstatedir=/var \
--with-card-theme-formats=svg \
--enable-sound \
--disable-schemas-install \
--with-platform=gtk-only \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--build=$ARCH-slackware-linux
@ -92,7 +97,7 @@ for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; r
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
AUTHORS ChangeLog TODO COPYING.GFDL COPYING.GFDL1.3 COPYING.GPL3 COPYING.LGPL3 NEWS \
AUTHORS ChangeLog COPYING* NEWS TODO \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild

View file

@ -2,18 +2,8 @@ if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi
if [ -x /usr/bin/update-mime-database ]; then
/usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
fi
if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
if [ -x /usr/bin/gtk-update-icon-cache ]; then
/usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
fi
fi
if [ -e usr/share/glib-2.0/schemas ]; then
if [ -x /usr/bin/glib-compile-schemas ]; then
/usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas >/dev/null 2>&1
fi
fi

View file

@ -12,7 +12,7 @@ aisleriot: AisleRiot (also known as Solitaire or sol) is a collection of card
aisleriot: games which are easy to play with the aid of a mouse.
aisleriot: Over 80 card games are included.
aisleriot:
aisleriot: Homepage: https://wiki.gnome.org/Apps/Aisleriot
aisleriot: homepage: https://wiki.gnome.org/Apps/Aisleriot
aisleriot:
aisleriot:
aisleriot: