mirror of
https://github.com/gentoo-mirror/gentoo-zh.git
synced 2025-04-10 11:58:43 -04:00
34 lines
813 B
Bash
34 lines
813 B
Bash
# Copyright 1999-2021 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
DESCRIPTION="LXDE theme for IceWM"
|
|
HOMEPAGE="http://lxde.sf.net/"
|
|
SRC_URI="mirror://sourceforge/lxde/${PN}.tar.bz2"
|
|
|
|
SLOT="0"
|
|
|
|
LICENSE="GPL-2"
|
|
KEYWORDS="amd64 ~ppc sparc ~x86"
|
|
|
|
RDEPEND="x11-wm/icewm"
|
|
|
|
S="${WORKDIR}"
|
|
|
|
src_unpack() {
|
|
unpack ${A}
|
|
cd "${S}"
|
|
find . -name \.xvpics | xargs rm -rf
|
|
find . -name \*~ | xargs rm -rf
|
|
find . -name .svn | xargs rm -rf
|
|
}
|
|
|
|
src_install() {
|
|
local ICEWM_THEMES=/usr/share/icewm/themes
|
|
dodir "${ICEWM_THEMES}"
|
|
cp -pR * "${D}/${ICEWM_THEMES}"
|
|
chown -R root:0 "${D}/${ICEWM_THEMES}"
|
|
rm -f "${D}/${ICEWM_THEMES}/Crus-IceWM/cpframes.sh" || die
|
|
find "${D}/${ICEWM_THEMES}" -type d | xargs chmod 755 || die
|
|
find "${D}/${ICEWM_THEMES}" -type f | xargs chmod 644 || die
|
|
}
|