desktop/mint-y-icons: Revert download source to Linux Mint's repository, remove extraneous folder

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
isaackwy 2024-09-14 15:40:02 -07:00 committed by Willy Sudiarto Raharjo
parent 7f8b0240cd
commit d54e25eb36
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 10 additions and 7 deletions

View file

@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM="mint-y-icons"
VERSION=${VERSION:-1.7.7}
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -48,8 +48,11 @@ rm -rf $PKG
mkdir -p $TMP $PKG/usr/doc/$PRGNAM-$VERSION $OUTPUT
cd $PKG
# tar directly into $PKG
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz --strip-components=1 \
$PRGNAM-$VERSION/usr/
tar xvf $CWD/$PRGNAM"_"$VERSION.tar.xz --strip-components=1 \
$PRGNAM/usr/
# Remove the folder-color-switcher folder
rm -r usr/share/folder-color-switcher
# Remove broken relative symlinks
find $PKG/usr/share/icons -xtype l -delete
@ -80,8 +83,8 @@ done
# install docs & license
(
cd $PKG/usr/doc/$PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz --strip-components=2 \
$PRGNAM-$VERSION/debian/{changelog,copyright}
tar xvf $CWD/$PRGNAM"_"$VERSION.tar.xz --strip-components=2 \
$PRGNAM/debian/{changelog,copyright}
)
chown -R root:root .

View file

@ -1,8 +1,8 @@
PRGNAM="mint-y-icons"
VERSION="1.7.7"
HOMEPAGE="https://github.com/linuxmint/mint-y-icons"
DOWNLOAD="https://github.com/linuxmint/mint-y-icons/archive/1.7.7/mint-y-icons-1.7.7.tar.gz"
MD5SUM="c55a11ed7102e2ab4cce38212a849f95"
DOWNLOAD="http://packages.linuxmint.com/pool/main/m/mint-y-icons/mint-y-icons_1.7.7.tar.xz"
MD5SUM="ba51f47976e4392a0c8efaff46482fcb"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""