wok annotate oxygen-icons/receipt @ rev 23334

updated perl-fuse (0.14 -> 0.16.1)
author Hans-G?nter Theisgen
date Tue Mar 31 07:16:50 2020 +0100 (2020-03-31)
parents 40fab26c175d
children 7c0170dd3ecc
rev   line source
al@16834 1 # SliTaz package receipt.
al@16834 2
al@16834 3 PACKAGE="oxygen-icons"
Hans-G?nter@23270 4 VERSION="5.68.0"
al@19126 5 CATEGORY="customization"
Hans-G?nter@23270 6 SHORT_DESC="Oxygen icon theme."
al@16834 7 MAINTAINER="al.bobylev@gmail.com"
al@16834 8 LICENSE="LGPL3"
Hans-G?nter@23270 9 WEB_SITE="https://kde.org/"
Hans-G?nter@23270 10
Hans-G?nter@23270 11 TARBALL="${PACKAGE}-${VERSION}.tar.xz"
Hans-G?nter@23270 12 WGET_URL="https://download.kde.org/stable/frameworks/${VERSION%.*}/${PACKAGE}${VERSION%.*.*}-$VERSION.tar.xz"
al@16834 13
al@16834 14 # Rules to gen a SliTaz package suitable for Tazpkg.
al@16834 15 genpkg_rules()
al@16834 16 {
al@16834 17 mkdir -p $fs/usr/share/icons/oxygen
Hans-G?nter@23270 18
Hans-G?nter@23270 19 for size in 16 22 32 48
Hans-G?nter@23270 20 do
Hans-G?nter@23270 21 cp -a $src/${size}x$size $fs/usr/share/icons/oxygen
Hans-G?nter@23270 22 done
Hans-G?nter@23270 23 cp -a $src/index.theme $fs/usr/share/icons/oxygen
al@16834 24 }
psychomaniak@17231 25
psychomaniak@17231 26 qtfix="usr/share/icons/hicolor/index.theme"
psychomaniak@17231 27
psychomaniak@17231 28 post_install()
psychomaniak@17231 29 {
pascal@18730 30 sed '/Inherits=/s|=.*$|=oxygen|' -i "$1/$qtfix"
psychomaniak@17231 31 }
psychomaniak@17231 32
psychomaniak@17231 33 pre_remove()
psychomaniak@17231 34 {
pascal@18730 35 sed '/Inherits=/s|=.*$|=SliTaz|' -i "$1/$qtfix"
psychomaniak@17231 36 }