From 7b42820d28d7d9d685c4ef48169c1ef9409836af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=A5=D0=B8=D1=80=D0=B5=D1=86=D0=BA=D0=B8=D0=B9=20=D0=9C?= =?UTF-8?q?=D0=B8=D1=85=D0=B0=D0=B8=D0=BB?= Date: Fri, 10 Dec 2010 17:19:28 +0300 Subject: [PATCH] CDS themes. --- media-gfx/cds-themes/Manifest | 2 ++ media-gfx/cds-themes/cds-themes-11.0.ebuild | 35 +++++++++++++++++++++ 2 files changed, 37 insertions(+) create mode 100644 media-gfx/cds-themes/cds-themes-11.0.ebuild diff --git a/media-gfx/cds-themes/Manifest b/media-gfx/cds-themes/Manifest index 108bac884..2ab4ba219 100644 --- a/media-gfx/cds-themes/Manifest +++ b/media-gfx/cds-themes/Manifest @@ -1,9 +1,11 @@ DIST cds-themes-10.0.tar.bz2 277813 RMD160 0d8bfaf3ae8c43e175a19153cff0077d60a5b1bd SHA1 a537c4bf88776856a48c9de7616ac1bfd4a2fc34 SHA256 e4ee1aa46435a46f7aa95a0fb3dc068997076fa412e2f0a364ca086a29c1b579 DIST cds-themes-10.2.tar.bz2 277918 RMD160 ffcbe45b2d875b08064462fcf96f80c97ffe3c25 SHA1 34bd453aca51247d90230d165e0e34bff26fcac9 SHA256 39260d28d31ab17e749b8a8bb6d7c7ef66be71f6b2155f1ae27f5ed4f28e5c92 DIST cds-themes-10.4.tar.bz2 504320 RMD160 8be0034672a82964b84afc5eadf82a1bc2c74c07 SHA1 ef74f2ce2f2fa82b93a28a36fbb690457c491fa0 SHA256 482359b503aa513715756df2332f850d400f02afa04684a51aa8ff82a683d23a +DIST cds-themes-11.0.tar.bz2 626344 RMD160 c89fad287ea5cdc29a2ab13df7170b6842b302c4 SHA1 57fe8c6e0c304f717d9afc4237f4bcdf7bf481b3 SHA256 a47a4a28cc253995809ad1987cb3a62925436ca6a8a93e3ffa0443d4a37f3bcc EBUILD cds-themes-10.0.1.ebuild 625 RMD160 588c11635f88799ed0dec1341120efa80ba9a6ad SHA1 1848f6360baf139700e436064be9fd295b443fc6 SHA256 67e34552419770160fcfd6ee246edb9a7413b106c16a299c4516a40d04554884 EBUILD cds-themes-10.0.ebuild 473 RMD160 4861a4c8867b53f17866395f1a9a67ae5fa75e70 SHA1 f4d4405ba31d749fb602f1987e72d6f749490ca5 SHA256 cfd5bdde1398569dbea7d6799f0a6d778f8772d5570c3e83574a143753a9ab98 EBUILD cds-themes-10.2-r1.ebuild 686 RMD160 52c22fa4f06464ef0323f03c86b65e09ad69cd9f SHA1 13c087c61ef9a4fad03b154e32f0a741ae603520 SHA256 90b23a9ad1b898ffc607fadec3c2e0a4d2e518ef53bd21096613d8f4022f8a69 EBUILD cds-themes-10.4-r6.ebuild 888 RMD160 f2f617a2772898278c4a95484f9605ec4e3c5b6e SHA1 b03ec2ba65414b47877a9a1d21f8b3e3886f9e0e SHA256 15c8f19bef170ace83f002413b89826fe253ce5b3884c4acad7d97ef9742be2c +EBUILD cds-themes-11.0.ebuild 929 RMD160 b5f7ebe151649b28b8ddacabf0e3301faf643233 SHA1 21558110d84a3a18fffc782687ca70aa845cabfa SHA256 58741fe84211a62a7c04b1d03a1af4847bbd82f0266e1a5a99a08f7c103e817d MISC ChangeLog 958 RMD160 e68927a6c70329282bc5195c79d234e5ddbce5c5 SHA1 597a4dec0d0198e1dc08975810c6363c3b926a04 SHA256 4af5f5362f26b0324ea3dac8a4728b0380e41c5f086d14058a697e72bc1f6eec MISC metadata.xml 259 RMD160 1b270d593092c8aa933eee383cc7faba8c979b88 SHA1 f11a78e0617a73b31ae83fa0689ccf35123ccd67 SHA256 a48a8a79d95d6ff3534bee46a101bfc3b38c25e4d3c72e336c7e8388616d9a91 diff --git a/media-gfx/cds-themes/cds-themes-11.0.ebuild b/media-gfx/cds-themes/cds-themes-11.0.ebuild new file mode 100644 index 000000000..85ac809e5 --- /dev/null +++ b/media-gfx/cds-themes/cds-themes-11.0.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit calculate + +DESCRIPTION="The theme for Calculate Directory Server" +HOMEPAGE="http://www.calculate-linux.org/calcualte-cds-themes" +SRC_URI="ftp://ftp.calculate.ru/pub/calculate/${PN}/${P}.tar.bz2" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND="!media-gfx/calculate-cds-themes + media-gfx/splashutils + >=sys-apps/calculate-templates-2.2.1-r4" + +DEPEND="${RDEPEND}" + +src_install() { + insinto / + doins -r . +} + +pkg_postinst() { + local initrdfile=$(calculate_get_current_initrd) + local initrdinstallfile=$(calculate_get_current_initrd -install) + [[ -f ${ROOT}${initrdfile} ]] && + calculate_update_splash ${ROOT}${initrdfile} + [[ -f ${ROOT}${initrdinstallfile} && + "${ROOT}${initrdinstallfile}" != "${ROOT}${initrdfile}" ]] && + calculate_update_splash ${ROOT}${initrdinstallfile} +}