wok view oxygen-icons/receipt @ rev 20418

Up rsync (3.1.3), perl-file-rsync (0.74), lsyncd (2.2.3), kexec-tools (2.0.17), chkrootkit (0.52), brotli (1.0.5)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Aug 05 21:16:06 2018 +0200 (2018-08-05)
parents 9e01bc6321ea
children c633f2b6e680
line source
1 # SliTaz package receipt.
3 PACKAGE="oxygen-icons"
4 VERSION="4.4.2"
5 CATEGORY="customization"
6 SHORT_DESC="Oxygen icon theme"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="LGPL3"
9 WEB_SITE="http://www.kde.org/"
10 TARBALL="${PACKAGE}_${VERSION}.orig.tar.gz"
11 WGET_URL="http://archive.ubuntu.com/ubuntu/pool/main/o/$PACKAGE/$TARBALL"
13 # Rules to gen a SliTaz package suitable for Tazpkg.
14 genpkg_rules()
15 {
16 mkdir -p $fs/usr/share/icons/oxygen
17 for size in 16 22 32 48; do
18 cp -a $src/${size}x$size $fs/usr/share/icons/oxygen
19 done
20 cp -a $src/index.theme $fs/usr/share/icons/oxygen
21 }
23 qtfix="usr/share/icons/hicolor/index.theme"
25 post_install()
26 {
27 sed '/Inherits=/s|=.*$|=oxygen|' -i "$1/$qtfix"
28 }
30 pre_remove()
31 {
32 sed '/Inherits=/s|=.*$|=SliTaz|' -i "$1/$qtfix"
33 }