diff options
Diffstat (limited to 'desktop/mint-x-icons/mint-x-icons.SlackBuild')
-rw-r--r-- | desktop/mint-x-icons/mint-x-icons.SlackBuild | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/desktop/mint-x-icons/mint-x-icons.SlackBuild b/desktop/mint-x-icons/mint-x-icons.SlackBuild index 28a4722bc0..c4204d9f8c 100644 --- a/desktop/mint-x-icons/mint-x-icons.SlackBuild +++ b/desktop/mint-x-icons/mint-x-icons.SlackBuild @@ -25,16 +25,13 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM="mint-x-icons" -VERSION=${VERSION:-1.6.4} -BUILD=${BUILD:-2} +VERSION=${VERSION:-1.6.8} +BUILD=${BUILD:-3} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} ARCH=noarch -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -53,6 +50,9 @@ cd $PKG tar xvf $CWD/$PRGNAM"_"$VERSION.tar.xz --strip-components=1 \ $PRGNAM/usr/ +# Remove broken relative symlinks +find $PKG/usr/share/icons -xtype l -delete + # install docs & license ( cd $PKG/usr/doc/$PRGNAM-$VERSION @@ -74,4 +74,7 @@ cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/doinst.sh > $PKG/install/doinst.sh cd $PKG +find . -type l \ + -printf '( cd %h ; rm -rf %f )\n( cd %h ; ln -sf %l %f )\n' -delete | \ + sed 's,cd \./,cd ,' >> $PKG/install/doinst.sh /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE |