diff options
Diffstat (limited to 'games/vcmi/vcmi.SlackBuild')
-rw-r--r-- | games/vcmi/vcmi.SlackBuild | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/games/vcmi/vcmi.SlackBuild b/games/vcmi/vcmi.SlackBuild index 37a4dc2e42..47ff676777 100644 --- a/games/vcmi/vcmi.SlackBuild +++ b/games/vcmi/vcmi.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=vcmi -VERSION=${VERSION:-0.96} +VERSION=${VERSION:-0.97} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -69,9 +69,6 @@ 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 {} \; -# install vcmi engine in /usr/share/games -patch -p1 < $CWD/vcmi_share.patch - mkdir -p build cd build cmake \ @@ -86,6 +83,14 @@ 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 +# remove static library +rm $PKG/usr/lib/libfuzzylite-static.a + +# fix lib path +if [ "$ARCH" = "x86_64" ]; then + mv $PKG/usr/lib/ $PKG/usr/lib64 +fi + mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a AUTHORS ChangeLog README* $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |