wok annotate oxygen-icons/receipt @ rev 21047

updated imlib2 and imlib2-dev (1.4.6 -> 1.5.1)
author Hans-G?nter Theisgen
date Tue Mar 12 16:40:34 2019 +0100 (2019-03-12)
parents 9e01bc6321ea
children c633f2b6e680
rev   line source
al@16834 1 # SliTaz package receipt.
al@16834 2
al@16834 3 PACKAGE="oxygen-icons"
al@16834 4 VERSION="4.4.2"
al@19126 5 CATEGORY="customization"
al@16834 6 SHORT_DESC="Oxygen icon theme"
al@16834 7 MAINTAINER="al.bobylev@gmail.com"
al@16834 8 LICENSE="LGPL3"
al@16834 9 WEB_SITE="http://www.kde.org/"
al@16834 10 TARBALL="${PACKAGE}_${VERSION}.orig.tar.gz"
al@16834 11 WGET_URL="http://archive.ubuntu.com/ubuntu/pool/main/o/$PACKAGE/$TARBALL"
al@16834 12
al@16834 13 # Rules to gen a SliTaz package suitable for Tazpkg.
al@16834 14 genpkg_rules()
al@16834 15 {
al@16834 16 mkdir -p $fs/usr/share/icons/oxygen
al@16834 17 for size in 16 22 32 48; do
al@16834 18 cp -a $src/${size}x$size $fs/usr/share/icons/oxygen
al@16834 19 done
al@16834 20 cp -a $src/index.theme $fs/usr/share/icons/oxygen
al@16834 21 }
psychomaniak@17231 22
psychomaniak@17231 23 qtfix="usr/share/icons/hicolor/index.theme"
psychomaniak@17231 24
psychomaniak@17231 25 post_install()
psychomaniak@17231 26 {
pascal@18730 27 sed '/Inherits=/s|=.*$|=oxygen|' -i "$1/$qtfix"
psychomaniak@17231 28 }
psychomaniak@17231 29
psychomaniak@17231 30 pre_remove()
psychomaniak@17231 31 {
pascal@18730 32 sed '/Inherits=/s|=.*$|=SliTaz|' -i "$1/$qtfix"
psychomaniak@17231 33 }