wok annotate oxygen-icons/receipt @ rev 18454

perl-datetime-format-strptime: additional deps
author Nathan Neulinger <nneul@neulinger.org>
date Sun Sep 27 21:56:03 2015 +0000 (2015-09-27)
parents d0fd3d699ee3
children 9e01bc6321ea
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@16834 5 CATEGORY="misc"
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 {
psychomaniak@17231 27 sed '/Inherits=/s|=.*$|=oxygen|' -i $1/$qtfix
psychomaniak@17231 28 }
psychomaniak@17231 29
psychomaniak@17231 30 pre_remove()
psychomaniak@17231 31 {
psychomaniak@17231 32 sed '/Inherits=/s|=.*$|=SliTaz|' -i $1/$qtfix
psychomaniak@17231 33 }