wok-next annotate oxygen-icons/receipt @ rev 18117
Up: cookutils (741): add descriptions.txt to the bundle.tar.lzma
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sun Jun 07 00:49:14 2015 +0300 (2015-06-07) |
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 } |