wok view oxygen-icons/receipt @ rev 24031

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