aboutsummaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorM.Dinslage <daedra1980@gmail.com>2024-05-13 21:14:25 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-05-14 06:47:45 +0700
commitc0674dac404ef69ea6cd4dabe548e0251358a6a4 (patch)
treeff4dd194e6e3a45853418e2f781f381c70cbd8f3 /desktop
parent6820a9500d19bc739cb6f590732cc5b17bf66a80 (diff)
downloadslackbuilds-c0674dac404ef69ea6cd4dabe548e0251358a6a4.tar.xz
desktop/mint-x-icons: Updated for version 1.6.8.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop')
-rw-r--r--desktop/mint-x-icons/mint-x-icons.SlackBuild13
-rw-r--r--desktop/mint-x-icons/mint-x-icons.info6
2 files changed, 11 insertions, 8 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
diff --git a/desktop/mint-x-icons/mint-x-icons.info b/desktop/mint-x-icons/mint-x-icons.info
index f2136ba27f..e645895cdf 100644
--- a/desktop/mint-x-icons/mint-x-icons.info
+++ b/desktop/mint-x-icons/mint-x-icons.info
@@ -1,8 +1,8 @@
PRGNAM="mint-x-icons"
-VERSION="1.6.4"
+VERSION="1.6.8"
HOMEPAGE="https://github.com/linuxmint/mint-x-icons"
-DOWNLOAD="http://packages.linuxmint.com/pool/main/m/mint-x-icons/mint-x-icons_1.6.4.tar.xz"
-MD5SUM="d83fd66f7f553a1dead256024a33217d"
+DOWNLOAD="http://packages.linuxmint.com/pool/main/m/mint-x-icons/mint-x-icons_1.6.8.tar.xz"
+MD5SUM="4887c13001dc77a73a57c89fb67b9b89"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""