summaryrefslogtreecommitdiff
blob: dab72a7ca9f0fe630beef3b4637c6840cbc73353 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-wm/xpde/xpde-0.4.0.ebuild,v 1.1 2003/08/15 08:06:02 seemant Exp $

IUSE=""
S="${WORKDIR}/${P}"
DESCRIPTION="A Desktop Environment modelled after the O/S from Redmond, WA"
HOMEPAGE="http://www.xpde.com/"
SRC_URI="http://www.xpde.com/releases/${P}-20030730.tar.gz"

SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~x86 -ppc -sparc -alpha"

DEPEND="virtual/x11"

src_compile() {
	einfo ""
	einfo "This is a binary-only package (sadly)"
	einfo "No files to compile."
	einfo ""
}

src_install() {
	# The install is the ${S}/install.sh, Gentoo-ified
	# As releases change often, don't just version
	# bump and expect things to work right.  Check for changes.
	cd ${S}

	dodir /opt/xpde/bin/apps
	dodir /opt/xpde/bin/applets

	dodir /opt/xpde/share/apps
	dodir /opt/xpde/share/applets
	dodir /opt/xpde/share/doc
	dodir /opt/xpde/share/fonts
	dodir /opt/xpde/share/icons

	exeinto /opt/xpde/bin
	doexe *.so* XPde XPwm stub.sh
	doexe ${FILESDIR}/install-config.sh

	exeinto /opt/xpde/bin/applets
	doexe DateTimeProps appexec networkstatus networkproperties \
		xpsu mouse keyboard regional desk

	exeinto /opt/xpde/bin/apps
	doexe taskmanager notepad calculator fileexplorer

	dodir /opt/xpde/themes
	cp -a themes/default ${D}/opt/xpde/themes

	cp -a defaultdesktop ${D}/opt/xpde/share
	cp xinitrcDEFAULT ${D}/opt/xpde/share

	dodoc AUTHORS COPYING ChangeLog INSTALL gpl.txt
	dohtml -A txt,xml -r doc/*
}

pkg_postinst() {
	einfo ""
	einfo "sh /opt/xpde/bin/install-config.sh"
	einfo ""
	einfo "This will install a default configuration into your"
	einfo "home directory"
	einfo ""
}