From 687c78d5604ce299d5164ffd69de88f2dd10fefc Mon Sep 17 00:00:00 2001 From: dsomero Date: Fri, 22 Nov 2013 02:34:22 -0500 Subject: various: Fix SlackBuild formatting and comment nit picks. Signed-off-by: dsomero --- games/scid/scid.SlackBuild | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'games/scid') diff --git a/games/scid/scid.SlackBuild b/games/scid/scid.SlackBuild index ad8bbb2ac0..147f97a6a3 100644 --- a/games/scid/scid.SlackBuild +++ b/games/scid/scid.SlackBuild @@ -58,7 +58,7 @@ sed -i -e "s/tclsh8.5;/tclsh;/" configure SHAREDIR="/usr/share/scid" \ OPTIMIZE="$SLKCFLAGS -fno-rtti -fno-exceptions" -make all_scid +make all_scid make strip make install_scid DESTDIR=$PKG @@ -67,22 +67,22 @@ if [ -f $CWD/scidlet40k.zip ] ; then mkdir -p $PKG/usr/share/scid/books unzip $CWD/scidlet40k.zip -d $PKG/usr/share/scid/books fi -if [ -f $CWD/ratings_2008_4.zip ] ; then +if [ -f $CWD/ratings_2008_4.zip ] ; then mkdir -p $PKG/usr/share/scid/data unzip $CWD/ratings_2008_4.zip -d $PKG/usr/share/scid/data fi -if [ -f $CWD/photos2007.zip ] ; then +if [ -f $CWD/photos2007.zip ] ; then mkdir -p $PKG/usr/share/scid/photos unzip $CWD/photos2007.zip -d $PKG/usr/share/scid/photos fi -# Fix some permissions +# Fix some permissions find $PKG/usr/share/scid -type d -exec chmod 0755 {} \; find $PKG/usr/share/scid -type f -exec chmod 0644 {} \; # We're going to diverge from upstream a bit in location but not functionality # This will require users to be in the 'games' group for write permissions -mkdir -p $PKG/var/games/scid +mkdir -p $PKG/var/games/scid mv $PKG/usr/share/scid/{bases,books} $PKG/var/games/scid chown -R root:games $PKG/var/games/scid find $PKG/var/games/scid -type d -exec chmod 2775 {} \; @@ -103,7 +103,7 @@ cd $PKG/usr/man/man1 sed "s%@VERSION@%$VERSION%g" $CWD/scid.1 | gzip -9c > scid.1.gz for i in \ sc_remote scmerge pgnscid sc_spell spliteco sc_eco sc_tree scidpgn pgnfix \ - tkscid sc_epgn sc_addmove tcscid sc_import scidlet scidt ; + tkscid sc_epgn sc_addmove tcscid sc_import scidlet scidt ; do ln -s scid.1.gz $i.1.gz done cd - -- cgit v1.2.3-65-gdbad