aboutsummaryrefslogtreecommitdiff
path: root/desktop/kfaenza-icon-theme
diff options
context:
space:
mode:
authorklaatu <klaatu@member.fsf.org>2022-03-05 22:16:45 +1300
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-03-06 09:03:38 +0700
commit6660e0957e7afd5e589df27e9f3490a570d9cc10 (patch)
treeeab61afbbdba1dbecc18dca22958288df89597e6 /desktop/kfaenza-icon-theme
parent21422cc850ef6e9bfdba819599a19ffeef586e8b (diff)
desktop/kfaenza-icon-theme: Updated for version 0.8.9_19
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/kfaenza-icon-theme')
-rw-r--r--desktop/kfaenza-icon-theme/kfaenza-icon-theme.SlackBuild34
-rw-r--r--desktop/kfaenza-icon-theme/kfaenza-icon-theme.info6
2 files changed, 27 insertions, 13 deletions
diff --git a/desktop/kfaenza-icon-theme/kfaenza-icon-theme.SlackBuild b/desktop/kfaenza-icon-theme/kfaenza-icon-theme.SlackBuild
index 81522ab6357d..0703cf58bf38 100644
--- a/desktop/kfaenza-icon-theme/kfaenza-icon-theme.SlackBuild
+++ b/desktop/kfaenza-icon-theme/kfaenza-icon-theme.SlackBuild
@@ -2,6 +2,7 @@
# Slackware Package Build Script for KFaenza icon theme
# Benjamin Trigona-Harany
+# 2022 Klaatu <klaatu@member.fsf.org>
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
@@ -24,11 +25,13 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM="kfaenza-icon-theme"
-VERSION=${VERSION:-0.8.9}
+VERSION=${VERSION:-0.8.9_19}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
+REL=${REL:-fc35}
+RELVER=$(echo $VERSION | tr '_' '-')
ARCH=noarch ## hardcode ARCH
# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
@@ -45,24 +48,35 @@ OUTPUT=${OUTPUT:-/tmp}
set -e
-rm -fr $TMP/${PRGNAM}_${VERSION} $PKG
-mkdir -p $TMP $PKG $OUTPUT $TMP/${PRGNAM}_${VERSION}
-cd $TMP/${PRGNAM}_${VERSION}
-tar -xvf $CWD/${PRGNAM}-${VERSION}.tar.gz
+rm -fr $TMP/${PRGNAM}-${VERSION} $PKG
+
+mkdir -p $TMP $PKG $OUTPUT $TMP/${PRGNAM}-${VERSION}
+cd $TMP/${PRGNAM}-${VERSION}
+
+rpm2archive $CWD/${PRGNAM}-${RELVER}.$REL.$ARCH.rpm
+mv $CWD/${PRGNAM}-${RELVER}.$REL.$ARCH.rpm.tgz \
+ $TMP/${PRGNAM}-${VERSION}
+
+tar -xvf ${PRGNAM}-${RELVER}.$REL.$ARCH.rpm.tgz --strip-components 1
+
chown -R root.root .
find . -type f -exec chmod 644 {} \;
find . -type d -exec chmod 755 {} \;
-rm KFaenza/INSTALL
# following is from the KFaenza INSTALL script
iconname="start-here-slackware"
-cd ./KFaenza/places/scalable/ && ln -sf ./$iconname.svg distributor-logo.svg && cd ../../..
+cd ./usr/share/icons/KFaenza/places/scalable/ && ln -sf ./$iconname.svg distributor-logo.svg
+
+cd $TMP/${PRGNAM}-${VERSION}
+
for size in 256 128 64 48 32 22 16; do
- cd ./KFaenza/places/$size/ && ln -sf ./$iconname.png distributor-logo.png && cd ../../..
+ cd ./usr/share/icons/KFaenza/places/$size/
+ ln -sf ./$iconname.png distributor-logo.png
+ cd $TMP/${PRGNAM}-${VERSION}
done
-mkdir -p $PKG/usr/share/icons
-cp -a KFaenza $PKG/usr/share/icons
+mkdir -p $PKG
+cp -a ./usr $PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/desktop/kfaenza-icon-theme/kfaenza-icon-theme.info b/desktop/kfaenza-icon-theme/kfaenza-icon-theme.info
index 91df32ff06e8..bd1dd3603c3a 100644
--- a/desktop/kfaenza-icon-theme/kfaenza-icon-theme.info
+++ b/desktop/kfaenza-icon-theme/kfaenza-icon-theme.info
@@ -1,8 +1,8 @@
PRGNAM="kfaenza-icon-theme"
-VERSION="0.8.9"
+VERSION="0.8.9_19"
HOMEPAGE="https://store.kde.org/p/1002580/"
-DOWNLOAD="https://src.fedoraproject.org/repo/pkgs/kfaenza-icon-theme/kfaenza-icon-theme-0.8.9.tar.gz/95e9f287da7a0fd76fb406d313eee77e/kfaenza-icon-theme-0.8.9.tar.gz"
-MD5SUM="95e9f287da7a0fd76fb406d313eee77e"
+DOWNLOAD="https://dl.fedoraproject.org/pub/fedora/linux/releases/35/Everything/x86_64/os/Packages/k/kfaenza-icon-theme-0.8.9-19.fc35.noarch.rpm"
+MD5SUM="ba539030306d5f3b33d8e835224a6b08"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""