wok view oxygen-icons/receipt @ rev 25281

updated rinetd again (0.62 -> 0.73)
author Hans-G?nter Theisgen
date Mon Jul 18 15:22:44 2022 +0100 (2022-07-18)
parents 7c0170dd3ecc
children
line source
1 # SliTaz package receipt.
3 PACKAGE="oxygen-icons"
4 VERSION="5.95.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 # What is the latest version available today?
15 current_version()
16 {
17 wget -O - https://invent.kde.org/frameworks/oxygen-icons5/-/tags 2>/dev/null | \
18 sed '/item-title/!d;s|.*">v||;s|<.*||;q'
19 }
21 # Rules to gen a SliTaz package suitable for Tazpkg.
22 genpkg_rules()
23 {
24 mkdir -p $fs/usr/share/icons/oxygen
26 for size in 16 22 32 48
27 do
28 cp -a $src/${size}x$size $fs/usr/share/icons/oxygen
29 done
30 cp -a $src/index.theme $fs/usr/share/icons/oxygen
31 }
33 qtfix="usr/share/icons/hicolor/index.theme"
35 post_install()
36 {
37 sed '/Inherits=/s|=.*$|=oxygen|' -i "$1/$qtfix"
38 }
40 pre_remove()
41 {
42 sed '/Inherits=/s|=.*$|=SliTaz|' -i "$1/$qtfix"
43 }