diff options
Diffstat (limited to 'games/scid/scid.SlackBuild')
-rw-r--r-- | games/scid/scid.SlackBuild | 12 |
1 files changed, 6 insertions, 6 deletions
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 - |